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