Skip to content

Commit

Permalink
Fix Ice Wraiths receiving the ghostly perk when they shouldn't
Browse files Browse the repository at this point in the history
  • Loading branch information
tr4wzified committed Feb 21, 2021
1 parent d0dac10 commit fe0f4c0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions KnowYourEnemyMutagen/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,11 @@ private static void RunPatch(SynthesisState<ISkyrimMod, ISkyrimModGetter> state)
}
}

// If Ice Wraith add ghostly
// If Ice Wraith remove ghostly
if (npc.Name != null && npc.Name.ToString() == "Ice Wraith")
{
if (!traits.Contains("ghostly"))
traits.Add("ghostly");
if (traits.Contains("ghostly"))
traits.Remove("ghostly");
}

// Add perks
Expand Down

0 comments on commit fe0f4c0

Please sign in to comment.