[sql, lua, cpp] Moves min/max levels to mob_spawn_points sql #9236
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I affirm:
What does this pull request do?
Moves min/max levels from mob_groups.sql to mob_spawn_points.sql. Added Valkurm Dunes level changes as an example.
This will break all current DEs implemented without levels definedReason for this PR is because as we are doing mob level audits for every single zone there are 1-3 different level ranges for each type of mob. It looks like when the mob_groups was designed they were unaware that mob levels worked like this. Setting them to the mob_spawn_points allows us to differentiate the levels and not add 30-40 rows to each mob_group tables in the sql.
Steps to test these changes
Go to any mob in the game and check their levels.
To check DEs you can edit the fafnir.lua script.

If you remove the minLevel and maxLevel you will get an error with defaulted level to 255