Module:Mazunki/Dungeons: Difference between revisions

m
no edit summary
mNo edit summary
mNo edit summary
Line 50: Line 50:
local monster = Monsters.getMonsterByID(monsterID)
local monster = Monsters.getMonsterByID(monsterID)
if monster == nil and monsterID == -1 then
if monster == nil and monsterID == -1 then
local afflicted = Monsters._getAfflictedMonsterIdList()
for _, id in Shared.skpairs(afflicted) do
for _, id in Shared.skpairs(afflicted) do
local monster = Monsters.getMonsterByID(id)
local monster = Monsters.getMonsterByID(id)
Line 124: Line 125:
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