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
..()
+7
View File
@@ -0,0 +1,7 @@
bulletflyby sounds are by kMoon on freesound.org:
bulletflyby:https://www.freesound.org/people/kMoon/sounds/90782/
bulletflyby2:https://www.freesound.org/people/kMoon/sounds/90784/
bulletflyby3:https://www.freesound.org/people/kMoon/sounds/90783/
No changes were made to the sounds, and all credit goes to kMoon.
Binary file not shown.
Binary file not shown.
Binary file not shown.