Skip to content

Commit

Permalink
more logs
Browse files Browse the repository at this point in the history
  • Loading branch information
wmtorode committed Aug 24, 2022
1 parent e763730 commit 4e7eee6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions MechAffinity/Features/BaseEffectManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ protected void applyStatusEffects(AbstractActor actor, List<EffectData> effects)
actor.Combat.EffectManager.CreateEffect(statusEffect, effectId, -1, actor,actor, new WeaponHitInfo(), 0, false);
break;
case EffectTargetType.AllLanceMates:
Main.modLog.LogMessage($"Found lancemate effect {effectId}, effect ID: {statusEffect.Description.Id}");
actor.Combat.EffectManager.CreateEffect(statusEffect, effectId, -1, actor,actor, new WeaponHitInfo(), 0, false);
List<AbstractActor> lancemates =
spawnedActors.FindAll((x => x.team == actor.team));
foreach (var lancemate in lancemates)
Expand Down

0 comments on commit 4e7eee6

Please sign in to comment.