diff --git a/code/modules/mob/living/simple_animal/simple_animal.dm b/code/modules/mob/living/simple_animal/simple_animal.dm index e049182cac0..2d386413230 100644 --- a/code/modules/mob/living/simple_animal/simple_animal.dm +++ b/code/modules/mob/living/simple_animal/simple_animal.dm @@ -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("[src] looks unharmed from the damage.") 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()