mirror of
https://codeberg.org/tenplus1/mobs_monster.git
synced 2025-07-10 20:20:42 +02:00
use global particle effect function for sand/lava monster
This commit is contained in:
@ -95,9 +95,9 @@ mobs:register_mob("mobs_monster:sand_monster", {
|
||||
]]
|
||||
on_die = function(self, pos)
|
||||
pos.y = pos.y + 0.5
|
||||
effect(pos, 30, "mobs_sand_particles.png", 0.1, 2, 3, 5)
|
||||
mobs:effect(pos, 30, "mobs_sand_particles.png", .1, 2, 3, 5)
|
||||
pos.y = pos.y + 0.25
|
||||
effect(pos, 30, "mobs_sand_particles.png", 0.1, 2, 3, 5)
|
||||
mobs:effect(pos, 30, "mobs_sand_particles.png", .1, 2, 3, 5)
|
||||
end,
|
||||
--[[
|
||||
on_rightclick = function(self, clicker)
|
||||
|
Reference in New Issue
Block a user