bugfix
parent
cb64894b3e
commit
d59625f52f
|
@ -109,6 +109,7 @@ function director:spawn_monsters()
|
|||
local filtered = {}
|
||||
for _,m in ipairs(self.spawn_list) do
|
||||
if spawn_timers[m.description] <= 0
|
||||
and self:get_day_count() >= m.day_start
|
||||
and math.random() < m.probability
|
||||
and self.intensity >= m.intensity_min
|
||||
and self.intensity <= m.intensity_max then
|
||||
|
|
|
@ -18,4 +18,8 @@ defense.mobs.register_mob("defense:botete", {
|
|||
attack_damage = 0,
|
||||
attack_range = 8,
|
||||
attack_interval = 2.2,
|
||||
|
||||
on_step = function(self, dtime)
|
||||
|
||||
end,
|
||||
})
|
Loading…
Reference in New Issue