17,101
edits
(Update for v1.3) |
(_getSpellRequirements: Correct extra abyssal level requirement) |
||
Line 145: | Line 145: | ||
['type'] = 'SkillLevel', | ['type'] = 'SkillLevel', | ||
['skillID'] = 'melvorD:Magic', | ['skillID'] = 'melvorD:Magic', | ||
['level'] = spell.level | ['level'] = spell.level | ||
} | } | ||
} | } | ||
if spell.abyssalLevel ~= nil and spell.abyssalLevel > 0 then | |||
table.insert(extraReqs, { | |||
['type'] = 'AbyssalSkillLevel', | |||
['skillID'] = 'melvorD:Magic', | |||
['level'] = spell.abyssalLevel | |||
}) | |||
end | |||
if spell.requiredItemID ~= nil then | if spell.requiredItemID ~= nil then | ||
table.insert(extraReqs, { | table.insert(extraReqs, { |