Ah yes, if you don't have any eligible Legendary Pokemon, then that would definitely be a cause for errors. If you don't get any results back in the Max Raid Database if you filter by "Legendary Raid", then that would indeed be what the issue is (given that everything else works).
A full list of Legendary Pokemon are automatically created (along with the lists of all other raid ranks) by the plugin. A species is considered "Legendary" by the plugin as long as it meets both of the following criteria:
- The species' Base Stat Total exceeds 570.
- The species is found in the "Undiscovered" Egg Group.
All canon legendary species meet these criteria besides a select handful (such as Manaphy and Urshifu), which are instead manually added to the list as exceptions.
If none of your fakemon meet these criteria, then your game won't recognize any of them as legendary. To remedy this, you basically have three options:
- Update the PBS data of all your fakemon legendaries so that they meet the above criteria.
- Alter the plugin script itself to recognize your own custom criteria for what should be considered "Legendary".
- Just create an array of all your fakemon legendaries and add them as "exceptions" to what is considered legendary, akin to Manaphy and Urshifu.
For options 2 and 3, this would be done in
[006] Max Raids/02_Raid_Utilities script, in
def pbRaidRankLists. For option 3 in particular, you would just have to add a new line under the final line listing Calyrex as an exception, which would look something like this:
Code:
rank5.push(sp.id) if [:FAKEMON1,:FAKEMON2,:FAKEMON3,etc...].include?(sp.id)
Obviously, you would insert the specific ID's of all your legendary fakemon in the array instead.
For option 2, that would all depend on what specific criteria you would want to specify for the game to automatically determine what is considered "Legendary".
I hope that helps. This brought up an interesting issue, and it's something I might address in a future update in the ZUD_Settings where you can manually enter specific species to be added as "exceptions" to the legendary filter, to force certain species to appear as Lair bosses. Might be a useful feature for some people.