mirror of
https://codeberg.org/tenplus1/mobs_monster.git
synced 2025-08-25 02:30:26 +02:00
add hit_object to dm arrow
This commit is contained in:
@ -172,6 +172,10 @@ mobs:register_arrow("mobs_monster:fireball", {
|
|||||||
}, nil)
|
}, nil)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
hit_object = function(self, player)
|
||||||
|
mobs:explosion(self.object:get_pos(), 2, 1, 0)
|
||||||
|
end,
|
||||||
|
|
||||||
-- node hit
|
-- node hit
|
||||||
hit_node = function(self, pos, node)
|
hit_node = function(self, pos, node)
|
||||||
mobs:boom(self, pos, 1)
|
mobs:boom(self, pos, 1)
|
||||||
|
Reference in New Issue
Block a user