File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ public class Card_AttachAbilities_NewSpecialAbilities
1313 public static bool Prefix ( CardInfo info , Card __instance )
1414 {
1515 Plugin . Log . LogDebug (
16- $ "Called Card.AttachAbilities with [{ info . name } ] has [{ info . specialAbilities . Count } ] special abilities") ;
16+ $ "Called Card.AttachAbilities with [{ info . name } ] has [{ info . SpecialAbilities . Count } ] special abilities") ;
1717
1818 // if the card's special triggered ability exists in the NewSpecialAbility list,
1919 // then we loop to assign to the game object.
2020 // if the ability does not exist, return true running the original code
2121 if ( NewSpecialAbility . specialAbilities . Exists ( ability =>
22- info . specialAbilities . Contains ( ability . specialTriggeredAbility ) ) )
22+ info . SpecialAbilities . Contains ( ability . specialTriggeredAbility ) ) )
2323 {
24- foreach ( var type in info . specialAbilities
24+ foreach ( var type in info . SpecialAbilities
2525 . Select ( specialTriggeredAbility => NewSpecialAbility . specialAbilities
2626 . Find ( x => x . specialTriggeredAbility == specialTriggeredAbility ) )
2727 . Select ( newAbility => newAbility . abilityBehaviour ) )
You can’t perform that action at this time.
0 commit comments