From 95243a1f0685c0074f5a7e21374b4466455583e6 Mon Sep 17 00:00:00 2001 From: WhistleWind <69230920+HumabHatterZed@users.noreply.github.com> Date: Fri, 27 Nov 2026 15:27:50 -0800 Subject: [PATCH] Fix AllStrike being funky in some edge cases - now always gets the opposing slot instead of the left-most slot (this will not affect how giants attack due to how giants are handled) --- .../Card/Vanilla Ability Patches/AllStrikeAbilityFix.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/InscryptionCommunityPatch/Card/Vanilla Ability Patches/AllStrikeAbilityFix.cs b/InscryptionCommunityPatch/Card/Vanilla Ability Patches/AllStrikeAbilityFix.cs index 83b8668d7..6b27c3c79 100644 --- a/InscryptionCommunityPatch/Card/Vanilla Ability Patches/AllStrikeAbilityFix.cs +++ b/InscryptionCommunityPatch/Card/Vanilla Ability Patches/AllStrikeAbilityFix.cs @@ -48,7 +48,8 @@ public static void AllStrikeDirectAttackFix(List list, List { // 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); + } } } \ No newline at end of file