Aliens now properly take double burn damage (#24655)

This commit is contained in:
Joan Lung
2017-03-06 05:58:41 -05:00
committed by AnturK
parent ebc86d0163
commit e2c7cda4bb
2 changed files with 4 additions and 8 deletions
@@ -115,6 +115,10 @@
brute = max(0, brute - 5)
burn = max(0, burn - 4)
switch(animal_origin)
if(ALIEN_BODYPART,LARVA_BODYPART) //aliens take double burn
burn *= 2
var/can_inflict = max_damage - (brute_dam + burn_dam)
if(!can_inflict)
return 0