892
edits
mNo edit summary |
mNo edit summary |
||
Line 156: | Line 156: | ||
monsterHp = p._getAfflictedAverageHP() | monsterHp = p._getAfflictedAverageHP() | ||
dr = 0.2 -- afflicted always have +20% dr | dr = 0.2 -- afflicted always have +20% dr | ||
else | else | ||
monsterHp = Monsters._getMonsterHP(monster) | monsterHp = Monsters._getMonsterHP(monster) | ||
Line 166: | Line 164: | ||
for i, eq in Shared.skpairs(monster.equipmentStats) do | for i, eq in Shared.skpairs(monster.equipmentStats) do | ||
if eq.key == "damageReduction" then | if eq.key == "damageReduction" then | ||
dr = eq.value/100 | dr = dr + eq.value/100 | ||
end | end | ||
end | end | ||
else | |||
dr = 0 | |||
end | end | ||
edits