From cd9b4defa084a80feb14e5e168670339e55681c7 Mon Sep 17 00:00:00 2001 From: Aquilar <20759278+Aquilar@users.noreply.github.com> Date: Sun, 27 Sep 2020 21:07:43 +0800 Subject: [PATCH] swapping some stuff around --- code/modules/mob/living/carbon/human/human_defense.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/mob/living/carbon/human/human_defense.dm b/code/modules/mob/living/carbon/human/human_defense.dm index 5f76f595497..1f71f3a6492 100644 --- a/code/modules/mob/living/carbon/human/human_defense.dm +++ b/code/modules/mob/living/carbon/human/human_defense.dm @@ -26,13 +26,14 @@ emp_act var/list/safe_list = list(/obj/item/projectile/beam/lasertag, /obj/item/projectile/beam/practice) if(!is_type_in_list(P, safe_list)) //And it's not safe return (..(P , def_zone)) //Bad luck - visible_message("The [P.name] gets reflected by [src]!", \ - "The [P.name] gets reflected by [src]!") P.reflect_back(src) return -1 // complete projectile permutation + visible_message("The [P.name] gets reflected by [src]!", \ + "The [P.name] gets reflected by [src]!") + //Shields if(check_shields(P, P.damage, "the [P.name]", PROJECTILE_ATTACK, P.armour_penetration)) P.on_hit(src, 100, def_zone)