Merge pull request #6079 from reaperrr/rof-modifier

Adds ReloadDelay modifier & renames ROF to ReloadDelay
This commit is contained in:
obrakmann
2014-08-21 00:27:39 +02:00
19 changed files with 218 additions and 190 deletions

View File

@@ -37,8 +37,8 @@ namespace OpenRA.GameRules
[Desc("The sound played when the weapon is fired.")]
public readonly string[] Report = null;
[Desc("Rate of Fire = Delay in ticks between reloading ammo magazines.")]
public readonly int ROF = 1;
[Desc("Delay in ticks between reloading ammo magazines.")]
public readonly int ReloadDelay = 1;
[Desc("Number of shots in a single ammo magazine.")]
public readonly int Burst = 1;

View File

@@ -170,6 +170,7 @@ namespace OpenRA.Traits
public interface IDamageModifier { int GetDamageModifier(Actor attacker, DamageWarhead warhead); }
public interface ISpeedModifier { int GetSpeedModifier(); }
public interface IFirepowerModifier { int GetFirepowerModifier(); }
public interface IReloadModifier { int GetReloadModifier(); }
public interface ILoadsPalettes { void LoadPalettes(WorldRenderer wr); }
public interface IPaletteModifier { void AdjustPalette(IReadOnlyDictionary<string, MutablePalette> b); }
public interface IPips { IEnumerable<PipType> GetPips(Actor self); }