mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 20:16:55 +01:00
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:
@@ -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))
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user