Module:Skills/Artisan: Difference between revisions

_getRecipeTable: Fix XP rate column values
(_getRecipeTable: Amend styles of ingredients column)
(_getRecipeTable: Fix XP rate column values)
Line 634: Line 634:
end
end
elseif colID == 'SkillXPSec' then
elseif colID == 'SkillXPSec' then
cell:wikitext(string.format('%.2f', recipe.baseExperience / actionInterval))
cell:wikitext(string.format('%.2f', baseXP / actionInterval))
:css('text-align', 'right')
:css('text-align', 'right')
elseif colID == 'CurrencySec' then
elseif colID == 'CurrencySec' then