mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2024-12-24 01:30:22 +01:00
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