17,101
edits
(_getAreaStat: Readd effect value into area effect descriptions) |
mNo edit summary |
||
Line 137: | Line 137: | ||
elseif statName == 'areaEffectDesc' then | elseif statName == 'areaEffectDesc' then | ||
if area.areaEffect ~= nil and area.areaEffect then | if area.areaEffect ~= nil and area.areaEffect then | ||
local descText, subIdx = string.gsub(area.areaEffectDescription, '${effectValue}', area.areaEffectValue or 0) | |||
return descText | |||
else | else | ||
return 'None' | return 'None' |