Fix Legion megafauna being able to enrage() for more than 1 time and remove /datum/nothing (#28509)

* fix

* not a single thing
This commit is contained in:
kyunkyunkyun
2025-02-24 14:28:07 +00:00
committed by GitHub
parent 6e5260b952
commit cfe71b41c4
2 changed files with 10 additions and 10 deletions
@@ -57,19 +57,22 @@ Difficulty: Medium
transform *= 2
/mob/living/simple_animal/hostile/megafauna/legion/enrage()
if(enraged || ((health / maxHealth) * 100 <= 80))
return
enraged = TRUE
health = 1250
maxHealth = 1250
transform /= 1.5
loot = list(/datum/nothing)
crusher_loot = list(/datum/nothing)
loot = list()
crusher_loot = list()
var/mob/living/simple_animal/hostile/megafauna/legion/legiontwo = new /mob/living/simple_animal/hostile/megafauna/legion(get_turf(src))
legiontwo.transform /= 1.5
legiontwo.loot = list(/datum/nothing)
legiontwo.crusher_loot = list(/datum/nothing)
legiontwo.enraged = TRUE
legiontwo.health = 1250
legiontwo.maxHealth = 1250
legiontwo.enraged = TRUE
legiontwo.transform /= 1.5
legiontwo.loot = list()
legiontwo.crusher_loot = list()
/mob/living/simple_animal/hostile/megafauna/legion/unrage()
. = ..()
for(var/mob/living/simple_animal/hostile/megafauna/legion/other in GLOB.mob_list)