Add MaxSpread to Warhead to allow setting a specific area of effect.

This commit is contained in:
reaperrr
2014-07-11 21:35:04 +02:00
parent a03d607878
commit eb96b72878
2 changed files with 6 additions and 1 deletions

View File

@@ -19,6 +19,8 @@ namespace OpenRA.GameRules
{
[Desc("Distance from the explosion center at which damage is 1/2.")]
public readonly WRange Spread = new WRange(43);
[Desc("Maximum Spread. If a value >= Spread is set, this sets a fixed maximum area of damage.")]
public readonly WRange MaxSpread = new WRange(0);
[FieldLoader.LoadUsing("LoadVersus")]
[Desc("Damage vs each armortype. 0% = can't target.")]
public readonly Dictionary<string, float> Versus;