mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
Species with oldcrit no longer go unconcious at 0 HP (#23877)
* IPC + ABDUCTOR BUFF IN 2024??? * IM SORRY LINTER PLEASE DONT KILL ME
This commit is contained in:
@@ -291,7 +291,7 @@
|
||||
if(!client)
|
||||
return
|
||||
var/shock_reduction = shock_reduction()
|
||||
if(stat == UNCONSCIOUS && health <= HEALTH_THRESHOLD_CRIT)
|
||||
if(health <= HEALTH_THRESHOLD_CRIT)
|
||||
if(check_death_method())
|
||||
var/severity = 0
|
||||
switch(health - shock_reduction)
|
||||
|
||||
@@ -6,10 +6,12 @@
|
||||
death()
|
||||
create_debug_log("died of damage, trigger reason: [reason]")
|
||||
return
|
||||
if(HAS_TRAIT(src, TRAIT_KNOCKEDOUT) || (check_death_method() && getOxyLoss() > 50) || HAS_TRAIT(src, TRAIT_FAKEDEATH) || health <= HEALTH_THRESHOLD_CRIT && check_death_method())
|
||||
if(HAS_TRAIT(src, TRAIT_KNOCKEDOUT) || (check_death_method() && getOxyLoss() > 50) || HAS_TRAIT(src, TRAIT_FAKEDEATH) || health < HEALTH_THRESHOLD_KNOCKOUT && check_death_method())
|
||||
if(stat == CONSCIOUS)
|
||||
KnockOut()
|
||||
create_debug_log("fell unconscious, trigger reason: [reason]")
|
||||
else if(health < HEALTH_THRESHOLD_CRIT && check_death_method())
|
||||
KnockDown(3 SECONDS)
|
||||
else
|
||||
if(stat == UNCONSCIOUS)
|
||||
WakeUp()
|
||||
|
||||
Reference in New Issue
Block a user