Skip to content

Commit

Permalink
Fix for Season of Discovery custom max levels per phase (#998)
Browse files Browse the repository at this point in the history
* Fix for Season of Discovery custom max levels per phase

_G.MAX_PLAYER_LEVEL is set to the max level for the phase after a /reloadui in game. When logging in initially it is 60 but after reloading or changing zones the change causes a LUA error every time the bags are opened.

* Update Classic Era TOC version
  • Loading branch information
struz authored Dec 4, 2023
1 parent 09e2b6e commit 7f04e70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion AdiBags_Vanilla.toc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with AdiBags. If not, see <http://www.gnu.org/licenses/>.

## Interface: 11404
## Interface: 11500

## Title: AdiBags
## Notes: Adirelle's bag addon.
Expand Down
3 changes: 3 additions & 0 deletions modules/ItemLevel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,9 @@ do
}
else
maxLevelRanges = {
[25] = { 66, 92 }, -- Classic Season of Disocvery Phase 1
[40] = { 66, 92 }, -- Classic Season of Disocvery Phase 2
[50] = { 66, 92 }, -- Classic Season of Disocvery Phase 3
[60] = { 66, 92 },
[70] = { 100, 164 },
[80] = { 187, 284 },
Expand Down

0 comments on commit 7f04e70

Please sign in to comment.