Vaurca Fixes

* Should make their eyes get damaged with flases proper now
* Makes them actually resistant to electric shock and walking on glass
This commit is contained in:
skull132
2016-01-01 18:20:54 +02:00
parent cdc3283649
commit dcd5e6d427
5 changed files with 34 additions and 2 deletions
@@ -294,6 +294,8 @@
if(H.species.flags & IS_SYNTHETIC)
return
if(istype(H) && H.species.insulated)//Insulation
return
if(M.buckled && istype(M.buckled, /obj/structure/stool/bed/chair/wheelchair))
return ..()
@@ -52,6 +52,25 @@
flick("e_flash", M.flash)
M.Stun(2)
M.Weaken(10)
//Vaurca damage 29-012-15
var/mob/living/carbon/human/H = M
if(H.species.flags & IS_BUG)
var/datum/organ/internal/eyes/E = H.internal_organs_by_name["eyes"]
if(!E)
return
//Reworked damage 29/12/15
usr << "\red Your eyes burn with the intense light of the flash!."
E.damage += rand(10, 11)
if(E.damage > 12)
M.eye_blurry += rand(3,6)
if (E.damage >= E.min_broken_damage)
M.sdisabilities |= BLIND
else if (E.damage >= E.min_bruised_damage)
M.eye_blind = 5
M.eye_blurry = 5
M.disabilities |= NEARSIGHTED
spawn(100)
M.disabilities &= ~NEARSIGHTED