I've searched the forums and tried to mess around with the script but couldn't really come up with a way to do the following:
A formula that gives 100% hit or 100% miss on an enemy, based on the AGI paramater; if the enemy ( B ) has double or more AGI than the actor (A) the actor's attack would always miss, if not, always hit.
I'm a complete beginner in scripting, I tried adding something like (return rate * 0 if b.agi > a.agi * 2) on the "Calculate Hit Rate of Skill/Item" of the Game_Battler section.
Is it possible to make a formula that simulates what I'm trying to achiev? Thank you in advance.
A formula that gives 100% hit or 100% miss on an enemy, based on the AGI paramater; if the enemy ( B ) has double or more AGI than the actor (A) the actor's attack would always miss, if not, always hit.
I'm a complete beginner in scripting, I tried adding something like (return rate * 0 if b.agi > a.agi * 2) on the "Calculate Hit Rate of Skill/Item" of the Game_Battler section.
Is it possible to make a formula that simulates what I'm trying to achiev? Thank you in advance.