17,101
edits
(_getSpellRequirements: Fix regressions) |
(_getSpellStat: Remove reference to undeclared var) |
||
Line 316: | Line 316: | ||
return p.getTypeString(spell.spellBook) | return p.getTypeString(spell.spellBook) | ||
elseif stat == 'spellDamage' then | elseif stat == 'spellDamage' then | ||
if spell.maxHit ~= | if spell.maxHit ~= nil then | ||
return spell.maxHit * 10 | return spell.maxHit * 10 | ||
else | else |