Files
OpenRA/OpenRA.Game/Traits/World/GlobalDefaults.cs
Paul Chote 6fba888d45 Shift Actor.Health onto a trait.
Known regressions:
 - cnc only
 - health bar colors
 - can't repair buildings
2010-07-30 00:33:44 +12:00

26 lines
724 B
C#

#region Copyright & License Information
/*
* Copyright 2007-2010 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation. For more information,
* see LICENSE.
*/
#endregion
// THIS STUFF NEEDS TO GO DIE IN A FIRE.
namespace OpenRA.Traits
{
public class GlobalDefaultsInfo : TraitInfo<GlobalDefaults>
{
/* Repair & Refit */
public readonly float RefundPercent = 0.5f;
public readonly float RepairPercent = 0.2f;
public readonly float RepairRate = 0.016f;
public readonly int RepairStep = 7;
}
public class GlobalDefaults {}
}