2,873
edits
(Add summoning data) |
(Add agility pillar data) |
||
Line 151: | Line 151: | ||
function getAgilityData(realm) | function getAgilityData(realm) | ||
return getAgilityRequirements( | local skillID = 'Agility' | ||
local data = getDataSet(SkillData.Agility.pillars, realm) | |||
local pillarLevels = { | |||
melvorF = 99, | |||
melvorTotH = 120, | |||
melvorItA = 60 | |||
} | |||
local pillars = Select(data, function(x) | |||
local ns, _ = Shared.getLocalID(x.id) | |||
return UnlockData.new(x.id, x.name, pillarLevels[ns], skillID) | |||
end) | |||
local obstacles = getAgilityRequirements(skillID, realm) | |||
return Concat(obstacles, pillars) | |||
end | end | ||
Line 338: | Line 352: | ||
local realmName = 'Abyssal Realm' | local realmName = 'Abyssal Realm' | ||
local realm = Skills.getRealmFromName(realmName) | local realm = Skills.getRealmFromName(realmName) | ||
Debug.log( | Debug.log(getAgilityData(realm)) | ||
end | end | ||
p.UnlockData = UnlockData | p.UnlockData = UnlockData | ||
return p | return p |
edits