another change

This commit is contained in:
Aurorablade
2015-11-03 08:26:32 -05:00
parent c767da2de9
commit 05f9c085a6
@@ -509,19 +509,12 @@
return 0
return 1
/mob/living/simple_animal/proc/attack_threshold_check(damage, damagetype)
if(damage <= force_threshold)
/mob/living/simple_animal/proc/attack_threshold_check(damage, damagetype = BRUTE)
if(damage <= force_threshold || ignored_damage_types[damagetype])
visible_message("<span class='warning'>[src] looks unharmed from the damage.</span>")
else
switch(damagetype)
if(BRUTE)
adjustBruteLoss(damage)
if(BURN)
adjustFireLoss(damage)
if(TOX)
adjustToxLoss(damage)
if(CLONE)
adjustCloneLoss(damage)
adjustBruteLoss(damage)
updatehealth())
/mob/living/simple_animal/update_fire()