Merge pull request #8257 from phil235/ReflectFix

Simplifies laser reflection code
This commit is contained in:
Cheridan
2015-03-14 16:15:52 -05:00
6 changed files with 4 additions and 13 deletions
@@ -67,7 +67,7 @@ emp_act
return 2
return (..(P , def_zone))
/mob/living/carbon/human/proc/check_reflect(var/def_zone) //Reflection checks for anything in your l_hand, r_hand, or wear_suit based on reflect_chance var of the object
/mob/living/carbon/human/proc/check_reflect(var/def_zone) //Reflection checks for anything in your l_hand, r_hand, or wear_suit based on the reflection chance of the object
if(wear_suit && istype(wear_suit, /obj/item/))
var/obj/item/I = wear_suit
if(I.IsReflect(def_zone) == 1)