EX10_059.cs 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using UnityEngine.Analytics;
  6. // DarknessBagramon
  7. namespace DCGO.CardEffects.EX10
  8. {
  9. public class EX10_059 : CEntity_Effect
  10. {
  11. public override List<ICardEffect> CardEffects(EffectTiming timing, CardSource card)
  12. {
  13. List<ICardEffect> cardEffects = new List<ICardEffect>();
  14. #region DigiXros
  15. if (timing == EffectTiming.None)
  16. {
  17. AddDigiXrosConditionClass addDigiXrosConditionClass = new AddDigiXrosConditionClass();
  18. addDigiXrosConditionClass.SetUpICardEffect($"DigiXros -3", _ => true, card);
  19. addDigiXrosConditionClass.SetUpAddDigiXrosConditionClass(getDigiXrosCondition: GetDigiXros);
  20. addDigiXrosConditionClass.SetNotShowUI(true);
  21. cardEffects.Add(addDigiXrosConditionClass);
  22. DigiXrosCondition GetDigiXros(CardSource cardSource)
  23. {
  24. if (cardSource == card)
  25. {
  26. DigiXrosConditionElement elementAgunimon =
  27. new DigiXrosConditionElement(CanSelectCardConditionBagramon, "Bagramon");
  28. bool CanSelectCardConditionBagramon(CardSource conditionCardSource)
  29. {
  30. if (conditionCardSource != null)
  31. {
  32. if (conditionCardSource.Owner == card.Owner)
  33. {
  34. if (conditionCardSource.IsDigimon)
  35. {
  36. if (conditionCardSource.CardNames_DigiXros.Contains("Bagramon"))
  37. {
  38. return true;
  39. }
  40. }
  41. }
  42. }
  43. return false;
  44. }
  45. DigiXrosConditionElement elementBurningGreymon =
  46. new DigiXrosConditionElement(CanSelectCardConditionDarkKnightmon, "DarkKnightmon");
  47. bool CanSelectCardConditionDarkKnightmon(CardSource conditionCardSource)
  48. {
  49. if (conditionCardSource != null)
  50. {
  51. if (conditionCardSource.Owner == card.Owner)
  52. {
  53. if (conditionCardSource.IsDigimon)
  54. {
  55. if (conditionCardSource.CardNames_DigiXros.Contains("DarkKnightmon"))
  56. {
  57. return true;
  58. }
  59. }
  60. }
  61. }
  62. return false;
  63. }
  64. List<DigiXrosConditionElement> elements = new List<DigiXrosConditionElement>()
  65. { elementAgunimon, elementBurningGreymon };
  66. DigiXrosCondition digiXrosCondition = new DigiXrosCondition(elements, null, 3);
  67. return digiXrosCondition;
  68. }
  69. return null;
  70. }
  71. }
  72. #endregion
  73. #region On Play
  74. if (timing == EffectTiming.OnEnterFieldAnyone)
  75. {
  76. ActivateClass activateClass = new ActivateClass();
  77. activateClass.SetUpICardEffect("Place 1 opponent hand card under a digimon or tamer, then by placing 3 [Bagra Army] digimon from trash under this, delete 1 digimon/tamer with sources", CanUseCondition, card);
  78. activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, false, EffectDiscription());
  79. cardEffects.Add(activateClass);
  80. string EffectDiscription()
  81. {
  82. return "[On Play] Choose 1 card in your opponent's hand without looking and place it as any of their Digimon's bottom digivolution card or under any of their Tamers. Then, by placing 3 [Bagra Army] trait Digimon cards from your trash as this Digimon's top digivolution cards, delete 1 of their Digimon or Tamers with cards under it.";
  83. }
  84. bool CanUseCondition(Hashtable hashtable)
  85. {
  86. return CardEffectCommons.IsExistOnBattleAreaDigimon(card)
  87. && CardEffectCommons.CanTriggerOnPlay(hashtable, card);
  88. }
  89. bool CanActivateCondition(Hashtable hashtable)
  90. {
  91. return CardEffectCommons.IsExistOnBattleAreaDigimon(card);
  92. }
  93. bool IsOpponentPermament(Permanent permanent)
  94. {
  95. return CardEffectCommons.IsPermanentExistsOnOpponentBattleArea(permanent, card) &&
  96. !permanent.TopCard.IsOption;
  97. }
  98. bool IsOpponentPermamentWithSources(Permanent permanent)
  99. {
  100. return IsOpponentPermament(permanent) && permanent.StackCards.Count >= 2;
  101. }
  102. bool IsBagraArmyDigimon(CardSource cardSource)
  103. {
  104. return cardSource.IsDigimon && cardSource.HasBagraArmyTraits;
  105. }
  106. IEnumerator ActivateCoroutine(Hashtable hashtable)
  107. {
  108. if (card.Owner.Enemy.HandCards.Count >= 1 && CardEffectCommons.HasMatchConditionOpponentsPermanent(card, IsOpponentPermament))
  109. {
  110. CardSource selectedHandCard = null;
  111. #region Select 1 card in opponent's hand
  112. if (card.Owner.isYou)
  113. {
  114. foreach (CardSource cardSource in card.Owner.Enemy.HandCards)
  115. {
  116. cardSource.SetReverse();
  117. }
  118. }
  119. card.Owner.Enemy.HandCards = RandomUtility.ShuffledDeckCards(card.Owner.Enemy.HandCards);
  120. SelectCardEffect selectCardEffect = GManager.instance.GetComponent<SelectCardEffect>();
  121. selectCardEffect.SetUp(
  122. canTargetCondition: (cardSource) => true,
  123. canTargetCondition_ByPreSelecetedList: null,
  124. canEndSelectCondition: null,
  125. canNoSelect: () => false,
  126. selectCardCoroutine: SelectCardCoroutine,
  127. afterSelectCardCoroutine: null,
  128. message: "Select 1 card in your opponent's hand to add as a source card.",
  129. maxCount: 1,
  130. canEndNotMax: false,
  131. isShowOpponent: false,
  132. mode: SelectCardEffect.Mode.Custom,
  133. root: SelectCardEffect.Root.Custom,
  134. customRootCardList: card.Owner.Enemy.HandCards,
  135. canLookReverseCard: false,
  136. selectPlayer: card.Owner,
  137. cardEffect: activateClass);
  138. selectCardEffect.SetNotShowCard();
  139. selectCardEffect.SetUseFaceDown();
  140. if (card.Owner.isYou)
  141. {
  142. selectCardEffect.SetNotAddLog();
  143. }
  144. IEnumerator SelectCardCoroutine(CardSource cardSource)
  145. {
  146. selectedHandCard = cardSource;
  147. yield return null;
  148. }
  149. selectCardEffect.SetUpCustomMessage("Select 1 card to add as a source card.", "The opponent is selecting 1 to add as a source card.");
  150. yield return ContinuousController.instance.StartCoroutine(selectCardEffect.Activate());
  151. #endregion
  152. if (selectedHandCard != null)
  153. {
  154. Permanent selectedPermanent = null;
  155. #region Select Enemy Permament to add source
  156. SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
  157. int maxCount = Math.Min(1, CardEffectCommons.MatchConditionOpponentsPermanentCount(card, IsOpponentPermament));
  158. selectPermanentEffect.SetUp(
  159. selectPlayer: card.Owner,
  160. canTargetCondition: IsOpponentPermament,
  161. canTargetCondition_ByPreSelecetedList: null,
  162. canEndSelectCondition: null,
  163. maxCount: maxCount,
  164. canNoSelect: false,
  165. canEndNotMax: false,
  166. selectPermanentCoroutine: SelectPermanentCoroutine1,
  167. afterSelectPermanentCoroutine: null,
  168. mode: SelectPermanentEffect.Mode.Custom,
  169. cardEffect: activateClass);
  170. IEnumerator SelectPermanentCoroutine1(Permanent permanent)
  171. {
  172. selectedPermanent = permanent;
  173. yield return null;
  174. }
  175. selectPermanentEffect.SetUpCustomMessage("Select 1 Digimon or tamer to add the source card underneath", "The opponent is selecting 1 Digimon or tamer to add the source card underneath");
  176. yield return ContinuousController.instance.StartCoroutine(selectPermanentEffect.Activate());
  177. #endregion
  178. if (selectedPermanent != null) yield return ContinuousController.instance.StartCoroutine(selectedPermanent.AddDigivolutionCardsBottom(
  179. addedDigivolutionCards: new List<CardSource>() { selectedHandCard },
  180. cardEffect: activateClass));
  181. }
  182. }
  183. if (CardEffectCommons.MatchConditionOwnersCardCountInTrash(card, IsBagraArmyDigimon) >= 3)
  184. {
  185. Permanent thisPermament = card.PermanentOfThisCard();
  186. List<CardSource> selectedCards = new List<CardSource>();
  187. #region Select 3 Bagra Army Digimon in Trash
  188. int maxCount = Math.Min(3, CardEffectCommons.MatchConditionOwnersCardCountInTrash(card, IsBagraArmyDigimon));
  189. SelectCardEffect selectCardEffect = GManager.instance.GetComponent<SelectCardEffect>();
  190. selectCardEffect.SetUp(
  191. canTargetCondition: IsBagraArmyDigimon,
  192. canTargetCondition_ByPreSelecetedList: null,
  193. canEndSelectCondition: null,
  194. canNoSelect: () => true,
  195. selectCardCoroutine: SelectCardCoroutine,
  196. afterSelectCardCoroutine: null,
  197. message: "Select 3 [Bagra Army] digimon",
  198. maxCount: maxCount,
  199. canEndNotMax: false,
  200. isShowOpponent: true,
  201. mode: SelectCardEffect.Mode.Custom,
  202. root: SelectCardEffect.Root.Trash,
  203. customRootCardList: null,
  204. canLookReverseCard: true,
  205. selectPlayer: card.Owner,
  206. cardEffect: activateClass);
  207. IEnumerator SelectCardCoroutine(CardSource cardSource)
  208. {
  209. selectedCards.Add(cardSource);
  210. yield return null;
  211. }
  212. selectCardEffect.SetUpCustomMessage("Select 3 [Bagra Army] digimon to add as source", "The opponent is selecting 3 [Bagra Army] digimon to add as source");
  213. yield return ContinuousController.instance.StartCoroutine(selectCardEffect.Activate());
  214. #endregion
  215. if (selectedCards.Count == 3)
  216. {
  217. yield return ContinuousController.instance.StartCoroutine(thisPermament.AddDigivolutionCardsTop(
  218. addedDigivolutionCards: selectedCards,
  219. cardEffect: activateClass));
  220. if (CardEffectCommons.HasMatchConditionOpponentsPermanent(card, IsOpponentPermamentWithSources))
  221. {
  222. #region Select Enemy Permament to delete
  223. SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
  224. int maxCount1 = Math.Min(1, CardEffectCommons.MatchConditionOpponentsPermanentCount(card, IsOpponentPermamentWithSources));
  225. selectPermanentEffect.SetUp(
  226. selectPlayer: card.Owner,
  227. canTargetCondition: IsOpponentPermamentWithSources,
  228. canTargetCondition_ByPreSelecetedList: null,
  229. canEndSelectCondition: null,
  230. maxCount: maxCount1,
  231. canNoSelect: false,
  232. canEndNotMax: false,
  233. selectPermanentCoroutine: null,
  234. afterSelectPermanentCoroutine: null,
  235. mode: SelectPermanentEffect.Mode.Destroy,
  236. cardEffect: activateClass);
  237. selectPermanentEffect.SetUpCustomMessage("Select 1 Digimon or tamer with sources to destroy", "The opponent is selecting 1 Digimon or tamer with sources to destroy");
  238. yield return ContinuousController.instance.StartCoroutine(selectPermanentEffect.Activate());
  239. #endregion
  240. }
  241. }
  242. }
  243. }
  244. }
  245. #endregion
  246. #region When Digivolving
  247. if (timing == EffectTiming.OnEnterFieldAnyone)
  248. {
  249. ActivateClass activateClass = new ActivateClass();
  250. activateClass.SetUpICardEffect("Place 1 opponent hand card under a digimon or tamer, then by placing 3 [Bagra Army] digimon from trash under this, delete 1 digimon/tamer with sources", CanUseCondition, card);
  251. activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, false, EffectDiscription());
  252. cardEffects.Add(activateClass);
  253. string EffectDiscription()
  254. {
  255. return "[When Digivolving] Choose 1 card in your opponent's hand without looking and place it as any of their Digimon's bottom digivolution card or under any of their Tamers. Then, by placing 3 [Bagra Army] trait Digimon cards from your trash as this Digimon's top digivolution cards, delete 1 of their Digimon or Tamers with cards under it.";
  256. }
  257. bool CanUseCondition(Hashtable hashtable)
  258. {
  259. return CardEffectCommons.IsExistOnBattleAreaDigimon(card)
  260. && CardEffectCommons.CanTriggerWhenDigivolving(hashtable, card);
  261. }
  262. bool CanActivateCondition(Hashtable hashtable)
  263. {
  264. return CardEffectCommons.IsExistOnBattleAreaDigimon(card);
  265. }
  266. bool IsOpponentPermament(Permanent permanent)
  267. {
  268. return CardEffectCommons.IsPermanentExistsOnOpponentBattleArea(permanent, card) &&
  269. !permanent.TopCard.IsOption;
  270. }
  271. bool IsOpponentPermamentWithSources(Permanent permanent)
  272. {
  273. return IsOpponentPermament(permanent) && permanent.StackCards.Count >= 2;
  274. }
  275. bool IsBagraArmyDigimon(CardSource cardSource)
  276. {
  277. return cardSource.IsDigimon && cardSource.HasBagraArmyTraits;
  278. }
  279. IEnumerator ActivateCoroutine(Hashtable hashtable)
  280. {
  281. if (card.Owner.Enemy.HandCards.Count >= 1 && CardEffectCommons.HasMatchConditionOpponentsPermanent(card, IsOpponentPermament))
  282. {
  283. CardSource selectedHandCard = null;
  284. #region Select 1 card in opponent's hand
  285. if (card.Owner.isYou)
  286. {
  287. foreach (CardSource cardSource in card.Owner.Enemy.HandCards)
  288. {
  289. cardSource.SetReverse();
  290. }
  291. }
  292. card.Owner.Enemy.HandCards = RandomUtility.ShuffledDeckCards(card.Owner.Enemy.HandCards);
  293. SelectCardEffect selectCardEffect = GManager.instance.GetComponent<SelectCardEffect>();
  294. selectCardEffect.SetUp(
  295. canTargetCondition: (cardSource) => true,
  296. canTargetCondition_ByPreSelecetedList: null,
  297. canEndSelectCondition: null,
  298. canNoSelect: () => false,
  299. selectCardCoroutine: SelectCardCoroutine,
  300. afterSelectCardCoroutine: null,
  301. message: "Select 1 card in your opponent's hand to add as a source card.",
  302. maxCount: 1,
  303. canEndNotMax: false,
  304. isShowOpponent: false,
  305. mode: SelectCardEffect.Mode.Custom,
  306. root: SelectCardEffect.Root.Custom,
  307. customRootCardList: card.Owner.Enemy.HandCards,
  308. canLookReverseCard: false,
  309. selectPlayer: card.Owner,
  310. cardEffect: activateClass);
  311. selectCardEffect.SetNotShowCard();
  312. selectCardEffect.SetUseFaceDown();
  313. if (card.Owner.isYou)
  314. {
  315. selectCardEffect.SetNotAddLog();
  316. }
  317. IEnumerator SelectCardCoroutine(CardSource cardSource)
  318. {
  319. selectedHandCard = cardSource;
  320. yield return null;
  321. }
  322. selectCardEffect.SetUpCustomMessage("Select 1 card to add as a source card.", "The opponent is selecting 1 to add as a source card.");
  323. yield return ContinuousController.instance.StartCoroutine(selectCardEffect.Activate());
  324. #endregion
  325. if (selectedHandCard != null)
  326. {
  327. Permanent selectedPermanent = null;
  328. #region Select Enemy Permament to add source
  329. SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
  330. int maxCount = Math.Min(1, CardEffectCommons.MatchConditionOpponentsPermanentCount(card, IsOpponentPermament));
  331. selectPermanentEffect.SetUp(
  332. selectPlayer: card.Owner,
  333. canTargetCondition: IsOpponentPermament,
  334. canTargetCondition_ByPreSelecetedList: null,
  335. canEndSelectCondition: null,
  336. maxCount: maxCount,
  337. canNoSelect: false,
  338. canEndNotMax: false,
  339. selectPermanentCoroutine: SelectPermanentCoroutine1,
  340. afterSelectPermanentCoroutine: null,
  341. mode: SelectPermanentEffect.Mode.Custom,
  342. cardEffect: activateClass);
  343. IEnumerator SelectPermanentCoroutine1(Permanent permanent)
  344. {
  345. selectedPermanent = permanent;
  346. yield return null;
  347. }
  348. selectPermanentEffect.SetUpCustomMessage("Select 1 Digimon or tamer to add the source card underneath", "The opponent is selecting 1 Digimon or tamer to add the source card underneath");
  349. yield return ContinuousController.instance.StartCoroutine(selectPermanentEffect.Activate());
  350. #endregion
  351. if (selectedPermanent != null) yield return ContinuousController.instance.StartCoroutine(selectedPermanent.AddDigivolutionCardsBottom(
  352. addedDigivolutionCards: new List<CardSource>() { selectedHandCard },
  353. cardEffect: activateClass));
  354. }
  355. }
  356. if (CardEffectCommons.MatchConditionOwnersCardCountInTrash(card, IsBagraArmyDigimon) >= 3)
  357. {
  358. Permanent thisPermament = card.PermanentOfThisCard();
  359. List<CardSource> selectedCards = new List<CardSource>();
  360. #region Select 3 Bagra Army Digimon in Trash
  361. int maxCount = Math.Min(3, CardEffectCommons.MatchConditionOwnersCardCountInTrash(card, IsBagraArmyDigimon));
  362. SelectCardEffect selectCardEffect = GManager.instance.GetComponent<SelectCardEffect>();
  363. selectCardEffect.SetUp(
  364. canTargetCondition: IsBagraArmyDigimon,
  365. canTargetCondition_ByPreSelecetedList: null,
  366. canEndSelectCondition: null,
  367. canNoSelect: () => true,
  368. selectCardCoroutine: SelectCardCoroutine,
  369. afterSelectCardCoroutine: null,
  370. message: "Select 3 [Bagra Army] digimon",
  371. maxCount: maxCount,
  372. canEndNotMax: false,
  373. isShowOpponent: true,
  374. mode: SelectCardEffect.Mode.Custom,
  375. root: SelectCardEffect.Root.Trash,
  376. customRootCardList: null,
  377. canLookReverseCard: true,
  378. selectPlayer: card.Owner,
  379. cardEffect: activateClass);
  380. IEnumerator SelectCardCoroutine(CardSource cardSource)
  381. {
  382. selectedCards.Add(cardSource);
  383. yield return null;
  384. }
  385. selectCardEffect.SetUpCustomMessage("Select 3 [Bagra Army] digimon to add as source", "The opponent is selecting 3 [Bagra Army] digimon to add as source");
  386. yield return ContinuousController.instance.StartCoroutine(selectCardEffect.Activate());
  387. #endregion
  388. if (selectedCards.Count == 3)
  389. {
  390. yield return ContinuousController.instance.StartCoroutine(thisPermament.AddDigivolutionCardsTop(
  391. addedDigivolutionCards: selectedCards,
  392. cardEffect: activateClass));
  393. if (CardEffectCommons.HasMatchConditionOpponentsPermanent(card, IsOpponentPermamentWithSources))
  394. {
  395. #region Select Enemy Permament to delete
  396. SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
  397. int maxCount1 = Math.Min(1, CardEffectCommons.MatchConditionOpponentsPermanentCount(card, IsOpponentPermamentWithSources));
  398. selectPermanentEffect.SetUp(
  399. selectPlayer: card.Owner,
  400. canTargetCondition: IsOpponentPermamentWithSources,
  401. canTargetCondition_ByPreSelecetedList: null,
  402. canEndSelectCondition: null,
  403. maxCount: maxCount1,
  404. canNoSelect: false,
  405. canEndNotMax: false,
  406. selectPermanentCoroutine: null,
  407. afterSelectPermanentCoroutine: null,
  408. mode: SelectPermanentEffect.Mode.Destroy,
  409. cardEffect: activateClass);
  410. selectPermanentEffect.SetUpCustomMessage("Select 1 Digimon or tamer with sources to destroy", "The opponent is selecting 1 Digimon or tamer with sources to destroy");
  411. yield return ContinuousController.instance.StartCoroutine(selectPermanentEffect.Activate());
  412. #endregion
  413. }
  414. }
  415. }
  416. }
  417. }
  418. #endregion
  419. #region All Turns
  420. if (timing == EffectTiming.None)
  421. {
  422. AddSkillClass addSkillClass = new AddSkillClass();
  423. addSkillClass.SetUpICardEffect("This Digimon gains all [All Turns] effects on all level 6 [Bagra Army] trait Digimon cards in its digivolution cards.", CanUseCondition, card);
  424. addSkillClass.SetUpAddSkillClass(cardSourceCondition: CardSourceCondition, getEffects: GetEffects);
  425. cardEffects.Add(addSkillClass);
  426. bool CanUseCondition(Hashtable hashtable)
  427. {
  428. return CardEffectCommons.IsExistOnBattleArea(card);
  429. }
  430. bool PermanentCondition(Permanent permanent)
  431. {
  432. return permanent == card.PermanentOfThisCard();
  433. }
  434. bool CardSourceCondition(CardSource cardSource)
  435. {
  436. if (PermanentCondition(cardSource.PermanentOfThisCard()))
  437. {
  438. if (cardSource == cardSource.PermanentOfThisCard().TopCard)
  439. {
  440. return true;
  441. }
  442. }
  443. return false;
  444. }
  445. List<ICardEffect> GetEffects(CardSource cardSource, List<ICardEffect> cardEffects, EffectTiming _timing)
  446. {
  447. if (CardSourceCondition(cardSource))
  448. {
  449. foreach (CardSource cardSource1 in cardSource.PermanentOfThisCard().DigivolutionCards)
  450. {
  451. if (cardSource1.IsFlipped)
  452. continue;
  453. if (cardSource1.HasBagraArmyTraits)
  454. {
  455. if (cardSource1.HasLevel && cardSource1.IsLevel6)
  456. {
  457. foreach (ICardEffect cardEffect in cardSource1.cEntity_EffectController.GetCardEffects_ExceptAddedEffects(_timing, card))
  458. {
  459. if (!cardEffect.IsSecurityEffect && !cardEffect.IsInheritedEffect)
  460. {
  461. if (cardEffect.EffectDiscription.StartsWith("[All Turns]"))
  462. cardEffects.Add(cardEffect);
  463. }
  464. }
  465. }
  466. }
  467. }
  468. }
  469. return cardEffects;
  470. }
  471. }
  472. #endregion
  473. return cardEffects;
  474. }
  475. }
  476. }