mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-23 21:18:37 +01:00
Epinephrine and Inexorable interacts better, also gives NOCRITDAMAGE to Atropine (#94851)
This commit is contained in:
@@ -701,7 +701,9 @@
|
||||
/datum/mutation/inexorable/on_life(seconds_per_tick)
|
||||
if(owner.health > owner.crit_threshold || owner.stat != CONSCIOUS || HAS_TRAIT(owner, TRAIT_STASIS))
|
||||
return
|
||||
// Gives you 30 seconds of being in soft crit... give or take
|
||||
if(HAS_TRAIT(owner, TRAIT_NOCRITDAMAGE) && owner.health <= owner.hardcrit_threshold + 10)
|
||||
return
|
||||
// Gives you 30 seconds of being in fake soft crit... give or take
|
||||
if(HAS_TRAIT(owner, TRAIT_TOXIMMUNE) || HAS_TRAIT(owner, TRAIT_TOXINLOVER))
|
||||
owner.adjust_brute_loss(1 * seconds_per_tick * GET_MUTATION_SYNCHRONIZER(src), forced = TRUE)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user