Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauge committed Jul 24, 2024
1 parent 12dd4a2 commit 55a168b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ShrapnelDamageV2/Data/Scripts/shrapnel/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public void ProcessDamage(object target, ref MyDamageInformation info)

if (info.Type == MyDamageType.Weapon || info.Type == MyDamageType.Bullet || info.Type == MyDamageType.Rocket)
{
if (slim.Integrity <= info.Amount) return;
//if (slim.Integrity >= info.Amount) return;

float overkill = info.Amount - slim.Integrity;
info.Amount = slim.Integrity;
Expand Down Expand Up @@ -61,7 +61,7 @@ public override void UpdateBeforeSimulation()
ShrapnelData data = queue.Dequeue();
float count = 1f / (float)data.Neighbours.Count;

//MyLog.Default.Info($"queue: {queue.Count} - overkill: {data.OverKill}, spread: {data.OverKill * count}");
MyLog.Default.Info($"queue: {queue.Count} - overkill: {data.OverKill}, spread: {data.OverKill * count}");
foreach (IMySlimBlock neighbour in data.Neighbours)
{
if (neighbour == null) continue;
Expand Down

0 comments on commit 55a168b

Please sign in to comment.