4,951
edits
Falterfire (talk | contribs) (Created getMonsterAttacks) |
Falterfire (talk | contribs) (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 |