mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-29 11:41:14 +00:00
Blob zombie fix
This commit is contained in:
@@ -75,7 +75,7 @@
|
|||||||
|
|
||||||
if(!is_zombie)
|
if(!is_zombie)
|
||||||
for(var/mob/living/carbon/human/H in ListTargets(0)) //Only for people in the same tile
|
for(var/mob/living/carbon/human/H in ListTargets(0)) //Only for people in the same tile
|
||||||
if(H in dead_mob_list)
|
if(H.stat == DEAD)
|
||||||
Zombify(H)
|
Zombify(H)
|
||||||
break
|
break
|
||||||
..()
|
..()
|
||||||
@@ -83,7 +83,8 @@
|
|||||||
/mob/living/simple_animal/hostile/blobspore/proc/Zombify(var/mob/living/carbon/human/H)
|
/mob/living/simple_animal/hostile/blobspore/proc/Zombify(var/mob/living/carbon/human/H)
|
||||||
if(H.wear_suit)
|
if(H.wear_suit)
|
||||||
var/obj/item/clothing/suit/armor/A = H.wear_suit
|
var/obj/item/clothing/suit/armor/A = H.wear_suit
|
||||||
maxHealth += A.armor["melee"] //That zombie's got armor, I want armor!
|
if(A.armor && A.armor["melee"])
|
||||||
|
maxHealth += A.armor["melee"] //That zombie's got armor, I want armor!
|
||||||
maxHealth += 40
|
maxHealth += 40
|
||||||
health = maxHealth
|
health = maxHealth
|
||||||
name = "blob zombie"
|
name = "blob zombie"
|
||||||
|
|||||||
Reference in New Issue
Block a user