mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 07:03:30 +01:00
Improvised Garrote nerf, tweaks to grab resisting. (#23485)
* Update garrote.dm * augghhhhhhhhhhhhhhhhhhhhhh
This commit is contained in:
@@ -642,7 +642,7 @@
|
||||
target.Stun(0.5 SECONDS)
|
||||
else
|
||||
var/obj/item/active_hand = target.get_active_hand()
|
||||
if(target.IsSlowed() && active_hand && !IS_HORIZONTAL(user) && !HAS_TRAIT(active_hand, TRAIT_WIELDED))
|
||||
if(target.IsSlowed() && active_hand && !IS_HORIZONTAL(user) && !HAS_TRAIT(active_hand, TRAIT_WIELDED) && !istype(active_hand, /obj/item/grab))
|
||||
target.drop_item()
|
||||
add_attack_logs(user, target, "Disarmed object out of hand", ATKLOG_ALL)
|
||||
else
|
||||
|
||||
@@ -778,6 +778,8 @@
|
||||
*/////////////////////
|
||||
/mob/living/proc/resist_grab()
|
||||
var/resisting = 0
|
||||
if(HAS_TRAIT(src, TRAIT_IMMOBILIZED))
|
||||
return TRUE //You can't move, so you can't resist
|
||||
for(var/X in grabbed_by)
|
||||
var/obj/item/grab/G = X
|
||||
resisting++
|
||||
|
||||
@@ -206,6 +206,8 @@
|
||||
if(mob.grabbed_by.len)
|
||||
if(mob.incapacitated(FALSE, TRUE)) // Can't break out of grabs if you're incapacitated
|
||||
return TRUE
|
||||
if(HAS_TRAIT(mob, TRAIT_IMMOBILIZED))
|
||||
return TRUE //You can't move, so you can't break it by trying to move.
|
||||
var/list/grabbing = list()
|
||||
|
||||
if(istype(mob.l_hand, /obj/item/grab))
|
||||
|
||||
Reference in New Issue
Block a user