Module:ModifierTables: Difference between revisions

Exclude Golbin Raid exclusive equipment/upgrades. Potentially replace with toggle later
(_getModifierTable: Add Astrology constelllations; Indent with tabs instead of spaces)
(Exclude Golbin Raid exclusive equipment/upgrades. Potentially replace with toggle later)
Line 76: Line 76:
local itemList = Items.getItems(
local itemList = Items.getItems(
function(item)
function(item)
if item.golbinRaidExclusive ~= nil and item.golbinRaidExclusive then
return false
end
for i, mod in Shared.skpairs(modifiers) do
for i, mod in Shared.skpairs(modifiers) do
if p.getModifierValue(item.modifiers, mod, skill, getOpposites) ~= 0 then
if p.getModifierValue(item.modifiers, mod, skill, getOpposites) ~= 0 then
Line 173: Line 176:
local upgradeList = Shop.getPurchases(
local upgradeList = Shop.getPurchases(
function(category, purchase)
function(category, purchase)
if category == 'GolbinRaid' then
return false
end
for i, mod in Shared.skpairs(modifiers) do
for i, mod in Shared.skpairs(modifiers) do
if p.getModifierValue(purchase.contains.modifiers, mod, skill, getOpposites) ~= 0 then
if p.getModifierValue(purchase.contains.modifiers, mod, skill, getOpposites) ~= 0 then