Nerfs disarms (#22215)

* The thingy

* Oh my god I am a genius
This commit is contained in:
DGamerL
2023-09-19 17:04:18 +01:00
committed by GitHub
parent 5d7cac2d98
commit 6481148747
@@ -632,11 +632,12 @@
else if(!user.IsStunned())
target.Stun(0.5 SECONDS)
else
if(target.IsSlowed() && target.get_active_hand())
var/obj/item/active_hand = target.get_active_hand()
if(target.IsSlowed() && active_hand && !IS_HORIZONTAL(user) && !HAS_TRAIT(active_hand, TRAIT_WIELDED))
target.drop_item()
add_attack_logs(user, target, "Disarmed object out of hand", ATKLOG_ALL)
else
target.Slowed(2.5 SECONDS, 1)
target.Slowed(2.5 SECONDS, 0.5)
var/obj/item/I = target.get_active_hand()
if(I)
to_chat(target, "<span class='warning'>Your grip on [I] loosens!</span>")