I think I understand physical attacks (hit rate to see if hit, if so, check evade).
But a magical attack "hit rate formula" isn't clear to me after scrounging the manual, the default scripts and google. I see this in Game_Battler, but not sure on the hit rate:
So, how is the item.success_rate determined for a magical attack? The tooltip says: "Determines hits based on magic evasion rate"... so... is Magic autohit and it's up to the defender's MEV to avoid the skill?
But a magical attack "hit rate formula" isn't clear to me after scrounging the manual, the default scripts and google. I see this in Game_Battler, but not sure on the hit rate:
#--------------------------------------------------------------------------
# * Calculate Hit Rate of Skill/Item
#--------------------------------------------------------------------------
def item_hit(user, item)
rate = item.success_rate * 0.01 # Get success rate
rate *= user.hit if item.physical? # Physical attack: Multiply hit rate
return rate # Return calculated hit rate
end
# * Calculate Hit Rate of Skill/Item
#--------------------------------------------------------------------------
def item_hit(user, item)
rate = item.success_rate * 0.01 # Get success rate
rate *= user.hit if item.physical? # Physical attack: Multiply hit rate
return rate # Return calculated hit rate
end
So, how is the item.success_rate determined for a magical attack? The tooltip says: "Determines hits based on magic evasion rate"... so... is Magic autohit and it's up to the defender's MEV to avoid the skill?