mirror of
https://github.com/CHOMPstation/CHOMPstation.git
synced 2026-08-22 19:46:36 +01:00
Fix For Synxcode
Re-adds code that was removed through an oversight.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user