you can do like I believe:
a.actor? a.add_param(2, 1) : nil ; a.atk * 4 - b.def * 2
a.actor? a.add_param(2, 1) : nil ; a.atk * 4 - b.def * 2
Edit: im stupid :| i didnt copy/paste i just wrote the first part
Maybe later busy ATM but if it works ill edit this comment
Have a separate attack skill for your enemies that of course doesn't give the param growth. Make sure you set that new enemy attack to their attack patterns,
Don't forget that im looking for ranks for enemies/allies so it determines how often the stat increase does what it does to the certain attacks read back through the script request and you'll find out what i mean but nice work on this it's great but im looking for special things that a full script would need to be worked out instead of a sort of 'snip-it' script code
Nice this is kinda great obviously doesn't solve my whole request but is cool to know someone is actually trying to work on something for this!
yes the character ranks do change throughout the game (every time you beat a boss actually) and then it takes your rank and the enemy rank and if both the same 75% chance of stat increase if the enemy is higher it increases by 5% for every rank higher and for every rank below the enemy is a 10% decrease to the chance classes are labeld from what i think was E to S (S being you beat the game, E being you've just started and haven't defeated anything) and through simple event script calling it can increase or decrease a rank with almost no problems (depends on how the script is made)
Yes the rank is general to the party NOT the separate members (probably should have took that into consideration when i wrote the script request)
0 being E correct? so i'd do something like this
Oh o.k. I Understand ALOT better now, so if i were to do this for the demon god (a final boss in some games) I would do 30 => 4 to represent the demon god as being rank S?


Original thread: https://forums.rpgmakerweb.com/threads/stats-increase-as-certain-attacks-are-successful.17346/