Stamina damage no longer bypass some checks (#23447)

* adjusting stamina damage no longer bypass some checks

* no illness changes

* i surrender on this, let it be
This commit is contained in:
HMBGERDO
2024-02-04 21:15:20 +00:00
committed by GitHub
parent 90ddc89809
commit ecc109915a
39 changed files with 48 additions and 48 deletions
@@ -670,7 +670,7 @@
to_chat(target, "<span class='userdanger'>[user] shatters [src] over you!</span>")
target.apply_damage((ishostile(target) ? 75 : 35), BRUTE, BODY_ZONE_CHEST, TRUE)
target.KnockDown(5 SECONDS)
target.adjustStaminaLoss(60) //Takes 4 hits to do, breaks your weapon. Perfectly fine.
target.apply_damage(60, STAMINA) //Takes 4 hits to do, breaks your weapon. Perfectly fine.
user.do_attack_animation(target, ATTACK_EFFECT_SMASH)
playsound(src, 'sound/effects/glassbr3.ogg', 100, TRUE)
if(ishuman(user))
+1 -1
View File
@@ -124,7 +124,7 @@ GLOBAL_LIST_INIT(sand_recipes, list(\
visible_message("<span class='danger'>[C]'s glasses block the sand!</span>")
return
C.EyeBlurry(12 SECONDS)
C.adjustStaminaLoss(15)//the pain from your eyes burning does stamina damage
C.apply_damage(15, STAMINA)//the pain from your eyes burning does stamina damage
C.AdjustConfused(10 SECONDS)
to_chat(C, "<span class='userdanger'>[src] gets into your eyes! The pain, it burns!</span>")
qdel(src)