mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Reworks the syndicate chainsaw (#18252)
* Reworks the syndicate chainsaw * fixes merge conflict * not work on dead people * makes stun absorption removal respect stamina * requested changes
This commit is contained in:
@@ -625,13 +625,21 @@
|
||||
if(!isliving(target))
|
||||
return
|
||||
else
|
||||
target.Weaken(8 SECONDS)
|
||||
..()
|
||||
user.apply_status_effect(STATUS_EFFECT_CHAINSAW_SLAYING)
|
||||
if(..())
|
||||
target.KnockDown(8 SECONDS)
|
||||
return
|
||||
else
|
||||
playsound(loc, "swing_hit", 50, 1, -1)
|
||||
return ..()
|
||||
|
||||
/obj/item/twohanded/chainsaw/hit_reaction(mob/living/carbon/human/owner, atom/movable/hitby, attack_text = "the attack", final_block_chance = 0, damage = 0, attack_type = MELEE_ATTACK)
|
||||
if(attack_type == PROJECTILE_ATTACK)
|
||||
final_block_chance = 0 //It's a chainsaw, you try blocking bullets with it
|
||||
else if(owner.has_status_effect(STATUS_EFFECT_CHAINSAW_SLAYING))
|
||||
final_block_chance = 80 //Need to be ready to ruuuummbllleeee
|
||||
return ..()
|
||||
|
||||
/obj/item/twohanded/chainsaw/wield() //you can't disarm an active chainsaw, you crazy person.
|
||||
. = ..()
|
||||
if(.)
|
||||
|
||||
Reference in New Issue
Block a user