add owner argument
This commit is contained in:
@@ -806,7 +806,7 @@
|
||||
fitting_swords = list(/obj/item/melee/rapier)
|
||||
starting_sword = /obj/item/melee/rapier
|
||||
|
||||
/obj/item/storage/belt/sabre/rapier/run_block(real_attack, atom/object, damage, attack_text, attack_type, armour_penetration, mob/attacker, def_zone, final_block_chance)
|
||||
/obj/item/storage/belt/sabre/rapier/run_block(mob/living/owner, real_attack, atom/object, damage, attack_text, attack_type, armour_penetration, mob/attacker, def_zone, final_block_chance)
|
||||
if(attack_type & PROJECTILE_ATTACK) // No blocking bullets.
|
||||
return BLOCK_NONE
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user