1
0
Fork 0

Tweak sword dmg

This commit is contained in:
Wuzzy 2017-01-04 12:03:04 +01:00
parent e29eb64398
commit 9b36d10a8c
1 changed files with 9 additions and 9 deletions

View File

@ -217,31 +217,31 @@ minetest.register_tool("default:sword_wood", {
description = "Wooden Sword", description = "Wooden Sword",
inventory_image = "default_tool_woodsword.png", inventory_image = "default_tool_woodsword.png",
tool_capabilities = { tool_capabilities = {
full_punch_interval = 1, full_punch_interval = 0.625,
max_drop_level=0, max_drop_level=0,
groupcaps={ groupcaps={
snappy={times={[2]=1.6, [3]=0.40}, uses=10, maxlevel=1}, snappy={times={[2]=1.6, [3]=0.40}, uses=10, maxlevel=1},
}, },
damage_groups = {fleshy=2}, damage_groups = {fleshy=4},
} }
}) })
minetest.register_tool("default:sword_stone", { minetest.register_tool("default:sword_stone", {
description = "Stone Sword", description = "Stone Sword",
inventory_image = "default_tool_stonesword.png", inventory_image = "default_tool_stonesword.png",
tool_capabilities = { tool_capabilities = {
full_punch_interval = 1.2, full_punch_interval = 0.625,
max_drop_level=0, max_drop_level=0,
groupcaps={ groupcaps={
snappy={times={[2]=1.4, [3]=0.40}, uses=20, maxlevel=1}, snappy={times={[2]=1.4, [3]=0.40}, uses=20, maxlevel=1},
}, },
damage_groups = {fleshy=4}, damage_groups = {fleshy=5},
} }
}) })
minetest.register_tool("default:sword_steel", { minetest.register_tool("default:sword_steel", {
description = "Iron Sword", description = "Iron Sword",
inventory_image = "default_tool_steelsword.png", inventory_image = "default_tool_steelsword.png",
tool_capabilities = { tool_capabilities = {
full_punch_interval = 0.8, full_punch_interval = 0.625,
max_drop_level=1, max_drop_level=1,
groupcaps={ groupcaps={
snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=30, maxlevel=2}, snappy={times={[1]=2.5, [2]=1.20, [3]=0.35}, uses=30, maxlevel=2},
@ -253,24 +253,24 @@ minetest.register_tool("default:sword_gold", {
description = "Gold Sword", description = "Gold Sword",
inventory_image = "default_tool_goldsword.png", inventory_image = "default_tool_goldsword.png",
tool_capabilities = { tool_capabilities = {
full_punch_interval = 1.2, full_punch_interval = 0.625,
max_drop_level=0, max_drop_level=0,
groupcaps={ groupcaps={
snappy={times={[2]=1.4, [3]=0.40}, uses=20, maxlevel=1}, snappy={times={[2]=1.4, [3]=0.40}, uses=20, maxlevel=1},
}, },
damage_groups = {fleshy=4}, damage_groups = {fleshy=3},
} }
}) })
minetest.register_tool("default:sword_diamond", { minetest.register_tool("default:sword_diamond", {
description = "Diamond Sword", description = "Diamond Sword",
inventory_image = "default_tool_diamondsword.png", inventory_image = "default_tool_diamondsword.png",
tool_capabilities = { tool_capabilities = {
full_punch_interval = 0.7, full_punch_interval = 0.625,
max_drop_level=1, max_drop_level=1,
groupcaps={ groupcaps={
snappy={times={[1]=1.90, [2]=0.90, [3]=0.30}, uses=40, maxlevel=3}, snappy={times={[1]=1.90, [2]=0.90, [3]=0.30}, uses=40, maxlevel=3},
}, },
damage_groups = {fleshy=8}, damage_groups = {fleshy=7},
} }
}) })