v1.20:
The plugin now requires Item Core. Items may only be randomized if there item type is independent (check Item Core parameters. By default weapons and armors are independent, but regular items are not. You'll need to change the parameters from the default for regular items).
The plugin must now be named DreamX_RandomPrefixesSuffixes
Previous saves are not compatible with this version. But should fix save issues.
You will need to redo the parameters.
Regular non-weapon/armor items can now be randomized.
Compatible with all Yanfly plugin notetags as of 4/28/16.
Many notetags have been renamed or added. Check help file for more information. You can use a parameter to keep the old tags if you want, but I suggest you rename them. My recommendation is to use a text editor like notepad++, open the weapon and armor json files (after backing them up!) and convert them for both files at the same time.
Here are the conversions:
<affix:x> to <suffix:x>
<prefixAffixReplaceAnim:1> to <prefixSuffixReplaceAnim>
<prefixAffixReplaceIcon:1> to <prefixSuffixReplaceIcon>
<prefixAffixName:x> to <prefixSuffixName:x>
<prefixAffixParameters:x> to <prefixSuffixParameters:x>
<prefixAffixChance:x> to <prefixSuffixChance:x>
"Prefix Affix" to "Prefix Suffix" (without quotes)
DreamX.RandomPrefixAffix to DreamX.RandomPrefixSuffix
Also, I had forgot to mention, if you removed a normal item that was pre-equipped (like at the start of a new game). It would then become randomized.
I would actually suggest not putting base items as start equipment to begin with. Base items aren't meant to be added to the player.
Also you cant use 0 as a range even thou negative numbers work so ATK -1|10 but ATK 0|10 willl make all items have the same stats
Nice catch. This has been fixed.
So if i remove the Bonus text and leave it empty it still gives it the +
Fixed.
Hello DreamX,
I just tried your plugin, version 1.19a, and have come across a couple strange occurrences.
Firstly, players equipped with items that have them not appear in item list, although they are equipped.
Secondly, when item is produced it will be made with random prefix/affix no matter the %chance setting. This occurs even if the item's name isn't changed during looting. (I have a loot popup system in place), while it seems the %chance may be working, when you view the items they are all altered.
I tested it on a project with only Yanfly CoreEngine 1.13, and Item Core 1.21 plugins installed, and still had same results.
First problem: Should be fixed in the latest update.
Second problem: What are you using for chance? If you'd like a chance for an item not to be made with a prefix/suffix, make an item without any attributes but with
either the name blank or the notetag <prefixSuffixName:>
Give it a chance with <prefixSuffixChance:x> if you wish.
If you're still having problems after this update with the loot popup system, I'll need to know what loot popup system you have in order to fix it.
Sorry for the double post. One thing, I was thinking actually. Would it be possible to add state percentage ranges to the bonuses? Kinda like the same way the main parameters work. A tag that will randomly set values for like 20-40% poison chance etc. EX. STAT: ID, percent min to percent max. I did this with my VX and ACE treasure script to give some more randomness including the gold drop rate.
@Richard John S Sorry I missed this. I'll either implement this in a future update with notetags or make a script call people can use for it.