Module:Monsters: Difference between revisions

Fixed issue with the getMonsterAttacks function
(Created getMonsterAttacks)
(Fixed issue with the getMonsterAttacks function)
Line 304: Line 304:
       local attChance = 0
       local attChance = 0
       if monster.overrideSpecialChances ~= nil then
       if monster.overrideSpecialChances ~= nil then
        attChance = monster.overrideSpecialChances[i]
       else
       else
         attChance = specAttack.chance
         attChance = specAttack.chance