diff --git a/OpenRA.Mods.RA/SupportPowers/ChronoshiftPower.cs b/OpenRA.Mods.RA/SupportPowers/ChronoshiftPower.cs index 9d9a29a2c3..0ba5701fb9 100755 --- a/OpenRA.Mods.RA/SupportPowers/ChronoshiftPower.cs +++ b/OpenRA.Mods.RA/SupportPowers/ChronoshiftPower.cs @@ -20,8 +20,8 @@ namespace OpenRA.Mods.RA { class ChronoshiftPowerInfo : SupportPowerInfo { - public readonly int Range = 2; // Range in cells - public readonly int Duration = 30; + public readonly int Range = 1; // Range in cells + public readonly int Duration = 30; // Seconds public readonly bool KillCargo = true; public override object Create(ActorInitializer init) { return new ChronoshiftPower(init.self,this); } @@ -62,7 +62,7 @@ namespace OpenRA.Mods.RA if (cs.CanChronoshiftTo(target, targetCell)) target.Trait().Teleport(target, targetCell, - (int)((Info as ChronoshiftPowerInfo).Duration * 25 * 60), + (Info as ChronoshiftPowerInfo).Duration * 25, (Info as ChronoshiftPowerInfo).KillCargo, chronosphere); } diff --git a/OpenRA.Mods.RA/SupportPowers/IronCurtainPower.cs b/OpenRA.Mods.RA/SupportPowers/IronCurtainPower.cs index 0421b0252e..5a9d190a3e 100755 --- a/OpenRA.Mods.RA/SupportPowers/IronCurtainPower.cs +++ b/OpenRA.Mods.RA/SupportPowers/IronCurtainPower.cs @@ -21,8 +21,8 @@ namespace OpenRA.Mods.RA { class IronCurtainPowerInfo : SupportPowerInfo { - public readonly float Duration = 0f; - public readonly int Range = 2; // Range in cells + public readonly int Duration = 10; // Seconds + public readonly int Range = 1; // Range in cells public override object Create(ActorInitializer init) { return new IronCurtainPower(init.self, this); } } @@ -55,7 +55,7 @@ namespace OpenRA.Mods.RA Sound.Play("ironcur9.aud", Game.CellSize * order.TargetLocation); foreach (var target in UnitsInRange(order.TargetLocation)) - target.Trait().Activate(target, (int)((Info as IronCurtainPowerInfo).Duration * 25 * 60)); + target.Trait().Activate(target, (Info as IronCurtainPowerInfo).Duration * 25); FinishActivate(); } diff --git a/mods/ra/rules/system.yaml b/mods/ra/rules/system.yaml index 8da8eb8d56..b66cccdd42 100644 --- a/mods/ra/rules/system.yaml +++ b/mods/ra/rules/system.yaml @@ -38,20 +38,20 @@ Player: Image: warpicon ChargeTime: 2 Description: Chronoshift - LongDesc: Temporarily teleports a vehicle across \nthe map. + LongDesc: Teleport a group of vehicles across\nthe map for 30 seconds. Prerequisites: PDOX SelectTargetSound: slcttgt1.aud BeginChargeSound: chrochr1.aud EndChargeSound: chrordy1.aud - Duration: 2 + Duration: 30 KillCargo: yes IronCurtainPower: Image: infxicon ChargeTime: 2 Description: Invulnerability - LongDesc: Makes a single unit invulnerable for 30 seconds. + LongDesc: Makes a group of units invulnerable\nfor 10 seconds. Prerequisites: IRON - Duration: .5 + Duration: 10 SpyPlanePower: Image: smigicon ChargeTime: 3