You're welcome! If you wanted to change the hit formula instead of the eva formula, replace itemEva with itemHit. (Or make a third block for that one if you want to change both.)
Happy RPG Making~ 😂
Hello, Caethyril. Can you improve your great formula? I have some problems with this. -> If AGI of my main char < AGI of Target char, then healing potion don't work correctly (its missing sometimes, i mean)!!! Thanks!
upd. I think I have solved this problem))
(function(alias) {
Game_Action.prototype.itemCri = function(target) {
return alias.apply(this, arguments) + (this.subject().agi - target.agi) * 0.05;
};
})(Game_Action.prototype.itemCri);
(function(alias) {
Game_Action.prototype.itemEva = function(target) {
if (this.isPhysical()) {
return alias.apply(this, arguments) - (this.subject().agi - target.agi) * 0.05;
} else {
return 0;
}
};
})(Game_Action.prototype.itemEva);