Merge pull request #5941 from reaperrr/spread-upgrade

Added MaxSpread for more control over maximum area of damage
This commit is contained in:
Matthias Mailänder
2014-07-24 22:18:03 +02:00
3 changed files with 18 additions and 3 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;