Changed: Renamed UnitStanceGuard => UnitStanceHoldGround
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
<Compile Include="UnitStances\AssignUnitStance.cs" />
|
||||
<Compile Include="UnitStances\UnitStanceHoldFire.cs" />
|
||||
<Compile Include="UnitStances\UnitStanceReturnFire.cs" />
|
||||
<Compile Include="UnitStances\UnitStanceGuard.cs" />
|
||||
<Compile Include="UnitStances\UnitStanceHoldGround.cs" />
|
||||
<Compile Include="Valued.cs" />
|
||||
<Compile Include="Combat.cs" />
|
||||
<Compile Include="Player\SurrenderOnDisconnect.cs" />
|
||||
|
||||
@@ -5,14 +5,14 @@ using OpenRA.Traits;
|
||||
|
||||
namespace OpenRA.Mods.RA
|
||||
{
|
||||
public class UnitStanceGuardInfo : UnitStanceInfo
|
||||
public class UnitStanceHoldGroundInfo : UnitStanceInfo
|
||||
{
|
||||
public override object Create(ActorInitializer init) { return new UnitStanceGuard(init.self, this); }
|
||||
public override object Create(ActorInitializer init) { return new UnitStanceHoldGround(init.self, this); }
|
||||
}
|
||||
|
||||
public class UnitStanceGuard : UnitStance, INotifyDamage, ISelectionColorModifier
|
||||
public class UnitStanceHoldGround : UnitStance, INotifyDamage
|
||||
{
|
||||
public UnitStanceGuard(Actor self, UnitStanceGuardInfo info)
|
||||
public UnitStanceHoldGround(Actor self, UnitStanceHoldGroundInfo info)
|
||||
: base(self, info)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
public override string OrderString
|
||||
{
|
||||
get { return "StanceGuard"; }
|
||||
get { return "StanceHoldGround"; }
|
||||
}
|
||||
|
||||
protected override void OnScan(Actor self)
|
||||
@@ -13,7 +13,7 @@ namespace OpenRA.Mods.RA.Widgets
|
||||
public World World { get { return OrderManager.world; } }
|
||||
|
||||
public char AttackMoveKey = 'a';
|
||||
public char GuardKey = 'g'; // (G)uard
|
||||
public char HoldGroundKey = 'g'; // Hold (G)round
|
||||
// public char DefensiveKey = 'd'; // (D)efensive
|
||||
public char AggressiveKey = 'a'; // (A)ggressive
|
||||
public char ReturnFireKey = 'r'; // (R)eturn Fire
|
||||
@@ -53,9 +53,9 @@ namespace OpenRA.Mods.RA.Widgets
|
||||
}
|
||||
|
||||
// command: GuardStance
|
||||
if (e.KeyChar == GuardKey && (e.Modifiers.HasModifier(Modifiers.Alt)))
|
||||
if (e.KeyChar == HoldGroundKey && (e.Modifiers.HasModifier(Modifiers.Alt)))
|
||||
{
|
||||
return EnableStance<UnitStanceGuard>();
|
||||
return EnableStance<UnitStanceHoldGround>();
|
||||
}
|
||||
|
||||
// command: AggressiveStance
|
||||
|
||||
Reference in New Issue
Block a user