Forgot to add AftermathInfo.cs to last commit

This commit is contained in:
pchote
2009-12-18 16:51:55 -08:00
parent 6091cd1259
commit 0c6a4c4d2a
2 changed files with 15 additions and 1 deletions

View 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;
}
}

View File

@@ -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;
} }