Merge pull request #23538 from SweaterKittens/i_see_you

Adds Auditory Feedback for Ocular Warden Attacks
This commit is contained in:
Cheridan
2017-02-01 12:28:38 -06:00
committed by GitHub
4 changed files with 5 additions and 0 deletions
@@ -70,6 +70,10 @@
R.unreveal_time += 2
else
R.reveal(10)
if(prob(50))
L.playsound_local(null,'sound/machines/clockcult/ocularwarden-dot1.ogg',50,1)
else
L.playsound_local(null,'sound/machines/clockcult/ocularwarden-dot2.ogg',50,1)
L.adjustFireLoss((!iscultist(L) ? damage_per_tick : damage_per_tick * 2) * get_efficiency_mod()) //Nar-Sian cultists take additional damage
if(ratvar_awakens && L)
L.adjust_fire_stacks(damage_per_tick)
@@ -84,6 +88,7 @@
if(!target)
if(validtargets.len)
target = pick(validtargets)
playsound(src,'sound/machines/clockcult/ocularwarden-target.ogg',50,1)
visible_message("<span class='warning'>[src] swivels to face [target]!</span>")
if(isliving(target))
var/mob/living/L = target
Binary file not shown.
Binary file not shown.
Binary file not shown.