Module:CombatAreas: Difference between revisions

m
no edit summary
(_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
       return string.gsub(area.areaEffectDescription, '${effectValue}', area.areaEffectValue or 0)
       local descText, subIdx = string.gsub(area.areaEffectDescription, '${effectValue}', area.areaEffectValue or 0)
      return descText
     else
     else
       return 'None'
       return 'None'