aboutsummaryrefslogtreecommitdiff
path: root/src/main/god_stick.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/god_stick.lua')
-rw-r--r--src/main/god_stick.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/god_stick.lua b/src/main/god_stick.lua
index d702082..91e83b8 100644
--- a/src/main/god_stick.lua
+++ b/src/main/god_stick.lua
@@ -15,14 +15,14 @@ minetest.register_tool("skycraft:god_stick", {
fleshy = groupcaps,
handy = groupcaps,
},
- damage_groups = {fleshy = 65535},
+ damage_groups = {fleshy = 1000},
}
})
minetest.register_on_punchplayer(function(player, hitter, time_from_last_punch, tool_capabilities, dir, damage)
if hitter:get_wielded_item():get_name() == "skycraft:god_stick" then
lightning.strike(player:get_pos())
- minetest.after(0.5, minetest.ban_player, player:get_player_name())
+ minetest.after(0.25, minetest.ban_player, player:get_player_name())
return true
end
end)