Adds new and immersive sound for combat

Dink!
This commit is contained in:
nik707
2019-03-05 15:03:08 -06:00
parent bf829a2d79
commit a89ab006c1
6 changed files with 9 additions and 0 deletions
+3
View File
@@ -167,4 +167,7 @@
attack_message = "[user] has [message_verb] [src][message_hit_area] with [I]!"
visible_message("<span class='danger'>[attack_message]</span>",\
"<span class='userdanger'>[attack_message]</span>", null, COMBAT_MESSAGE_RANGE)
if(hit_area == BODY_ZONE_HEAD)
if(prob(2))
playsound(src, 'sound/weapons/dink.ogg', 30, 1)
return 1