mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
[MIRROR] Proper MaxHealth checks and Crit Point (#10881)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
committed by
GitHub
parent
901dc552fc
commit
4ce45f8cc4
@@ -478,8 +478,8 @@
|
||||
if(!allowed || (NOCLONE in WC.mutations) || !WC.dna)
|
||||
occupantData["isViableSubject"] = 0
|
||||
occupantData["health"] = WC.health
|
||||
occupantData["maxHealth"] = WC.maxHealth
|
||||
occupantData["minHealth"] = CONFIG_GET(number/health_threshold_dead)
|
||||
occupantData["maxHealth"] = WC.getMaxHealth()
|
||||
occupantData["minHealth"] = -(WC.getMaxHealth())
|
||||
occupantData["uniqueEnzymes"] = WC.dna.unique_enzymes
|
||||
occupantData["uniqueIdentity"] = WC.dna.uni_identity
|
||||
occupantData["structuralEnzymes"] = WC.dna.struc_enzymes
|
||||
|
||||
Reference in New Issue
Block a user