(function () {
var alias1 = PosChecker;
PosChecker = {
getUnitFromPos: function(x, y) {
return root.getCurrentSession().getUnitFromPos(x, y);
},

getMovePointFromUnit: function(x, y, unit) {
var terrain, movePoint;
var movePoint = alias1.call(unit);
var skill;

if (!CurrentMap.isMapInside(x, y)) {
return 0;
}

// 指定位置に関連する「地形効果」を取得
terrain = this.getTerrainFromPos(x, y);

// 地形に移動するために必要な「消費移動力」を取得
skill = SkillControl.getPossessionCustomSkill(unit,'karuwaza');
if (skill) {
movePoint = 1;
}

return movePoint;
}
}
})();
と適当に他のプラグインを見よう見まねでいじってみたがやっぱりエラーが出た
559の言うように同盟クラスに入れ替えた方がいいのかな?