Hello there. I'm curious about the Hit rate formula from Yanfly's Extra Param Formula: http://yanfly.moe/2016/02/12/yep-69-extra-parameter-formula/
I have certain actors that possess:
-A Strength (ATK) stat, but no Magic (MAT) stat.
-A Magic (MAT) but no Strength (ATK).
-Both Strength (ATK) and Magic (MAT).
The Hit rate formula I'm using is: (base + plus) * rate + flat + ((user.atk + user.agi) / 2000), but for the actors that don't have a magic stat, they would be at a disadvantage against those who have Strength.
If the formula was: (base + plus) * rate + flat + ((user.atk + user.mat + user.agi) / 2000), actors who have either strength or magic would be at a disadvantage to enemies who possess both Strength and Magic.
What I'm wanting to accomplish is a possible Hit rate formula that balances it out among all of my actors, regardless if they have either Strength or Magic or both.
-If some actors have just Strength, the formula would just use the actor's strength with the speed.
On a side note, they can still access weapons that can do magic damage (based on assigned Skill ID), so that would use the Magic instead of Speed in the formula.
-If some actors have just Magic, the formula would just use the actor's magic with speed.
-And for actors that have both Strength and Magic, the formula would use either one along with speed based on what type of skill they're using.
In regards to the three points, I mean if they have a skill that does physical damage, use the Strength with Speed in the formula, but if they have a skill does magical damage, use the Magic with Speed in the formula instead.
That way, each actor won't have a advantage like that among one another. Would any if-else statements be possible to manage this? If so, what formula do you think would work with this?
I have certain actors that possess:
-A Strength (ATK) stat, but no Magic (MAT) stat.
-A Magic (MAT) but no Strength (ATK).
-Both Strength (ATK) and Magic (MAT).
The Hit rate formula I'm using is: (base + plus) * rate + flat + ((user.atk + user.agi) / 2000), but for the actors that don't have a magic stat, they would be at a disadvantage against those who have Strength.
If the formula was: (base + plus) * rate + flat + ((user.atk + user.mat + user.agi) / 2000), actors who have either strength or magic would be at a disadvantage to enemies who possess both Strength and Magic.
What I'm wanting to accomplish is a possible Hit rate formula that balances it out among all of my actors, regardless if they have either Strength or Magic or both.
-If some actors have just Strength, the formula would just use the actor's strength with the speed.
On a side note, they can still access weapons that can do magic damage (based on assigned Skill ID), so that would use the Magic instead of Speed in the formula.
-If some actors have just Magic, the formula would just use the actor's magic with speed.
-And for actors that have both Strength and Magic, the formula would use either one along with speed based on what type of skill they're using.
In regards to the three points, I mean if they have a skill that does physical damage, use the Strength with Speed in the formula, but if they have a skill does magical damage, use the Magic with Speed in the formula instead.
That way, each actor won't have a advantage like that among one another. Would any if-else statements be possible to manage this? If so, what formula do you think would work with this?