Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Illuna-Minetest
mobs_monster
Commits
1212d2a6
Commit
1212d2a6
authored
May 12, 2016
by
TenPlus1
Browse files
dungeon master updated to new dogshoot features
parent
97f6b107
Changes
2
Hide whitespace changes
Inline
Side-by-side
dungeon_master.lua
View file @
1212d2a6
...
...
@@ -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
,
},
...
...
sand_monster.lua
View file @
1212d2a6
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment