mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
Merge pull request #16376 from Tytynguyen/sleepingcarpdeflect
Hopefully made the sleeping carp deflects more obvious
This commit is contained in:
@@ -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
|
||||
..()
|
||||
|
||||
|
||||
@@ -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.
Reference in New Issue
Block a user