Fix For Synxcode

Re-adds code that was removed through an oversight.
This commit is contained in:
TheFurryFeline
2019-05-04 22:38:14 -04:00
committed by GitHub
parent 3679c0ea3b
commit 5cfc448f1a
+4 -2
View File
@@ -132,8 +132,10 @@
if(istype(M,/mob/living/simple_animal/retaliate/synx))
var/syntox = digest_brute+digest_burn
owner.adjustToxLoss(syntox)
if(M.health <= M.maxHealth)
M.health = M.health + syntox*2
M.adjustBruteLoss(-syntox*2) //Should automaticaly clamp to 0
M.adjustFireLoss(-syntox*2) //Should automaticaly clamp to 0
//END SYNX hook.
// Deal digestion damage (and feed the pred)
var/old_brute = M.getBruteLoss()