This commit is contained in:
SoundScopes
2015-12-08 09:46:19 +00:00
parent f527efceed
commit 092653287f
8 changed files with 88 additions and 5 deletions
+20
View File
@@ -91,6 +91,26 @@
if(safety <= 0)
M.Weaken(10)
flick("e_flash", M.flash)
//Vaurca damage 18-09-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 19/09/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
if(ishuman(M) && ishuman(user) && M.stat!=DEAD)
if(user.mind && user.mind in ticker.mode.head_revolutionaries && ticker.mode.name == "revolution")