Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
BuckAMayzing committed Jun 2, 2023
1 parent f8fca2c commit 2daea8b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ToyBox/classes/Infrastructure/CasterHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ public static void HandleAddAllSpellsOnPartyEditor(UnitDescriptor unit) {
#if Wrath
public static int GetActualSpellsLearnedForClass(UnitDescriptor unit, Spellbook spellbook, int level) {
Mod.Trace($"GetActualSpellsLearnedForClass - unit: {unit?.CharacterName} spellbook: {spellbook?.Blueprint.DisplayName} level:{level}");

// Get all +spells known facts for this spellbook's class so we can ignore them when getting spell counts
var spellsToIgnore = unit.Facts.List.SelectMany(x =>
x.BlueprintComponents.Where(y => y is AddKnownSpell)).Select(z => z as AddKnownSpell)
Expand Down

0 comments on commit 2daea8b

Please sign in to comment.