Hi DreamX, so far your plugin's working great in my game! I do have 2 suggestions though:
1. Right now there is no good way to find out what I got out of a treasure chest. There should be a message tag that works with Yanfly's message system to show items acquired. E.g. /dxw[0] will show the first weapon generated with icon.
I'll put that on my todo list. Try Henryetha's suggestion though, if you think it fits your game.
2. A <level x, y> tag for prefix/affix's that requires the average level of the party to be between levels x and y before the prefix/affix will be included in the pool. Use Case: Level 1~3 parties should only get 'Crude Sword' with no enchantments while Level 10~12 parties will get 'Masterwork Sword of Fire'. To do this right now I must make multiple copies of the base item 'Sword' with different settings and combine it with other game variables. Doable, but messy. And a nightmare when you need to change a parameter with lots of base items. If you can implement the level tag, I can just have one copy of the base item and not have to worry about characters getting under or overpowered copies.
hopefully these can be implemented. Thanks!
v1.16 - Adds custom requirement notetag. Uses javascript. Since I used a snippet of code one of Yanfly's plugins, you must also credit them if you aren't already.
* Here's an example of how to add a custom requirement to a prefix or affix
* item. You'll need a bit of javascript knowledge.
*
* <Prefix Affix Requirement>
* $gameSwitches.value(1);
* </Prefix Affix Requirement>
*
* This will require that switch 1 is on.
*
* Here's an another example using a function provided by this plugin.
* <Prefix Affix Requirement>
* DreamX.RandomPrefixAffix.averagePartyLevel() > 5 && DreamX.RandomPrefixAffix.averagePartyLevel() < 10;
* </Prefix Affix Requirement>
*
* In this example, the requirement is that the average party level is above 5
* but below 10.
*
* Another function provided by this program is
* DreamX.RandomPrefixAffix.averagePartyBattleMemberLevel
* It returns the average level of all of the battle members in the party,
* instead of the whole party. You can use this function the same way as above.
*
* If you're having trouble with javascript, I recommend either asking in the
* thread for this plugin or somewhere else in the javascript section, or google
* it, etc.
@DreamX Thanks for pointing it out, I missed that. Also, It seems I'm using v1.14. It's been a long night lol! That would be great if items randomly regenerated after a certain amount of time for shops, I'm thinking Might and Magic. I'm down for waiting for the the shop plugin. Thanks again, man. Keep up the good work!
Ah, you didn't actually miss it, I made the update after you posted. No problem and thanks.