diff --git a/ShrapnelDamageV2/Data/Scripts/shrapnel/Core.cs b/ShrapnelDamageV2/Data/Scripts/shrapnel/Core.cs index 446aacf..3529ed2 100644 --- a/ShrapnelDamageV2/Data/Scripts/shrapnel/Core.cs +++ b/ShrapnelDamageV2/Data/Scripts/shrapnel/Core.cs @@ -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; @@ -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;