Module:Skills/Gathering: Difference between revisions

_buildAstrologyConstellationTable: Temporarily fix issue that I created by altering the behaviour of Constants._getModifierText
(Implement Astrology constellation functions)
(_buildAstrologyConstellationTable: Temporarily fix issue that I created by altering the behaviour of Constants._getModifierText)
Line 734: Line 734:
--Building the list of Standard modifiers:
--Building the list of Standard modifiers:
for k, modName in pairs(cons.standardModifiers[j]) do
for k, modName in pairs(cons.standardModifiers[j]) do
table.insert(standMods, Constants._getModifierText(modName, {skillID, maxModifier}, false))
local modBaseName, modText, sign, isNegative, unsign, modBase = Constants.getModifierDetails(modName)
local modVal = (Shared.contains(modText, '{SV0}') and {skillID, maxModifier}) or maxModifier
table.insert(standMods, Constants._getModifierText(modName, modVal, false))
end
end
end
end