Fix: Necropolis gate is now opens when Legion takes damage (#24768)

* Fix: Legion now triggers when taking damage

* Update by review

Co-Authored-By: Contrabang <91113370+Contrabang@users.noreply.github.com>

---------

Co-authored-by: Contrabang <91113370+Contrabang@users.noreply.github.com>
This commit is contained in:
dj-34
2024-03-26 09:56:11 +00:00
committed by GitHub
co-authored by Contrabang
parent fd6b2c32de
commit 8981b491e0
@@ -196,6 +196,8 @@ Difficulty: Medium
. = ..()
if(QDELETED(src))
return
if(GLOB.necropolis_gate && !GLOB.necropolis_gate.open)
GLOB.necropolis_gate.toggle_the_gate(src)
if(.)
var/matrix/M = new
resize = (enraged ? 0.33 : 1) + (health / maxHealth)