Skip to content

Commit

Permalink
balance: guardian ignore stamina damage (#6417)
Browse files Browse the repository at this point in the history
* guard fix

* stamina false
  • Loading branch information
FlitchTime authored Jan 23, 2025
1 parent 6d0ff6f commit 9ec22ae
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion code/game/gamemodes/miniantags/guardian/guardian.dm
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@
if(hud_used)
hud_used.guardianhealthdisplay.maptext = "<div align='center' valign='middle' style='position:relative; top:0px; left:6px'><font color='#efeeef'>[resulthealth]%</font></div>"


/mob/living/simple_animal/hostile/guardian/adjustHealth(
amount = 0,
updating_health = TRUE,
Expand All @@ -164,6 +163,17 @@
to_chat(summoner, span_danger("Your body can't take the strain of sustaining [src] in this condition, it begins to fall apart!"))
summoner.adjustCloneLoss(amount / 2)

/mob/living/simple_animal/hostile/guardian/adjustStaminaLoss(
amount = 0,
updating_health = TRUE,
blocked = 0,
forced = FALSE,
used_weapon = null,
)
return FALSE

/mob/living/simple_animal/hostile/guardian/setStaminaLoss(amount, updating_health = TRUE)
return FALSE

/mob/living/simple_animal/hostile/guardian/ex_act(severity, target)
switch(severity)
Expand Down

0 comments on commit 9ec22ae

Please sign in to comment.