1
0
mirror of https://codeberg.org/tenplus1/mobs_monster.git synced 2024-12-22 17:00:26 +01:00

reduce spawn light level and increase spawn chance to 9000

This commit is contained in:
TenPlus1 2018-01-12 14:55:25 +00:00
parent 0f33e5c02d
commit 20fba93293

View File

@ -64,8 +64,8 @@ mobs:register_mob("mobs_monster:dungeon_master", {
mobs:spawn({
name = "mobs_monster:dungeon_master",
nodes = {"default:stone"},
max_light = 7,
chance = 7000,
max_light = 5,
chance = 9000,
active_object_count = 1,
max_height = -70,
})
@ -104,8 +104,10 @@ mobs:register_arrow("mobs_monster:fireball", {
}, nil)
end,
-- node hit, bursts into flame
-- node hit
hit_node = function(self, pos, node)
mobs:explosion(pos, 1, 1, 0)
mobs:boom(self, pos, 1)
end
})
--minetest.override_item("default:obsidian", {on_blast = function() end})