Mobs: Disable war_cry sound for now
This commit is contained in:
parent
27823dbbb3
commit
0a803400fe
2 changed files with 7 additions and 5 deletions
|
@ -124,9 +124,10 @@ local do_attack = function(self, player)
|
|||
self.attack = player
|
||||
self.state = "attack"
|
||||
|
||||
if random(0, 100) < 90 then
|
||||
mob_sound(self, self.sounds.war_cry, true)
|
||||
end
|
||||
-- TODO: Implement war_cry sound without being annoying
|
||||
--if random(0, 100) < 90 then
|
||||
--mob_sound(self, self.sounds.war_cry, true)
|
||||
--end
|
||||
end
|
||||
|
||||
|
||||
|
@ -1300,7 +1301,8 @@ local smart_mobs = function(self, s, p, dist, dtime)
|
|||
self.path.stuck_timer = stuck_timeout - 2
|
||||
else
|
||||
-- yay i found path
|
||||
mob_sound(self, self.sounds.war_cry, true)
|
||||
-- TODO: Implement war_cry sound without being annoying
|
||||
--mob_sound(self, self.sounds.war_cry, true)
|
||||
set_velocity(self, self.walk_velocity)
|
||||
|
||||
-- follow path now that it has it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue