mirror of
https://codeberg.org/tenplus1/mobs_monster.git
synced 2025-08-24 18:20: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)
|
||||
end,
|
||||
|
||||
hit_object = function(self, player)
|
||||
mobs:explosion(self.object:get_pos(), 2, 1, 0)
|
||||
end,
|
||||
|
||||
-- node hit
|
||||
hit_node = function(self, pos, node)
|
||||
mobs:boom(self, pos, 1)
|
||||
|
Reference in New Issue
Block a user