Skip to content

Commit

Permalink
fix: reduce repair bot cooldown to 1 sec
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelZinchenko committed Dec 9, 2023
1 parent cb11728 commit 103f2d8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public ISystem Create(IDeviceData deviceData, IShip ship, IShipSpecification shi

var repairRate = stats.Power * ship.Stats.Armor.MaxValue / 100;
var hitPoints = ship.Stats.HitPointsMultiplier * stats.Size;
var trigger = new RepairBotAction(ship, device, _satelliteFactory, repairRate, stats.Size, stats.Range, hitPoints, stats.Cooldown,
var trigger = new RepairBotAction(ship, device, _satelliteFactory, repairRate, stats.Size, stats.Range, hitPoints, stats.Lifetime,
stats.Color, stats.Sound);

device.AddTrigger(trigger);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"Power": 10.0,
"Range": 1.5,
"Size": 0.5,
"Cooldown": 15.0,
"Cooldown": 1.0,
"Lifetime": 15.0,
"ActivationType": 1,
"Color": "#C07FDBDB",
"Sound": "*flux_01",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"Power": 5.0,
"Range": 1.0,
"Size": 0.4,
"Cooldown": 10.0,
"Cooldown": 1.0,
"Lifetime": 10.0,
"ActivationType": 1,
"Color": "#C06EDB4E",
"Sound": "*flux_01",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"Power": 20.0,
"Range": 1.5,
"Size": 1.0,
"Cooldown": 20.0,
"Cooldown": 1.0,
"Lifetime": 20.0,
"ActivationType": 1,
"Color": "#C07FDBDB",
"Sound": "*flux_01",
Expand Down

0 comments on commit 103f2d8

Please sign in to comment.