dungeon master updated to new dogshoot features

This commit is contained in:
TenPlus1 2016-05-12 11:42:30 +01:00
parent 97f6b10768
commit 1212d2a666
2 changed files with 10 additions and 0 deletions

View File

@ -6,6 +6,8 @@ mobs:register_mob("mobs_monster:dungeon_master", {
passive = false, passive = false,
damage = 4, damage = 4,
attack_type = "dogshoot", attack_type = "dogshoot",
dogshoot_switch = 1,
dogshoot_count_max = 10,
reach = 3, reach = 3,
shoot_interval = 2.5, shoot_interval = 2.5,
arrow = "mobs_monster:fireball", arrow = "mobs_monster:fireball",
@ -47,6 +49,8 @@ mobs:register_mob("mobs_monster:dungeon_master", {
walk_end = 35, walk_end = 35,
punch_start = 36, punch_start = 36,
punch_end = 48, punch_end = 48,
shoot_start = 36,
shoot_end = 48,
speed_normal = 15, speed_normal = 15,
speed_run = 15, speed_run = 15,
}, },

View File

@ -45,6 +45,12 @@ mobs:register_mob("mobs_monster:sand_monster", {
punch_start = 74, punch_start = 74,
punch_end = 105, punch_end = 105,
}, },
--[[
custom_attack = function(self, p)
local pos = self.object:getpos()
minetest.add_item(pos, "default:sand")
end,
]]
}) })
mobs:register_spawn("mobs_monster:sand_monster", {"default:desert_sand"}, 20, 0, 7000, 1, 31000) mobs:register_spawn("mobs_monster:sand_monster", {"default:desert_sand"}, 20, 0, 7000, 1, 31000)