2,875
edits
(Update for v1.3) |
No edit summary |
||
Line 12: | Line 12: | ||
local Pets = require('Module:Pets') | local Pets = require('Module:Pets') | ||
local Areas = require('Module:CombatAreas') | local Areas = require('Module:CombatAreas') | ||
local Num = require('Module:Number') | |||
Line 99: | Line 100: | ||
result = result..'||data-sort-value="'..area.difficulty[1]..'"|'..Areas._getAreaStat(area, 'difficulty') | result = result..'||data-sort-value="'..area.difficulty[1]..'"|'..Areas._getAreaStat(area, 'difficulty') | ||
local lowLvl, highLvl = p.getLowHighLevels(area.monsterIDs) | local lowLvl, highLvl = p.getLowHighLevels(area.monsterIDs) | ||
result = result .. '||data-sort-value="' .. lowLvl .. '"| ' .. | result = result .. '||data-sort-value="' .. lowLvl .. '"| ' .. Num.formatnum(lowLvl) | ||
result = result .. '||data-sort-value="' .. highLvl .. '"| ' .. | result = result .. '||data-sort-value="' .. highLvl .. '"| ' .. Num.formatnum(highLvl) | ||
local reqText = Areas._getAreaRequirements(area) | local reqText = Areas._getAreaRequirements(area) | ||
if reqText == nil or reqText == '' then | if reqText == nil or reqText == '' then | ||
Line 134: | Line 135: | ||
result = result..'||data-sort-value="'..area.difficulty[1]..'"|'..Areas._getAreaStat(area, 'difficulty') | result = result..'||data-sort-value="'..area.difficulty[1]..'"|'..Areas._getAreaStat(area, 'difficulty') | ||
local lowLvl, highLvl = p.getLowHighLevels(area.monsterIDs) | local lowLvl, highLvl = p.getLowHighLevels(area.monsterIDs) | ||
result = result..'||data-sort-value="' .. highLvl .. '"| ' .. | result = result..'||data-sort-value="' .. highLvl .. '"| ' .. Num.formatnum(highLvl) | ||
local reqText = Areas._getAreaRequirements(area) | local reqText = Areas._getAreaRequirements(area) | ||
if reqText == nil or reqText == '' then | if reqText == nil or reqText == '' then | ||
Line 235: | Line 236: | ||
result = result..'||data-sort-value="'..dung.difficulty[1]..'"|'..Areas._getAreaStat(dung, 'difficulty') | result = result..'||data-sort-value="'..dung.difficulty[1]..'"|'..Areas._getAreaStat(dung, 'difficulty') | ||
result = result..'||'..monsterCount | result = result..'||'..monsterCount | ||
result = result..'||'.. | result = result..'||'..Num.formatnum(Monsters._getMonsterCombatLevel(boss)) | ||
local reqText = Areas._getAreaRequirements(dung) | local reqText = Areas._getAreaRequirements(dung) | ||
if reqText == nil or reqText == '' then | if reqText == nil or reqText == '' then |
edits