Forgot to add AftermathInfo.cs to last commit
This commit is contained in:
14
OpenRa.Game/GameRules/AftermathInfo.cs
Normal file
14
OpenRa.Game/GameRules/AftermathInfo.cs
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
|
||||||
|
namespace OpenRa.Game.GameRules
|
||||||
|
{
|
||||||
|
class AftermathInfo
|
||||||
|
{
|
||||||
|
public readonly int MTankDistance;
|
||||||
|
public readonly float QuakeUnitDamage;
|
||||||
|
public readonly float QuakeBuildingDamage;
|
||||||
|
public readonly float QuakeInfantryDamage;
|
||||||
|
public readonly int QuakeDelay;
|
||||||
|
public readonly int CarrierLaunchDelay;
|
||||||
|
public readonly int ChronoTankDuration;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -39,7 +39,7 @@ namespace OpenRa.Game.Traits
|
|||||||
if (order.OrderString == "UsePortableChronoshift" && CanEnterCell(order.TargetLocation, self))
|
if (order.OrderString == "UsePortableChronoshift" && CanEnterCell(order.TargetLocation, self))
|
||||||
{
|
{
|
||||||
self.QueueActivity(new Activities.Teleport(order.TargetLocation));
|
self.QueueActivity(new Activities.Teleport(order.TargetLocation));
|
||||||
// Sound.Play("chrotnk1.aud");
|
Sound.Play("chrotnk1.aud");
|
||||||
chronoshiftActive = false;
|
chronoshiftActive = false;
|
||||||
remainingChargeTime = chargeTime;
|
remainingChargeTime = chargeTime;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user