Module:Mazunki/Dungeons: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 14: Line 14:
local result = '{| class="wikitable sortable stickyHeader"'
local result = '{| class="wikitable sortable stickyHeader"'
result = result..'\r\n|-class="headerRow-0"'
result = result..'\r\n|-class="headerRow-0"'
result = result..'\r\n!Icon!!Dungeon!!Monsters!!Boss Level!!Total HP!!Min. DR!!Reward(s)!!Boss Pet'
result = result..'\r\n!Icon!!Dungeon!!Monsters!!Boss Level!!Total HP!!colspan="3" Min. DR!!Reward(s)!!Boss Pet'


for i, dungIdx in ipairs(AreaData.displayOrder.dungeons) do
for i, dungIdx in ipairs(AreaData.displayOrder.dungeons) do
Line 28: Line 28:
local minDR = p._getDungeonMinDR(dung, 1000, 0.4)
local minDR = p._getDungeonMinDR(dung, 1000, 0.4)
result = result..'||'..minDR["melee"]
result = result..'||'..minDR["Melee"]
result = result..'||'..minDR["Ranged"]
result = result..'||'..minDR["Magic"]


result = result..'||'..pm._getDungeonRewards(dung, false)
result = result..'||'..pm._getDungeonRewards(dung, false)
Line 94: Line 96:
local ae = 0.4
local ae = 0.4
return p._getDungeonTotalHP(dung, true)
--return p._getDungeonTotalHP(dung, true)
--return p._getDungeonMinDR(dung, maxHp, ae)
return p._getDungeonMinDR(dung, maxHp, ae)
end
end


892

edits