1
0
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:
tenplus1
2020-06-20 10:08:15 +01:00
parent 4477466120
commit 475e0f5624
2 changed files with 4 additions and 32 deletions

View File

@ -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)