Anonymous

Module:Navboxes: Difference between revisions

From Melvor Idle
getSkillcapeNavbox: Fix AoD capes unintentionally being excluded
(Cleaned up Single Navbox functions; Added Expansion Icons; Separated Prayers and Unholy Prayers)
(getSkillcapeNavbox: Fix AoD capes unintentionally being excluded)
Line 329: Line 329:
function p.getSkillcapeNavbox(frame)
function p.getSkillcapeNavbox(frame)
local capeList = {
local capeList = {
["Normal"] = Shop.getPurchases(function(purch) return purch.category == 'melvorD:Skillcapes' end),
["Normal"] = Shop.getPurchases(function(purch) return Shop.isSkillcapePurchase(purch, false, nil) end),
["Superior"] = Shop.getPurchases(function(purch) return purch.category == 'melvorTotH:SuperiorSkillcapes' end)
["Superior"] = Shop.getPurchases(function(purch) return Shop.isSkillcapePurchase(purch, true, nil) end)
}
}