Game_Actor.prototype.xsMoveDistance = function() {
var d = 1;
if (this.actor().meta.MoveDistance) {
d = +this.actor().meta.MoveDistance;
} else if (this.currentClass().meta.MoveDistance) {
d = +this.currentClass().meta.MoveDistance;
}
return d;
};
就直接改这个函数吧
Game_Actor.prototype.xsMoveDistance = function() {
var d = 0;
if (this.actor().agi>=0) {
d = Math. round(this.actor().agi/10);
}
return d;
};