Skip to content

Commit d21431a

Browse files
committed
Handle flat cost as well.
1 parent dea2c46 commit d21431a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Modules/CalcOffence.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ function calcs.offence(env, actor, activeSkill)
12431243
val.baseCost = val.baseCost + baseCost
12441244
val.totalCost = val.totalCost + totalCost
12451245
val.baseCostNoMult = val.baseCostNoMult + baseCostNoMult
1246-
output[(val.upfront and resource or resource:gsub("Minute", "Second")).."BaseCost"] = val.baseCost
1246+
output[(val.upfront and resource or resource:gsub("Minute", "Second")).."BaseCost"] = val.baseCost + (val.totalCost > 0 and val.totalCost or 0)
12471247
end
12481248
for resource, val in pairs(costs) do
12491249
local dec = val.upfront and 0 or 2

0 commit comments

Comments
 (0)