Update twohanded.dm

This commit is contained in:
kevinz000
2020-02-06 01:10:47 -07:00
committed by GitHub
parent 643eeb9474
commit de5186026d
+3 -1
View File
@@ -1034,7 +1034,7 @@
force_wielded = 10
throwforce = 15 //if you are a madman and finish someone off with this, power to you.
throw_speed = 1
block_chance = 50
block_chance = 30
materials = list(MAT_METAL = 4000, MAT_SILVER = 2000)
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)
@@ -1066,6 +1066,8 @@
. = R.get_cell()
/obj/item/twohanded/electrostaff/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(!on)
return FALSE
if((attack_type == PROJECTILE_ATTACK) && !can_block_projectiles)
return FALSE
return ..()