forked from mtcontrib/mobs_redo
use war_cry sound in pathfinding when path found (thanks Yukitty)
This commit is contained in:
parent
8c34c63b15
commit
2109814805
4
api.lua
4
api.lua
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user