Style cleanup
This commit is contained in:
@@ -18,7 +18,7 @@ public class DoomDesireEffect : Script
|
||||
Turns = 3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private readonly IBattleSide? _side;
|
||||
private List<Target> _targets = new();
|
||||
|
||||
@@ -26,12 +26,12 @@ public class DoomDesireEffect : Script
|
||||
{
|
||||
_side = side;
|
||||
}
|
||||
|
||||
|
||||
public void AddTarget(byte position, uint damage)
|
||||
{
|
||||
_targets.Add(new Target(position, damage));
|
||||
}
|
||||
|
||||
|
||||
public bool HasTarget(byte position)
|
||||
{
|
||||
return _targets.Exists(x => x.Position == position);
|
||||
@@ -42,7 +42,7 @@ public class DoomDesireEffect : Script
|
||||
{
|
||||
if (_side == null)
|
||||
return;
|
||||
|
||||
|
||||
var toRemove = new List<Target>();
|
||||
foreach (var v in _targets)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user