Skip to content
Snippets Groups Projects
Commit 21b3e0dd authored by DarkGod's avatar DarkGod
Browse files

Short staves will appear smaller than normal ones on the player's doll

parent cb458e54
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -653,6 +653,11 @@ newEntity{
cost = 25,
wielder = {
},
resolvers.genericlast(function(e)
if e.moddable_tile:find("_hand_08_0[1-5]") then
e.moddable_tile = e.moddable_tile:gsub("_hand_08_0([1-5])", "_hand_08_0%1_1h")
end
end),
}
newEntity{
......@@ -673,6 +678,11 @@ newEntity{
combat_spellcrit = resolvers.mbonus_material(2, 2),
combat_critical_power = resolvers.mbonus_material(7, 7),
},
resolvers.genericlast(function(e)
if e.moddable_tile:find("_hand_08_0[1-5]") then
e.moddable_tile = e.moddable_tile:gsub("_hand_08_0([1-5])", "_hand_08_0%1_1h")
end
end)
}
......
......@@ -557,7 +557,7 @@ function resolvers.calc.moddable_tile(t, e)
r2 = {"lower_body_03","lower_body_04","lower_body_05","lower_body_06","lower_body_06",}
elseif slot == "robe" then r = {"upper_body_18","upper_body_16","upper_body_13","upper_body_15","upper_body_17",}
elseif slot == "shield" then r = {"%s_hand_10_01","%s_hand_11_01","%s_hand_11_02","%s_hand_12_01","%s_hand_12_02",}
elseif slot == "staff" then r = {{"%s_hand_08",true}}
elseif slot == "staff" then r = {"%s_hand_08_01", "%s_hand_08_02", "%s_hand_08_03", "%s_hand_08_04", "%s_hand_08_05"}
elseif slot == "leather_boots" then r = {"feet_03","feet_04","feet_04","feet_05","feet_05",}
elseif slot == "heavy_boots" then r = {"feet_06","feet_06","feet_07","feet_09","feet_08",}
elseif slot == "gauntlets" then r = {"hands_03","hands_04","hands_05","hands_07","hands_06",}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment