mirror of
https://notabug.org/TenPlus1/lucky_block.git
synced 2024-08-21 11:44:04 +02:00
lightning staff cooks mob meat when killed
This commit is contained in:
parent
9f3a7beefa
commit
af7475d86a
@ -275,13 +275,13 @@ minetest.register_tool("lucky_block:lightning_staff", {
|
|||||||
minetest.after(0.1, function()
|
minetest.after(0.1, function()
|
||||||
objs[n]:punch(tmp_ent, 1.0, {
|
objs[n]:punch(tmp_ent, 1.0, {
|
||||||
full_punch_interval = 1.0,
|
full_punch_interval = 1.0,
|
||||||
damage_groups = {fleshy = damage},
|
damage_groups = {fleshy = damage, fire = 1},
|
||||||
}, pos)
|
}, pos)
|
||||||
end)
|
end)
|
||||||
else
|
else
|
||||||
objs[n]:punch(tmp_ent, 1.0, {
|
objs[n]:punch(tmp_ent, 1.0, {
|
||||||
full_punch_interval = 1.0,
|
full_punch_interval = 1.0,
|
||||||
damage_groups = {fleshy = damage},
|
damage_groups = {fleshy = damage, fire = 1},
|
||||||
}, pos)
|
}, pos)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user