master
Lean Rada 2015-01-21 15:18:23 +08:00
parent cb64894b3e
commit d59625f52f
2 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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,
})