あえてこの流れで聞くけど、
上で話題にしたユニットの移動速度のスクリプト、
例えば特定条件下で作用させないようにするにはこんな感じでええのん?
(if()からelseまでの間が追記部分)


//----------------------------------
// UnitResurrectクラス
//----------------------------------
var alias = SimulateMove._getUnitSppedValue;
SimulateMove._getUnitSppedValue= function() {
if( ) {//移動速度を固定したくない時の条件を入れる
//空文
}
else if( this._unit != null && (typeof this._unit.custom._speedValue === 'number') ) {
return this._unit.custom._speedValue;
}

return alias.call(this);
}