rename BuildSpeedModifier back to BuildSpeed

This commit is contained in:
Chris Forbes
2013-07-10 16:34:43 +12:00
parent 7b3c322b13
commit 401ffaff17
3 changed files with 4 additions and 4 deletions

View File

@@ -99,7 +99,7 @@ namespace OpenRA.Mods.RA
if (self.World.LobbyInfo.GlobalSettings.AllowCheats && self.Owner.PlayerActor.Trait<DeveloperMode>().FastBuild)
return 0;
var time = (int)(unit.GetBuildTime() * Info.BuildSpeedModifier);
var time = (int)(unit.GetBuildTime() * Info.BuildSpeed);
if (Info.SpeedUp)
{

View File

@@ -28,7 +28,7 @@ namespace OpenRA.Mods.RA
public readonly string Group = null;
[Desc("This value is used to translate the unit cost into build time.")]
public float BuildSpeedModifier = 0.4f;
public float BuildSpeed = 0.4f;
[Desc("The build time is multiplied with this value on low power.")]
public readonly int LowPowerSlowdown = 3;
@@ -281,7 +281,7 @@ namespace OpenRA.Mods.RA
if (self.World.LobbyInfo.GlobalSettings.AllowCheats && self.Owner.PlayerActor.Trait<DeveloperMode>().FastBuild)
return 0;
var time = unit.GetBuildTime() * Info.BuildSpeedModifier;
var time = unit.GetBuildTime() * Info.BuildSpeed;
return (int) time;
}

View File

@@ -22,7 +22,7 @@ Player:
BlockedAudio: NoRoom
ClassicProductionQueue@Starport:
Type: Starport
BuildSpeedModifier: .2
BuildSpeed: .2
LowPowerSlowdown: 1
BlockedAudio: NoRoom
QueuedAudio: OrderPlaced