Hello everyone !
I found a plugin called "Random Equipment Prefixes & Affixes" by DreamX (found here: https://forums.rpgmakerweb.com/index.php?threads/random-item-prefixes-suffixes.57646/). The plugin is really awesome but I wonder how to make suffix or preffix giving a random amount of "x" elemental resistance. I assume you can make it with some knowledge in JS using this,
<Prefix Suffix Effect>
var atkBonus = Math.floor((Math.random() * 100) + 50);
newItem.params[2] += atkBonus;
newItem.name += " +" + atkBonus;
newItem.price += atkBonus;
</Prefix Suffix Effect>
(a example frome DreamX to add a random amount of ATK between 50 & 150 here)
kind of stuff.. but I'm really bad at it so..
Could you help me please ?
Thanks a lot in advance !
P.S: I'm French so if my English is not that good just throw me some tomato or some FROMAGE I'm fine with it !
I found a plugin called "Random Equipment Prefixes & Affixes" by DreamX (found here: https://forums.rpgmakerweb.com/index.php?threads/random-item-prefixes-suffixes.57646/). The plugin is really awesome but I wonder how to make suffix or preffix giving a random amount of "x" elemental resistance. I assume you can make it with some knowledge in JS using this,
<Prefix Suffix Effect>
var atkBonus = Math.floor((Math.random() * 100) + 50);
newItem.params[2] += atkBonus;
newItem.name += " +" + atkBonus;
newItem.price += atkBonus;
</Prefix Suffix Effect>
(a example frome DreamX to add a random amount of ATK between 50 & 150 here)
kind of stuff.. but I'm really bad at it so..
Could you help me please ?
Thanks a lot in advance !
P.S: I'm French so if my English is not that good just throw me some tomato or some FROMAGE I'm fine with it !