1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2024-12-24 17:50:21 +01:00

use war_cry sound in pathfinding when path found (thanks Yukitty)

This commit is contained in:
TenPlus1 2018-03-12 11:05:02 +00:00
parent 8c34c63b15
commit 2109814805

View File

@ -3,7 +3,7 @@
mobs = {}
mobs.mod = "redo"
mobs.version = "20180126"
mobs.version = "20180312"
-- Intllib
@ -1215,7 +1215,7 @@ local smart_mobs = function(self, s, p, dist, dtime)
mob_sound(self, self.sounds.random)
else
-- yay i found path
mob_sound(self, self.sounds.attack)
mob_sound(self, self.sounds.war_cry)
set_velocity(self, self.walk_velocity)