Anonymous

Module:Attacks/Tables: Difference between revisions

From Melvor Idle
_getSpecialAttackTable: Exclude Golbin raid items
(getCombatTriangleTable: Fix)
(_getSpecialAttackTable: Exclude Golbin raid items)
Line 50: Line 50:
     if includeCat['Item'] then
     if includeCat['Item'] then
         for i, item in ipairs(GameData.rawData.items) do
         for i, item in ipairs(GameData.rawData.items) do
             if item.specialAttacks ~= nil and not Shared.tableIsEmpty(item.specialAttacks) then
             if item.specialAttacks ~= nil and not item.golbinRaidExclusive and not Shared.tableIsEmpty(item.specialAttacks) then
                 local overrideChance = (item.overrideSpecialChances ~= nil and not Shared.tableIsEmpty(item.overrideSpecialChances))
                 local overrideChance = (item.overrideSpecialChances ~= nil and not Shared.tableIsEmpty(item.overrideSpecialChances))
                 for j, spAttID in ipairs(item.specialAttacks) do
                 for j, spAttID in ipairs(item.specialAttacks) do