Merge pull request #6218 from pchote/percentmods
Change attribute modifiers to use integers.
This commit is contained in:
@@ -100,16 +100,21 @@ namespace OpenRA.Traits
|
|||||||
|
|
||||||
public void InflictDamage(Actor self, Actor attacker, int damage, DamageWarhead warhead, bool ignoreModifiers)
|
public void InflictDamage(Actor self, Actor attacker, int damage, DamageWarhead warhead, bool ignoreModifiers)
|
||||||
{
|
{
|
||||||
if (IsDead) return; /* overkill! don't count extra hits as more kills! */
|
// Overkill! don't count extra hits as more kills!
|
||||||
|
if (IsDead)
|
||||||
|
return;
|
||||||
|
|
||||||
var oldState = this.DamageState;
|
var oldState = this.DamageState;
|
||||||
/* apply the damage modifiers, if we have any. */
|
|
||||||
var modifier = self.TraitsImplementing<IDamageModifier>()
|
|
||||||
.Concat(self.Owner.PlayerActor.TraitsImplementing<IDamageModifier>())
|
|
||||||
.Select(t => t.GetDamageModifier(attacker, warhead)).Product();
|
|
||||||
|
|
||||||
if (!ignoreModifiers)
|
// Apply any damage modifiers
|
||||||
damage = damage > 0 ? (int)(damage * modifier) : damage;
|
if (!ignoreModifiers && damage > 0)
|
||||||
|
{
|
||||||
|
var modifiers = self.TraitsImplementing<IDamageModifier>()
|
||||||
|
.Concat(self.Owner.PlayerActor.TraitsImplementing<IDamageModifier>())
|
||||||
|
.Select(t => t.GetDamageModifier(attacker, warhead));
|
||||||
|
|
||||||
|
damage = Util.ApplyPercentageModifiers(damage, modifiers);
|
||||||
|
}
|
||||||
|
|
||||||
hp = Exts.Clamp(hp - damage, 0, MaxHP);
|
hp = Exts.Clamp(hp - damage, 0, MaxHP);
|
||||||
|
|
||||||
|
|||||||
@@ -167,9 +167,9 @@ namespace OpenRA.Traits
|
|||||||
}
|
}
|
||||||
|
|
||||||
public interface IRenderModifier { IEnumerable<IRenderable> ModifyRender(Actor self, WorldRenderer wr, IEnumerable<IRenderable> r); }
|
public interface IRenderModifier { IEnumerable<IRenderable> ModifyRender(Actor self, WorldRenderer wr, IEnumerable<IRenderable> r); }
|
||||||
public interface IDamageModifier { float GetDamageModifier(Actor attacker, DamageWarhead warhead); }
|
public interface IDamageModifier { int GetDamageModifier(Actor attacker, DamageWarhead warhead); }
|
||||||
public interface ISpeedModifier { decimal GetSpeedModifier(); }
|
public interface ISpeedModifier { int GetSpeedModifier(); }
|
||||||
public interface IFirepowerModifier { float GetFirepowerModifier(); }
|
public interface IFirepowerModifier { int GetFirepowerModifier(); }
|
||||||
public interface ILoadsPalettes { void LoadPalettes(WorldRenderer wr); }
|
public interface ILoadsPalettes { void LoadPalettes(WorldRenderer wr); }
|
||||||
public interface IPaletteModifier { void AdjustPalette(IReadOnlyDictionary<string, MutablePalette> b); }
|
public interface IPaletteModifier { void AdjustPalette(IReadOnlyDictionary<string, MutablePalette> b); }
|
||||||
public interface IPips { IEnumerable<PipType> GetPips(Actor self); }
|
public interface IPips { IEnumerable<PipType> GetPips(Actor self); }
|
||||||
|
|||||||
@@ -138,5 +138,15 @@ namespace OpenRA.Traits
|
|||||||
var cells = target.Positions.Select(p => w.Map.CellContaining(p)).Distinct();
|
var cells = target.Positions.Select(p => w.Map.CellContaining(p)).Distinct();
|
||||||
return ExpandFootprint(cells, true);
|
return ExpandFootprint(cells, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static int ApplyPercentageModifiers(int number, IEnumerable<int> percentages)
|
||||||
|
{
|
||||||
|
// See the comments of PR#6079 for a faster algorithm if this becomes a performance bottleneck
|
||||||
|
var a = (decimal)number;
|
||||||
|
foreach (var p in percentages)
|
||||||
|
a *= p / 100m;
|
||||||
|
|
||||||
|
return (int)a;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,8 +48,10 @@ namespace OpenRA.Mods.D2k
|
|||||||
{
|
{
|
||||||
Weapon = wep,
|
Weapon = wep,
|
||||||
Facing = self.World.SharedRandom.Next(-1, 255),
|
Facing = self.World.SharedRandom.Next(-1, 255),
|
||||||
|
|
||||||
|
// TODO: Convert to ints
|
||||||
FirepowerModifier = self.TraitsImplementing<IFirepowerModifier>()
|
FirepowerModifier = self.TraitsImplementing<IFirepowerModifier>()
|
||||||
.Select(a => a.GetFirepowerModifier())
|
.Select(a => a.GetFirepowerModifier() / 100f)
|
||||||
.Product(),
|
.Product(),
|
||||||
|
|
||||||
Source = self.CenterPosition,
|
Source = self.CenterPosition,
|
||||||
|
|||||||
@@ -50,16 +50,17 @@ namespace OpenRA.Mods.RA.Activities
|
|||||||
if (target.Type != TargetType.Actor)
|
if (target.Type != TargetType.Actor)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Invulnerable actors can't be demolished
|
|
||||||
var modifier = (float)target.Actor.TraitsImplementing<IDamageModifier>()
|
|
||||||
.Concat(self.Owner.PlayerActor.TraitsImplementing<IDamageModifier>())
|
|
||||||
.Select(t => t.GetDamageModifier(self, null)).Product();
|
|
||||||
|
|
||||||
var demolishable = target.Actor.TraitOrDefault<IDemolishable>();
|
var demolishable = target.Actor.TraitOrDefault<IDemolishable>();
|
||||||
if (demolishable == null || !demolishable.IsValidTarget(target.Actor, self))
|
if (demolishable == null || !demolishable.IsValidTarget(target.Actor, self))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (modifier > 0)
|
var modifiers = target.Actor.TraitsImplementing<IDamageModifier>()
|
||||||
|
.Concat(self.Owner.PlayerActor.TraitsImplementing<IDamageModifier>())
|
||||||
|
.Select(t => t.GetDamageModifier(self, null));
|
||||||
|
|
||||||
|
if (Util.ApplyPercentageModifiers(100, modifiers) > 0)
|
||||||
demolishable.Demolish(target.Actor, self);
|
demolishable.Demolish(target.Actor, self);
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -203,10 +203,9 @@ namespace OpenRA.Mods.RA.Air
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
decimal ret = info.Speed;
|
var modifiers = self.TraitsImplementing<ISpeedModifier>()
|
||||||
foreach (var t in self.TraitsImplementing<ISpeedModifier>())
|
.Select(m => m.GetSpeedModifier());
|
||||||
ret *= t.GetSpeedModifier();
|
return Util.ApplyPercentageModifiers(info.Speed, modifiers);
|
||||||
return (int)ret;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -153,8 +153,10 @@ namespace OpenRA.Mods.RA
|
|||||||
{
|
{
|
||||||
Weapon = Weapon,
|
Weapon = Weapon,
|
||||||
Facing = legacyFacing,
|
Facing = legacyFacing,
|
||||||
|
|
||||||
|
// TODO: Convert to ints
|
||||||
FirepowerModifier = self.TraitsImplementing<IFirepowerModifier>()
|
FirepowerModifier = self.TraitsImplementing<IFirepowerModifier>()
|
||||||
.Select(a => a.GetFirepowerModifier())
|
.Select(a => a.GetFirepowerModifier() / 100f)
|
||||||
.Product(),
|
.Product(),
|
||||||
|
|
||||||
Source = muzzlePosition,
|
Source = muzzlePosition,
|
||||||
|
|||||||
@@ -23,8 +23,8 @@ namespace OpenRA.Mods.RA
|
|||||||
public int CloseDelay = 125;
|
public int CloseDelay = 125;
|
||||||
public int DefaultFacing = 0;
|
public int DefaultFacing = 0;
|
||||||
|
|
||||||
[Desc("The factor damage received is multiplied by while this actor is closed.")]
|
[Desc("The percentage of damage that is received while this actor is closed.")]
|
||||||
public float ClosedDamageMultiplier = 0.5f;
|
public int ClosedDamageMultiplier = 50;
|
||||||
|
|
||||||
public override object Create(ActorInitializer init) { return new AttackPopupTurreted(init, this); }
|
public override object Create(ActorInitializer init) { return new AttackPopupTurreted(init, this); }
|
||||||
}
|
}
|
||||||
@@ -105,9 +105,9 @@ namespace OpenRA.Mods.RA
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public float GetDamageModifier(Actor attacker, DamageWarhead warhead)
|
public int GetDamageModifier(Actor attacker, DamageWarhead warhead)
|
||||||
{
|
{
|
||||||
return state == PopupState.Closed ? info.ClosedDamageMultiplier : 1f;
|
return state == PopupState.Closed ? info.ClosedDamageMultiplier : 100;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,13 +19,13 @@ namespace OpenRA.Mods.RA
|
|||||||
public class GainsStatUpgradesInfo : ITraitInfo
|
public class GainsStatUpgradesInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
public readonly string FirepowerUpgrade = "firepower";
|
public readonly string FirepowerUpgrade = "firepower";
|
||||||
public readonly float[] FirepowerModifier = { 1.1f, 1.15f, 1.2f, 1.5f };
|
public readonly int[] FirepowerModifier = { 110, 115, 120, 150 };
|
||||||
|
|
||||||
public readonly string ArmorUpgrade = "armor";
|
public readonly string ArmorUpgrade = "armor";
|
||||||
public readonly float[] ArmorModifier = { 1.1f, 1.2f, 1.3f, 1.5f };
|
public readonly int[] ArmorModifier = { 110, 120, 130, 150 };
|
||||||
|
|
||||||
public readonly string SpeedUpgrade = "speed";
|
public readonly string SpeedUpgrade = "speed";
|
||||||
public readonly decimal[] SpeedModifier = { 1.1m, 1.15m, 1.2m, 1.5m };
|
public readonly int[] SpeedModifier = { 110, 115, 120, 150 };
|
||||||
|
|
||||||
public object Create(ActorInitializer init) { return new GainsStatUpgrades(this); }
|
public object Create(ActorInitializer init) { return new GainsStatUpgrades(this); }
|
||||||
}
|
}
|
||||||
@@ -60,19 +60,19 @@ namespace OpenRA.Mods.RA
|
|||||||
speedLevel = (speedLevel + mod).Clamp(0, info.SpeedModifier.Length);
|
speedLevel = (speedLevel + mod).Clamp(0, info.SpeedModifier.Length);
|
||||||
}
|
}
|
||||||
|
|
||||||
public float GetDamageModifier(Actor attacker, DamageWarhead warhead)
|
public int GetDamageModifier(Actor attacker, DamageWarhead warhead)
|
||||||
{
|
{
|
||||||
return armorLevel > 0 ? 1 / info.ArmorModifier[armorLevel - 1] : 1;
|
return armorLevel > 0 ? 1 / info.ArmorModifier[armorLevel - 1] : 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
public float GetFirepowerModifier()
|
public int GetFirepowerModifier()
|
||||||
{
|
{
|
||||||
return firepowerLevel > 0 ? info.FirepowerModifier[firepowerLevel - 1] : 1;
|
return firepowerLevel > 0 ? info.FirepowerModifier[firepowerLevel - 1] : 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
public decimal GetSpeedModifier()
|
public int GetSpeedModifier()
|
||||||
{
|
{
|
||||||
return speedLevel > 0 ? info.SpeedModifier[speedLevel - 1] : 1m;
|
return speedLevel > 0 ? info.SpeedModifier[speedLevel - 1] : 100;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -31,8 +31,8 @@ namespace OpenRA.Mods.RA
|
|||||||
public readonly int HarvestFacings = 0;
|
public readonly int HarvestFacings = 0;
|
||||||
[Desc("Which resources it can harvest.")]
|
[Desc("Which resources it can harvest.")]
|
||||||
public readonly string[] Resources = { };
|
public readonly string[] Resources = { };
|
||||||
[Desc("How much it is slowed down when returning to the refinery.")]
|
[Desc("Percentage of maximum speed when fully loaded.")]
|
||||||
public readonly decimal FullyLoadedSpeed = .85m;
|
public readonly int FullyLoadedSpeed = 85;
|
||||||
[Desc("Initial search radius (in cells) from the refinery that created us.")]
|
[Desc("Initial search radius (in cells) from the refinery that created us.")]
|
||||||
public readonly int SearchFromProcRadius = 24;
|
public readonly int SearchFromProcRadius = 24;
|
||||||
[Desc("Search radius (in cells) from the last harvest order location to find more resources.")]
|
[Desc("Search radius (in cells) from the last harvest order location to find more resources.")]
|
||||||
@@ -418,9 +418,9 @@ namespace OpenRA.Mods.RA
|
|||||||
|
|
||||||
public bool ShouldExplode(Actor self) { return !IsEmpty; }
|
public bool ShouldExplode(Actor self) { return !IsEmpty; }
|
||||||
|
|
||||||
public decimal GetSpeedModifier()
|
public int GetSpeedModifier()
|
||||||
{
|
{
|
||||||
return 1m - (1m - Info.FullyLoadedSpeed) * contents.Values.Sum() / Info.Capacity;
|
return 100 - (100 - Info.FullyLoadedSpeed) * contents.Values.Sum() / Info.Capacity;
|
||||||
}
|
}
|
||||||
|
|
||||||
class HarvestOrderTargeter : IOrderTargeter
|
class HarvestOrderTargeter : IOrderTargeter
|
||||||
|
|||||||
@@ -18,6 +18,6 @@ namespace OpenRA.Mods.RA
|
|||||||
|
|
||||||
class Invulnerable : IDamageModifier
|
class Invulnerable : IDamageModifier
|
||||||
{
|
{
|
||||||
public float GetDamageModifier(Actor attacker, DamageWarhead warhead) { return 0.0f; }
|
public int GetDamageModifier(Actor attacker, DamageWarhead warhead) { return 0; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,9 +28,9 @@ namespace OpenRA.Mods.RA
|
|||||||
RemainingTicks--;
|
RemainingTicks--;
|
||||||
}
|
}
|
||||||
|
|
||||||
public float GetDamageModifier(Actor attacker, DamageWarhead warhead)
|
public int GetDamageModifier(Actor attacker, DamageWarhead warhead)
|
||||||
{
|
{
|
||||||
return (RemainingTicks > 0) ? 0.0f : 1.0f;
|
return RemainingTicks > 0 ? 0 : 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void Activate(Actor self, int duration)
|
public void Activate(Actor self, int duration)
|
||||||
|
|||||||
@@ -487,13 +487,15 @@ namespace OpenRA.Mods.RA.Move
|
|||||||
if (index == -1)
|
if (index == -1)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
// TODO: Convert to integers
|
||||||
var speed = Info.TilesetTerrainInfo[self.World.TileSet][index].Speed;
|
var speed = Info.TilesetTerrainInfo[self.World.TileSet][index].Speed;
|
||||||
if (speed == decimal.Zero)
|
if (speed == decimal.Zero)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
speed *= Info.Speed;
|
speed *= Info.Speed;
|
||||||
foreach (var t in self.TraitsImplementing<ISpeedModifier>())
|
foreach (var t in self.TraitsImplementing<ISpeedModifier>())
|
||||||
speed *= t.GetSpeedModifier();
|
speed *= t.GetSpeedModifier() / 100m;
|
||||||
|
|
||||||
return (int)(speed / 100);
|
return (int)(speed / 100);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace OpenRA.Mods.RA
|
|||||||
class ScaredyCatInfo : ITraitInfo
|
class ScaredyCatInfo : ITraitInfo
|
||||||
{
|
{
|
||||||
public readonly int PanicLength = 25 * 10;
|
public readonly int PanicLength = 25 * 10;
|
||||||
public readonly decimal PanicSpeedModifier = 2;
|
public readonly int PanicSpeedModifier = 200;
|
||||||
public readonly int AttackPanicChance = 20;
|
public readonly int AttackPanicChance = 20;
|
||||||
|
|
||||||
public object Create(ActorInitializer init) { return new ScaredyCat(init.self, this); }
|
public object Create(ActorInitializer init) { return new ScaredyCat(init.self, this); }
|
||||||
@@ -74,9 +74,9 @@ namespace OpenRA.Mods.RA
|
|||||||
Panic();
|
Panic();
|
||||||
}
|
}
|
||||||
|
|
||||||
public decimal GetSpeedModifier()
|
public int GetSpeedModifier()
|
||||||
{
|
{
|
||||||
return Panicking ? Info.PanicSpeedModifier : 1;
|
return Panicking ? Info.PanicSpeedModifier : 100;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ namespace OpenRA.Mods.RA
|
|||||||
{
|
{
|
||||||
public bool Invulnerable = false;
|
public bool Invulnerable = false;
|
||||||
|
|
||||||
public float GetDamageModifier(Actor attacker, DamageWarhead warhead)
|
public int GetDamageModifier(Actor attacker, DamageWarhead warhead)
|
||||||
{
|
{
|
||||||
return Invulnerable ? 0.0f : 1.0f;
|
return Invulnerable ? 0 : 100;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,8 +21,8 @@ namespace OpenRA.Mods.RA
|
|||||||
"Measured in game ticks. Default is 4 seconds.")]
|
"Measured in game ticks. Default is 4 seconds.")]
|
||||||
public readonly int ProneTime = 100;
|
public readonly int ProneTime = 100;
|
||||||
|
|
||||||
[Desc("How quickly we should go from standing to prone.")]
|
[Desc("Prone movement speed as a percentage of the normal speed.")]
|
||||||
public readonly decimal ProneSpeed = .5m;
|
public readonly int SpeedModifier = 50;
|
||||||
|
|
||||||
public readonly WVec ProneOffset = new WVec(85, 0, -171);
|
public readonly WVec ProneOffset = new WVec(85, 0, -171);
|
||||||
|
|
||||||
@@ -61,14 +61,14 @@ namespace OpenRA.Mods.RA
|
|||||||
LocalOffset = WVec.Zero;
|
LocalOffset = WVec.Zero;
|
||||||
}
|
}
|
||||||
|
|
||||||
public float GetDamageModifier(Actor attacker, DamageWarhead warhead)
|
public int GetDamageModifier(Actor attacker, DamageWarhead warhead)
|
||||||
{
|
{
|
||||||
return IsProne && warhead != null ? warhead.ProneModifier / 100f : 1f;
|
return IsProne && warhead != null ? warhead.ProneModifier : 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
public decimal GetSpeedModifier()
|
public int GetSpeedModifier()
|
||||||
{
|
{
|
||||||
return IsProne ? Info.ProneSpeed : 1m;
|
return IsProne ? Info.SpeedModifier : 100;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,12 @@ namespace OpenRA.Utility
|
|||||||
input = "{0}c{1}".F(cells, subcells);
|
input = "{0}c{1}".F(cells, subcells);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void ConvertFloatArrayToPercentArray(ref string input)
|
||||||
|
{
|
||||||
|
input = string.Join(", ", input.Split(',')
|
||||||
|
.Select(s => ((int)(float.Parse(s) * 100)).ToString()));
|
||||||
|
}
|
||||||
|
|
||||||
static void ConvertPxToRange(ref string input)
|
static void ConvertPxToRange(ref string input)
|
||||||
{
|
{
|
||||||
ConvertPxToRange(ref input, 1, 1);
|
ConvertPxToRange(ref input, 1, 1);
|
||||||
@@ -402,6 +408,34 @@ namespace OpenRA.Utility
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Modifiers were changed to integer percentages
|
||||||
|
if (engineVersion < 20140812)
|
||||||
|
{
|
||||||
|
if (depth == 2 && node.Key == "ClosedDamageMultiplier" && parentKey == "AttackPopupTurreted")
|
||||||
|
ConvertFloatArrayToPercentArray(ref node.Value.Value);
|
||||||
|
|
||||||
|
if (depth == 2 && node.Key == "ArmorModifier" && parentKey == "GainsStatUpgrades")
|
||||||
|
ConvertFloatArrayToPercentArray(ref node.Value.Value);
|
||||||
|
|
||||||
|
if (depth == 2 && node.Key == "FullyLoadedSpeed" && parentKey == "Harvester")
|
||||||
|
ConvertFloatArrayToPercentArray(ref node.Value.Value);
|
||||||
|
|
||||||
|
if (depth == 2 && node.Key == "PanicSpeedModifier" && parentKey == "ScaredyCat")
|
||||||
|
ConvertFloatArrayToPercentArray(ref node.Value.Value);
|
||||||
|
|
||||||
|
if (depth == 2 && node.Key == "ProneSpeed" && parentKey == "TakeCover")
|
||||||
|
{
|
||||||
|
node.Key = "SpeedModifier";
|
||||||
|
ConvertFloatArrayToPercentArray(ref node.Value.Value);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (depth == 2 && node.Key == "SpeedModifier" && parentKey == "GainsStatUpgrades")
|
||||||
|
ConvertFloatArrayToPercentArray(ref node.Value.Value);
|
||||||
|
|
||||||
|
if (depth == 2 && node.Key == "FirepowerModifier" && parentKey == "GainsStatUpgrades")
|
||||||
|
ConvertFloatArrayToPercentArray(ref node.Value.Value);
|
||||||
|
}
|
||||||
|
|
||||||
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
|
UpgradeActorRules(engineVersion, ref node.Value.Nodes, node, depth + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -151,7 +151,7 @@
|
|||||||
TargetableUnit:
|
TargetableUnit:
|
||||||
TargetTypes: Ground, Infantry
|
TargetTypes: Ground, Infantry
|
||||||
TakeCover:
|
TakeCover:
|
||||||
ProneSpeed: 0.6
|
SpeedModifier: 60
|
||||||
RenderInfantryProne:
|
RenderInfantryProne:
|
||||||
AttackMove:
|
AttackMove:
|
||||||
Passenger:
|
Passenger:
|
||||||
|
|||||||
@@ -117,9 +117,9 @@
|
|||||||
500: firepower, armor, speed
|
500: firepower, armor, speed
|
||||||
1000: firepower, armor, speed
|
1000: firepower, armor, speed
|
||||||
GainsStatUpgrades:
|
GainsStatUpgrades:
|
||||||
FirepowerModifier: 1.2, 1.5
|
FirepowerModifier: 120, 150
|
||||||
ArmorModifier: 1.2, 1.5
|
ArmorModifier: 120, 150
|
||||||
SpeedModifier: 1.2, 1.5
|
SpeedModifier: 120, 150
|
||||||
GivesExperience:
|
GivesExperience:
|
||||||
DrawLineToTarget:
|
DrawLineToTarget:
|
||||||
ActorLostNotification:
|
ActorLostNotification:
|
||||||
@@ -206,9 +206,9 @@
|
|||||||
500: firepower, armor, speed
|
500: firepower, armor, speed
|
||||||
1000: firepower, armor, speed
|
1000: firepower, armor, speed
|
||||||
GainsStatUpgrades:
|
GainsStatUpgrades:
|
||||||
FirepowerModifier: 1.2, 1.5
|
FirepowerModifier: 120, 150
|
||||||
ArmorModifier: 1.2, 1.5
|
ArmorModifier: 120, 150
|
||||||
SpeedModifier: 1.2, 1.5
|
SpeedModifier: 120, 150
|
||||||
GivesExperience:
|
GivesExperience:
|
||||||
DrawLineToTarget:
|
DrawLineToTarget:
|
||||||
ActorLostNotification:
|
ActorLostNotification:
|
||||||
@@ -258,9 +258,9 @@
|
|||||||
500: firepower, armor, speed
|
500: firepower, armor, speed
|
||||||
1000: firepower, armor, speed
|
1000: firepower, armor, speed
|
||||||
GainsStatUpgrades:
|
GainsStatUpgrades:
|
||||||
FirepowerModifier: 1.2, 1.5
|
FirepowerModifier: 120, 150
|
||||||
ArmorModifier: 1.2, 1.5
|
ArmorModifier: 120, 150
|
||||||
SpeedModifier: 1.2, 1.5
|
SpeedModifier: 120, 150
|
||||||
GivesExperience:
|
GivesExperience:
|
||||||
DrawLineToTarget:
|
DrawLineToTarget:
|
||||||
ActorLostNotification:
|
ActorLostNotification:
|
||||||
@@ -304,9 +304,9 @@
|
|||||||
500: firepower, armor, speed
|
500: firepower, armor, speed
|
||||||
1000: firepower, armor, speed
|
1000: firepower, armor, speed
|
||||||
GainsStatUpgrades:
|
GainsStatUpgrades:
|
||||||
FirepowerModifier: 1.2, 1.5
|
FirepowerModifier: 120, 150
|
||||||
ArmorModifier: 1.2, 1.5
|
ArmorModifier: 120, 150
|
||||||
SpeedModifier: 1.2, 1.5
|
SpeedModifier: 120, 150
|
||||||
GivesExperience:
|
GivesExperience:
|
||||||
DrawLineToTarget:
|
DrawLineToTarget:
|
||||||
ActorLostNotification:
|
ActorLostNotification:
|
||||||
|
|||||||
Reference in New Issue
Block a user