1
0
Fork 0

Reduce mob death fanfare

This commit is contained in:
Eliy21 2023-11-11 15:07:22 +00:00
parent accb8742dd
commit 87ce350653
1 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ function mcl_mobs.death_effect(pos, yaw, collisionbox, rotate)
end end
minetest.add_particlespawner({ minetest.add_particlespawner({
amount = 50, amount = 4,
time = 0.001, time = 0.001,
minpos = vector.add(pos, min), minpos = vector.add(pos, min),
maxpos = vector.add(pos, max), maxpos = vector.add(pos, max),
@ -81,7 +81,7 @@ function mcl_mobs.death_effect(pos, yaw, collisionbox, rotate)
minetest.sound_play("mcl_mobs_mob_poof", { minetest.sound_play("mcl_mobs_mob_poof", {
pos = pos, pos = pos,
gain = 1.0, gain = 0.5,
max_hear_distance = 8, max_hear_distance = 8,
}, true) }, true)
end end