mirror of
https://codeberg.org/tenplus1/mobs_monster.git
synced 2024-12-23 01:10:26 +01:00
dungeon master updated to new dogshoot features
This commit is contained in:
parent
97f6b10768
commit
1212d2a666
@ -6,6 +6,8 @@ mobs:register_mob("mobs_monster:dungeon_master", {
|
||||
passive = false,
|
||||
damage = 4,
|
||||
attack_type = "dogshoot",
|
||||
dogshoot_switch = 1,
|
||||
dogshoot_count_max = 10,
|
||||
reach = 3,
|
||||
shoot_interval = 2.5,
|
||||
arrow = "mobs_monster:fireball",
|
||||
@ -47,6 +49,8 @@ mobs:register_mob("mobs_monster:dungeon_master", {
|
||||
walk_end = 35,
|
||||
punch_start = 36,
|
||||
punch_end = 48,
|
||||
shoot_start = 36,
|
||||
shoot_end = 48,
|
||||
speed_normal = 15,
|
||||
speed_run = 15,
|
||||
},
|
||||
|
@ -45,6 +45,12 @@ mobs:register_mob("mobs_monster:sand_monster", {
|
||||
punch_start = 74,
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user