Fix cost tooltip to use consistent mult symbol

This commit is contained in:
Wires77
2025-09-19 09:08:17 -05:00
committed by GitHub
parent 5756e4d2a9
commit 684ba8fc66

View File

@@ -1727,10 +1727,10 @@ function calcs.offence(env, actor, activeSkill)
t_insert(breakdown[costName], s_format("+ %d ^8(additional "..val.text.." cost)", val.baseCostNoMult))
end
if val.type == "Life" and (hybridLifeCost + additionalLifeCost) ~= 0 and not skillModList:Flag(skillCfg, "CostLifeInsteadOfMana") then
t_insert(breakdown[costName], s_format("* %.2f ^8(mana cost conversion)", hybridLifeCost + additionalLifeCost))
t_insert(breakdown[costName], s_format("x %.2f ^8(mana cost conversion)", hybridLifeCost + additionalLifeCost))
end
if val.type == "ES" and additionalESCost ~= 0 and not skillModList:Flag(skillCfg, "CostLifeInsteadOfMana") and not skillModList:Flag(skillCfg, "CostESInsteadOfManaOrLife") then
t_insert(breakdown[costName], s_format("* %.2f ^8(mana cost conversion)", additionalESCost))
t_insert(breakdown[costName], s_format("x %.2f ^8(mana cost conversion)", additionalESCost))
end
if inc ~= 0 then
t_insert(breakdown[costName], s_format("x %.2f ^8(increased/reduced "..val.text.." cost)", 1 + inc/100))