Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ public static void AllStrikeDirectAttackFix(List<CardSlot> list, List<CardSlot>
{
// for whatever reason the transpiler breaks the if-else statement so we need to put this if-statement here
// if this card isn't a giant add opposingSlot, otherwise add slot 0
if (!list2.Exists((CardSlot x) => x.Card != null && !__instance.CanAttackDirectly(x)))
list.Add(__instance.LacksTrait(Trait.Giant) ? __instance.Slot.opposingSlot : list2[0]);
if (!list2.Exists((CardSlot x) => x.Card != null && !__instance.CanAttackDirectly(x))) {
list.Add(__instance.Slot.opposingSlot);
}
}
}
Loading