Module:GameSkills: Difference between revisions
From SpiritVale Wiki
More actions
No edit summary |
No edit summary |
||
| Line 1,281: | Line 1,281: | ||
-- Promote status duration if needed | -- Promote status duration if needed | ||
local castVal = displayFromSeries(castSeries, level) | local castVal = displayFromSeries(castSeries, level) | ||
local cdVal = displayFromSeries(cdSeries, level) | local cdVal = displayFromSeries(cdSeries, level) | ||
local durVal = displayFromSeries(durSeries, level) | |||
if (durVal == nil) and type(promo) == "table" and type(promo.durationBlock) == "table" then | |||
durSeries = seriesFromValuePair(promo.durationBlock, maxLevel) | |||
durVal = displayFromSeries(durSeries, level) | |||
end | |||
-- Cost: build combined series, and never show "0 HP" | -- Cost: build combined series, and never show "0 HP" | ||