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)