diff --git a/OpenRA.Mods.RA/AttackTesla.cs b/OpenRA.Mods.RA/AttackTesla.cs index 96c4ca40a2..f4b5d21ce6 100644 --- a/OpenRA.Mods.RA/AttackTesla.cs +++ b/OpenRA.Mods.RA/AttackTesla.cs @@ -17,6 +17,7 @@ namespace OpenRA.Mods.RA class AttackTeslaInfo : AttackOmniInfo { public readonly int MaxCharges = 3; + public readonly int ReloadTime = 120; public override object Create(ActorInitializer init) { return new AttackTesla(init.self); } } @@ -62,7 +63,7 @@ namespace OpenRA.Mods.RA foreach (var w in Weapons) w.FireDelay = 8; - timeToRecharge = Weapons[0].Info.ROF; + timeToRecharge = self.Info.Traits.Get().ReloadTime; --charges; if (target.Actor != previousTarget) diff --git a/mods/ra/rules/structures.yaml b/mods/ra/rules/structures.yaml index 99f91b5a45..4afd4bea25 100755 --- a/mods/ra/rules/structures.yaml +++ b/mods/ra/rules/structures.yaml @@ -254,6 +254,7 @@ TSLA: AttackTesla: PrimaryWeapon: TeslaZap FireDelay: 8 + ReloadTime: 120 AutoTarget: IronCurtainable: -RenderBuilding: diff --git a/mods/ra/weapons.yaml b/mods/ra/weapons.yaml index e6be96a23d..ccc3c5f594 100644 --- a/mods/ra/weapons.yaml +++ b/mods/ra/weapons.yaml @@ -593,7 +593,7 @@ CrateNuke: TeslaZap: - ROF: 120 + ROF: 3 Charges: true Range: 8.5 Report: TESLA1