Merge pull request #3431 from Mailaender/chronoshift-shellmap

Let the cruisers jump in again on the temperat shellmap
This commit is contained in:
Chris Forbes
2013-06-17 13:36:44 -07:00
2 changed files with 4 additions and 4 deletions

View File

@@ -44,12 +44,12 @@ namespace OpenRA.Mods.RA
Game.MoveViewport(loc);
if (ticks == 250)
if (ticks == 50)
{
Scripting.RASpecialPowers.Chronoshift(self.World, new List<Pair<Actor, CPos>>()
{
Pair.New(Actors["ca1"], new CPos(90, 70)),
Pair.New(Actors["ca2"], new CPos(92, 71))
Pair.New(Actors["ca1"], new CPos(96, 70)),
Pair.New(Actors["ca2"], new CPos(98, 72))
}, Actors["pdox"], -1, false);
}

View File

@@ -26,7 +26,7 @@ namespace OpenRA.Scripting
var targetCell = kv.Second;
var cs = target.Trait<Chronoshiftable>();
if (chronosphere.Owner.Shroud.IsExplored(targetCell) && cs.CanChronoshiftTo(target, targetCell))
cs.Teleport(target, targetCell, duration, killCargo,chronosphere);
cs.Teleport(target, targetCell, duration, killCargo, chronosphere);
}
}
}