Merge pull request #7730 from Fox-McCloud/projectile-reflect

Projectile Reflection Refactor
This commit is contained in:
tigercat2000
2017-07-08 17:34:08 -07:00
committed by GitHub
4 changed files with 4 additions and 1 deletions
@@ -10,7 +10,7 @@ emp_act
/mob/living/carbon/human/bullet_act(obj/item/projectile/P, def_zone)
if(istype(P, /obj/item/projectile/energy) || istype(P, /obj/item/projectile/beam))
if(P.is_reflectable)
if(check_reflect(def_zone)) // Checks if you've passed a reflection% check
visible_message("<span class='danger'>The [P.name] gets reflected by [src]!</span>", \
"<span class='userdanger'>The [P.name] gets reflected by [src]!</span>")