From 477853891d616fcd6adc050550e223f5476740ed Mon Sep 17 00:00:00 2001 From: kevinz000 <2003111+kevinz000@users.noreply.github.com> Date: Tue, 4 Feb 2020 23:54:10 -0700 Subject: [PATCH] Update twohanded.dm --- code/game/objects/items/twohanded.dm | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/code/game/objects/items/twohanded.dm b/code/game/objects/items/twohanded.dm index b142b9d6a7..364a114751 100644 --- a/code/game/objects/items/twohanded.dm +++ b/code/game/objects/items/twohanded.dm @@ -1032,13 +1032,12 @@ sharpness = FALSE force_unwielded = 5 force_wielded = 10 - throwforce = 1 + throwforce = 15 //if you are a madman and finish someone off with this, power to you. throw_speed = 1 block_chance = 50 materials = list(MAT_METAL = 4000, MAT_SILVER = 2000) - hitsound = 'sound/weapons/staff.ogg' - attack_verb = list("suppresed", "struck", "beaten", "thwacked", "pulped", "shocked") - total_mass = 5 //yeah this is a heavy thing, beating people with it while it's off is not going to do you any favors. + attack_verb = list("struck", "beaten", "thwacked", "pulped") + total_mass = 5 //yeah this is a heavy thing, beating people with it while it's off is not going to do you any favors. (to curb stun-kill rampaging without it being on) var/obj/item/stock_parts/cell/cell = /obj/item/stock_parts/cell/high var/on = FALSE var/can_block_projectiles = FALSE //can't block guns @@ -1110,16 +1109,16 @@ else turn_on(user, silent) -/obj/item/twohanded/electrostaff/attack_self(mob/user) - var/oldwielded = wielded +/obj/item/twohanded/electrostaff/wield(mob/user) . = ..() - if(.) - return - if(oldwielded != wielded) - if(wielded) - turn_on(user) - else - turn_off(user) + if(wielded) + turn_on(user) + add_fingerprint(user) + +/obj/item/twohanded/electrostaff/unwield(mob/user) + . = ..() + if(!wielded) + turn_off(user) add_fingerprint(user) /obj/item/twohanded/electrostaff/update_icon()