2,875
edits
(Create module to calculate time efficiency when using summoning synergies that decrease action interval) |
m (Fix incorrect variable name) |
||
Line 71: | Line 71: | ||
:addClass("wikitable sticky-header text-align-right align-left-1") | :addClass("wikitable sticky-header text-align-right align-left-1") | ||
if | if calcResult.isInfinite then | ||
tableData.effectiveTablets = 'Infinite' | tableData.effectiveTablets = 'Infinite' | ||
tableData.twoTabletTimeSave = 'Infinite' | tableData.twoTabletTimeSave = 'Infinite' | ||
Line 77: | Line 77: | ||
else | else | ||
-- Calculate time saved in seconds for two and three tablet synergy | -- Calculate time saved in seconds for two and three tablet synergy | ||
local twoTab = number.actionTimeToTimeSpan( | local twoTab = number.actionTimeToTimeSpan(calcResult.twoTabletTimeSave) | ||
local threeTab = number.actionTimeToTimeSpan( | local threeTab = number.actionTimeToTimeSpan(calcResult.threeTabletTimeSave) | ||
tableData.effectiveTablets = calcResult.effectiveTablets | tableData.effectiveTablets = calcResult.effectiveTablets | ||
tableData.twoTabletTimeSave = twoTab.totalSeconds | tableData.twoTabletTimeSave = twoTab.totalSeconds |
edits