Merge pull request #16376 from Tytynguyen/sleepingcarpdeflect

Hopefully made the sleeping carp deflects more obvious
This commit is contained in:
Cheridan
2016-03-27 12:38:48 -05:00
5 changed files with 9 additions and 1 deletions
@@ -160,7 +160,8 @@
if(!prob(martial_art.deflection_chance))
return ..()
if(!src.lying && dna && !dna.check_mutation(HULK)) //But only if they're not lying down, and hulks can't do it
src.visible_message("<span class='danger'>[src] deflects the projectile; they can't be hit with ranged weapons!</span>", "<span class='userdanger'>You deflect the projectile!</span>")
src.visible_message("<span class='danger'><B>[src] deflects the projectile; they can't be hit with ranged weapons!</B></span>", "<span class='userdanger'>You deflect the projectile!</span>")
playsound(src, pick("sound/weapons/bulletflyby.ogg","sound/weapons/bulletflyby2.ogg","sound/weapons/bulletflyby3.ogg"), 75, 1)
return 0
..()