s
This commit is contained in:
@@ -90,9 +90,10 @@
|
||||
. = ..()
|
||||
AddComponent(/datum/component/butchering, 15, 125, 0, hitsound)
|
||||
|
||||
/obj/item/gun/magic/staff/spellblade/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
|
||||
/obj/item/gun/magic/staff/spellblade/run_block(real_attack, atom/object, damage, attack_text, attack_type, armour_penetration, mob/attacker, def_zone, final_block_chance)
|
||||
// Do not block projectiles.
|
||||
if(attack_type & PROJECTILE_ATTACK)
|
||||
return BLOCK_NONE
|
||||
return ..()
|
||||
|
||||
/obj/item/gun/magic/staff/locker
|
||||
|
||||
Reference in New Issue
Block a user