fixes healguardians not being able to heal people (#31228)
* Update guardian.dm * Update support.dm * Update guardian.dm
This commit is contained in:
committed by
CitadelStationBot
parent
aec96bbbbe
commit
21cfddd426
@@ -180,10 +180,13 @@ GLOBAL_LIST_EMPTY(parasites) //all currently existing/living guardians
|
||||
new /obj/effect/temp_visual/guardian/phase(loc)
|
||||
|
||||
/mob/living/simple_animal/hostile/guardian/canSuicide()
|
||||
return 0
|
||||
return FALSE
|
||||
|
||||
/mob/living/simple_animal/hostile/guardian/proc/is_deployed()
|
||||
return loc != summoner
|
||||
|
||||
/mob/living/simple_animal/hostile/guardian/AttackingTarget()
|
||||
if(loc == summoner)
|
||||
if(!is_deployed())
|
||||
to_chat(src, "<span class='danger'><B>You must be manifested to attack!</span></B>")
|
||||
return FALSE
|
||||
else
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
/mob/living/simple_animal/hostile/guardian/healer/AttackingTarget()
|
||||
. = ..()
|
||||
if(. && toggle && iscarbon(target))
|
||||
if(is_deployed() && toggle && iscarbon(target))
|
||||
var/mob/living/carbon/C = target
|
||||
C.adjustBruteLoss(-5)
|
||||
C.adjustFireLoss(-5)
|
||||
|
||||
Reference in New Issue
Block a user