mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 04:37:45 +01:00
1 real fix, two bandaid ones. (#7270)
This commit is contained in:
@@ -59,6 +59,7 @@
|
||||
edge = FALSE
|
||||
sharp = FALSE
|
||||
|
||||
/* ChompEDit: This code provides full protection from melee, and I am unsure how to fix it currently. So temp.removal hopefully.
|
||||
/obj/item/weapon/material/twohanded/staff/handle_shield(mob/user, var/damage, atom/damage_source = null, mob/attacker = null, var/def_zone = null, var/attack_text = "the attack")
|
||||
var/parry_chance
|
||||
if(istype(damage_source, /obj/item/projectile)) //can't block ranged attacks, only melee!
|
||||
@@ -73,6 +74,7 @@
|
||||
playsound(src, 'sound/weapons/punchmiss.ogg', 50, 1)
|
||||
return 1
|
||||
return 0
|
||||
*/
|
||||
|
||||
/obj/item/weapon/material/twohanded/staff/apply_hit_effect(mob/living/target, mob/living/user, var/hit_zone)
|
||||
. = ..()
|
||||
|
||||
Reference in New Issue
Block a user