Electric anomaly rework (#23173)
* add content * remove using * update * Update ElectricityAnomalyComponent.cs * 2-5 lightnings * tweaks * remove tesla comment (sorry)
This commit is contained in:
@@ -75,7 +75,6 @@ public sealed class LightningSystem : SharedLightningSystem
|
||||
var targets = _lookup.GetComponentsInRange<LightningTargetComponent>(Transform(user).MapPosition, range).ToList();
|
||||
_random.Shuffle(targets);
|
||||
targets.Sort((x, y) => y.Priority.CompareTo(x.Priority));
|
||||
//var realCount = Math.Min(targets.Count, boltCount);
|
||||
|
||||
int shootedCount = 0;
|
||||
int count = -1;
|
||||
|
||||
Reference in New Issue
Block a user