Module:Mazunki/Dungeons: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 27: Line 27:
result = result..'||'..p._getDungeonTotalHP(dung, true) -- accountForEnemyDR = true
result = result..'||'..p._getDungeonTotalHP(dung, true) -- accountForEnemyDR = true
local minDR = p._getDungeonMinDR(dung, 1000, 0.4)
local minDR = {Melee=0, Ranged=0, Magic=0} -- p._getDungeonMinDR(dung, 1000, 0.4)
result = result..'||'..minDR["Melee"]
result = result..'||'..minDR["Melee"]
result = result..'||'..minDR["Ranged"]
result = result..'||'..minDR["Ranged"]
Line 128: Line 128:
for i, monsterID in Shared.skpairs(dung.monsters) do
for i, monsterID in Shared.skpairs(dung.monsters) do
local monster = Monsters.getMonsterByID(monsterID)
local monster = Monsters.getMonsterByID(monsterID)
local monsterHp = Monsters._getMonsterHP(monster)
local monsterHp = 0 -- Monsters._getMonsterHP(monster)
local dr = 0
local dr = 0
if calculateDR then
if calculateDR then
892

edits