Anonymous

Module:CombatAreas/AreaTables: Difference between revisions

From Melvor Idle
getSlayerAreaTable: Use same logic as Template:SlayerAreaBox for area effect descriptions
(getSlayerAreaTable: Fix area effect descriptions; Use in-game display order for all zone tables)
(getSlayerAreaTable: Use same logic as Template:SlayerAreaBox for area effect descriptions)
Line 64: Line 64:


     result = result..'||'..CombatAreas._getAreaRequirements(area)
     result = result..'||'..CombatAreas._getAreaRequirements(area)
     result = result..'||'
     result = result..'|| '..CombatAreas._getAreaStat(area, 'areaEffectDesc')
    if area.areaEffectDescription ~= nil then
      result = result .. string.gsub(area.areaEffectDescription, '${effectValue}', area.areaEffectValue or 0)
    end
   end
   end