Hello, I've been working on my some classes in my game and was wanting to give each one a special trait.
Basically, each Tank class gets a bonus to its secondary stat the lower it's HP is.
So my Knight (Strength and Defense based class) would get a bonus to it's ATK the lower it's HP is.
However, a Battlemage (Magic Attack and Defense based class) would get a bonus to it's MAT, and so on.
I'm currently using Yanfly's "Equip Battle Skills" plugin so the player can elect to equip these skills with these passive states attached to them.
I just need help figuring out how to write the eval functions that say to multiply ATK by (HP/MHP + 1).
I'm having trouble finding any sources on how to write this.
Thanks for any help!
Basically, each Tank class gets a bonus to its secondary stat the lower it's HP is.
So my Knight (Strength and Defense based class) would get a bonus to it's ATK the lower it's HP is.
However, a Battlemage (Magic Attack and Defense based class) would get a bonus to it's MAT, and so on.
I'm currently using Yanfly's "Equip Battle Skills" plugin so the player can elect to equip these skills with these passive states attached to them.
I just need help figuring out how to write the eval functions that say to multiply ATK by (HP/MHP + 1).
I'm having trouble finding any sources on how to write this.
Thanks for any help!