|
|
@@ -13,16 +13,18 @@ namespace DCGO.CardEffects.BT16
|
|
|
List<ICardEffect> cardEffects = new List<ICardEffect>();
|
|
|
|
|
|
#region Main - Option Skill
|
|
|
+
|
|
|
if (timing == EffectTiming.OptionSkill)
|
|
|
{
|
|
|
ActivateClass activateClass = new ActivateClass();
|
|
|
activateClass.SetUpICardEffect("Play 1 [Aquilamon] or [Gatomon]", CanUseCondition, card);
|
|
|
- activateClass.SetUpActivateClass(null, ActivateCoroutine, -1, true, EffectDiscription());
|
|
|
+ activateClass.SetUpActivateClass(null, ActivateCoroutine, -1, false, EffectDiscription());
|
|
|
cardEffects.Add(activateClass);
|
|
|
|
|
|
string EffectDiscription()
|
|
|
{
|
|
|
- return "[Main] You may play 1 [Aquilamon] or [Gatomon] from your hand without paying the cost. Then, 2 of your Digimon may DNA digivolve into a Digimon card in your hand. The Digimon DNA Digivolved by this effect gains [Security A+1] for the turn, and may attack a player.";
|
|
|
+ return
|
|
|
+ "[Main] You may play 1 [Aquilamon] or [Gatomon] from your hand without paying the cost. Then, 2 of your Digimon may DNA digivolve into a Digimon card in your hand. The Digimon DNA Digivolved by this effect gains [Security A+1] for the turn, and may attack a player.";
|
|
|
}
|
|
|
|
|
|
bool CanSelectCardCondition(CardSource cardSource)
|
|
|
@@ -58,12 +60,11 @@ namespace DCGO.CardEffects.BT16
|
|
|
|
|
|
IEnumerator ActivateCoroutine(Hashtable hashtable)
|
|
|
{
|
|
|
+ // Play [Aquilamon/Gatomon]
|
|
|
if (card.Owner.HandCards.Count(CanSelectCardCondition) >= 1)
|
|
|
{
|
|
|
List<CardSource> selectedCards = new List<CardSource>();
|
|
|
|
|
|
- int maxCount = 1;
|
|
|
-
|
|
|
SelectHandEffect selectHandEffect = GManager.instance.GetComponent<SelectHandEffect>();
|
|
|
|
|
|
selectHandEffect.SetUp(
|
|
|
@@ -71,7 +72,7 @@ namespace DCGO.CardEffects.BT16
|
|
|
canTargetCondition: CanSelectCardCondition,
|
|
|
canTargetCondition_ByPreSelecetedList: null,
|
|
|
canEndSelectCondition: null,
|
|
|
- maxCount: maxCount,
|
|
|
+ maxCount: 1,
|
|
|
canNoSelect: true,
|
|
|
canEndNotMax: false,
|
|
|
isShowOpponent: true,
|
|
|
@@ -92,146 +93,162 @@ namespace DCGO.CardEffects.BT16
|
|
|
yield return null;
|
|
|
}
|
|
|
|
|
|
- yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.PlayPermanentCards(cardSources: selectedCards, activateClass: activateClass, payCost: false, isTapped: false, root: SelectCardEffect.Root.Hand, activateETB: true));
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.PlayPermanentCards(
|
|
|
+ cardSources: selectedCards, activateClass: activateClass, payCost: false, isTapped: false,
|
|
|
+ root: SelectCardEffect.Root.Hand, activateETB: true));
|
|
|
+ }
|
|
|
|
|
|
- // DNA digivolve
|
|
|
- if (card.Owner.GetBattleAreaDigimons().Count >= 2)
|
|
|
- {
|
|
|
- bool DNADigivolved = false;
|
|
|
+ // DNA digivolve
|
|
|
+ if (card.Owner.GetBattleAreaDigimons().Count >= 2)
|
|
|
+ {
|
|
|
+ bool DNADigivolved = false;
|
|
|
|
|
|
- if (card.Owner.HandCards.Count(CanSelectDNACardCondition) >= 1)
|
|
|
+ if (card.Owner.HandCards.Count(CanSelectDNACardCondition) >= 1)
|
|
|
+ {
|
|
|
+ List<CardSource> selectedDNACards = new List<CardSource>();
|
|
|
+
|
|
|
+ SelectHandEffect selectDNAEffect = GManager.instance.GetComponent<SelectHandEffect>();
|
|
|
+
|
|
|
+ selectDNAEffect.SetUp(
|
|
|
+ selectPlayer: card.Owner,
|
|
|
+ canTargetCondition: CanSelectDNACardCondition,
|
|
|
+ canTargetCondition_ByPreSelecetedList: null,
|
|
|
+ canEndSelectCondition: null,
|
|
|
+ maxCount: 1,
|
|
|
+ canNoSelect: true,
|
|
|
+ canEndNotMax: false,
|
|
|
+ isShowOpponent: true,
|
|
|
+ selectCardCoroutine: SelectDNACoroutine,
|
|
|
+ afterSelectCardCoroutine: null,
|
|
|
+ mode: SelectHandEffect.Mode.Custom,
|
|
|
+ cardEffect: activateClass);
|
|
|
+
|
|
|
+ selectDNAEffect.SetUpCustomMessage("Select 1 card to DNA digivolve.",
|
|
|
+ "The opponent is selecting 1 card to DNA digivolve.");
|
|
|
+ selectDNAEffect.SetNotShowCard();
|
|
|
+
|
|
|
+ yield return StartCoroutine(selectDNAEffect.Activate());
|
|
|
+
|
|
|
+ IEnumerator SelectDNACoroutine(CardSource cardSource)
|
|
|
{
|
|
|
- List<CardSource> selectedDNACards = new List<CardSource>();
|
|
|
-
|
|
|
- SelectHandEffect selectDNAEffect = GManager.instance.GetComponent<SelectHandEffect>();
|
|
|
-
|
|
|
- selectDNAEffect.SetUp(
|
|
|
- selectPlayer: card.Owner,
|
|
|
- canTargetCondition: CanSelectDNACardCondition,
|
|
|
- canTargetCondition_ByPreSelecetedList: null,
|
|
|
- canEndSelectCondition: null,
|
|
|
- maxCount: 1,
|
|
|
- canNoSelect: true,
|
|
|
- canEndNotMax: false,
|
|
|
- isShowOpponent: true,
|
|
|
- selectCardCoroutine: SelectDNACoroutine,
|
|
|
- afterSelectCardCoroutine: null,
|
|
|
- mode: SelectHandEffect.Mode.Custom,
|
|
|
- cardEffect: activateClass);
|
|
|
-
|
|
|
- selectDNAEffect.SetUpCustomMessage("Select 1 card to DNA digivolve.", "The opponent is selecting 1 card to DNA digivolve.");
|
|
|
- selectDNAEffect.SetNotShowCard();
|
|
|
-
|
|
|
- yield return StartCoroutine(selectDNAEffect.Activate());
|
|
|
-
|
|
|
- IEnumerator SelectDNACoroutine(CardSource cardSource)
|
|
|
- {
|
|
|
- selectedDNACards.Add(cardSource);
|
|
|
+ selectedDNACards.Add(cardSource);
|
|
|
|
|
|
- yield return null;
|
|
|
- }
|
|
|
+ yield return null;
|
|
|
+ }
|
|
|
|
|
|
- if (selectedDNACards.Count >= 1)
|
|
|
+ if (selectedDNACards.Count >= 1)
|
|
|
+ {
|
|
|
+ foreach (CardSource selectedCard in selectedDNACards)
|
|
|
{
|
|
|
- foreach (CardSource selectedCard in selectedDNACards)
|
|
|
+ if (selectedCard.CanPlayJogress(true))
|
|
|
{
|
|
|
- if (selectedCard.CanPlayJogress(true))
|
|
|
- {
|
|
|
- _jogressEvoRootsFrameIDs = new int[0];
|
|
|
+ _jogressEvoRootsFrameIDs = new int[0];
|
|
|
|
|
|
- yield return GManager.instance.photonWaitController.StartWait("BeastlyStormDanceofAffection_BT16_091");
|
|
|
+ yield return GManager.instance.photonWaitController.StartWait(
|
|
|
+ "BeastlyStormDanceofAffection_BT16_091");
|
|
|
|
|
|
- if (card.Owner.isYou || GManager.instance.IsAI)
|
|
|
+ if (card.Owner.isYou || GManager.instance.IsAI)
|
|
|
+ {
|
|
|
+ GManager.instance.selectJogressEffect.SetUp_SelectDigivolutionRoots
|
|
|
+ (card: selectedCard,
|
|
|
+ isLocal: true,
|
|
|
+ isPayCost: true,
|
|
|
+ canNoSelect: true,
|
|
|
+ endSelectCoroutine_SelectDigivolutionRoots: EndSelectCoroutine_SelectDigivolutionRoots,
|
|
|
+ noSelectCoroutine: null);
|
|
|
+
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(GManager.instance
|
|
|
+ .selectJogressEffect.SelectDigivolutionRoots());
|
|
|
+
|
|
|
+ IEnumerator EndSelectCoroutine_SelectDigivolutionRoots(List<Permanent> permanents)
|
|
|
{
|
|
|
- GManager.instance.selectJogressEffect.SetUp_SelectDigivolutionRoots
|
|
|
- (card: selectedCard,
|
|
|
- isLocal: true,
|
|
|
- isPayCost: true,
|
|
|
- canNoSelect: true,
|
|
|
- endSelectCoroutine_SelectDigivolutionRoots: EndSelectCoroutine_SelectDigivolutionRoots,
|
|
|
- noSelectCoroutine: null);
|
|
|
-
|
|
|
- yield return ContinuousController.instance.StartCoroutine(GManager.instance.selectJogressEffect.SelectDigivolutionRoots());
|
|
|
-
|
|
|
- IEnumerator EndSelectCoroutine_SelectDigivolutionRoots(List<Permanent> permanents)
|
|
|
+ if (permanents.Count == 2)
|
|
|
{
|
|
|
- if (permanents.Count == 2)
|
|
|
- {
|
|
|
- _jogressEvoRootsFrameIDs = permanents.Distinct().ToArray().Map(permanent => permanent.PermanentFrame.FrameID);
|
|
|
- }
|
|
|
-
|
|
|
- yield return null;
|
|
|
+ _jogressEvoRootsFrameIDs = permanents.Distinct().ToArray()
|
|
|
+ .Map(permanent => permanent.PermanentFrame.FrameID);
|
|
|
}
|
|
|
|
|
|
- photonView.RPC("SetJogressEvoRootsFrameIDs", RpcTarget.All, _jogressEvoRootsFrameIDs);
|
|
|
+ yield return null;
|
|
|
}
|
|
|
|
|
|
- else
|
|
|
- {
|
|
|
- GManager.instance.commandText.OpenCommandText("The opponent is choosing a card to DNA digivolve.");
|
|
|
- }
|
|
|
+ photonView.RPC("SetJogressEvoRootsFrameIDs", RpcTarget.All, _jogressEvoRootsFrameIDs);
|
|
|
+ }
|
|
|
|
|
|
- yield return new WaitWhile(() => !_endSelect);
|
|
|
- _endSelect = false;
|
|
|
+ else
|
|
|
+ {
|
|
|
+ GManager.instance.commandText.OpenCommandText(
|
|
|
+ "The opponent is choosing a card to DNA digivolve.");
|
|
|
+ }
|
|
|
|
|
|
- GManager.instance.commandText.CloseCommandText();
|
|
|
- yield return new WaitWhile(() => GManager.instance.commandText.gameObject.activeSelf);
|
|
|
+ yield return new WaitWhile(() => !_endSelect);
|
|
|
+ _endSelect = false;
|
|
|
|
|
|
- if (_jogressEvoRootsFrameIDs.Length == 2)
|
|
|
- {
|
|
|
- yield return ContinuousController.instance.StartCoroutine(GManager.instance.GetComponent<Effects>().ShowCardEffect(new List<CardSource>() { selectedCard }, "Played Card", true, true));
|
|
|
-
|
|
|
- PlayCardClass playCard = new PlayCardClass(
|
|
|
- cardSources: new List<CardSource>() { selectedCard },
|
|
|
- hashtable: CardEffectCommons.CardEffectHashtable(activateClass),
|
|
|
- payCost: true,
|
|
|
- targetPermanent: null,
|
|
|
- isTapped: false,
|
|
|
- root: SelectCardEffect.Root.Hand,
|
|
|
- activateETB: true);
|
|
|
-
|
|
|
- playCard.SetJogress(_jogressEvoRootsFrameIDs);
|
|
|
- DNADigivolved = true;
|
|
|
- yield return ContinuousController.instance.StartCoroutine(playCard.PlayCard());
|
|
|
-
|
|
|
-
|
|
|
- }
|
|
|
+ GManager.instance.commandText.CloseCommandText();
|
|
|
+ yield return new WaitWhile(() => GManager.instance.commandText.gameObject.activeSelf);
|
|
|
+
|
|
|
+ if (_jogressEvoRootsFrameIDs.Length == 2)
|
|
|
+ {
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(GManager.instance
|
|
|
+ .GetComponent<Effects>().ShowCardEffect(new List<CardSource>() { selectedCard },
|
|
|
+ "Played Card", true, true));
|
|
|
+
|
|
|
+ PlayCardClass playCard = new PlayCardClass(
|
|
|
+ cardSources: new List<CardSource>() { selectedCard },
|
|
|
+ hashtable: CardEffectCommons.CardEffectHashtable(activateClass),
|
|
|
+ payCost: true,
|
|
|
+ targetPermanent: null,
|
|
|
+ isTapped: false,
|
|
|
+ root: SelectCardEffect.Root.Hand,
|
|
|
+ activateETB: true);
|
|
|
+
|
|
|
+ playCard.SetJogress(_jogressEvoRootsFrameIDs);
|
|
|
+ DNADigivolved = true;
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(playCard.PlayCard());
|
|
|
+ }
|
|
|
|
|
|
- if(DNADigivolved)
|
|
|
+ if (DNADigivolved)
|
|
|
+ {
|
|
|
+ List<SelectionElement<bool>> selectionElements = new List<SelectionElement<bool>>()
|
|
|
{
|
|
|
- List<SelectionElement<bool>> selectionElements = new List<SelectionElement<bool>>()
|
|
|
- {
|
|
|
- new SelectionElement<bool>(message: $"Yes", value : true, spriteIndex: 0),
|
|
|
- new SelectionElement<bool>(message: $"No", value : false, spriteIndex: 1),
|
|
|
- };
|
|
|
+ new SelectionElement<bool>(message: $"Yes", value: true, spriteIndex: 0),
|
|
|
+ new SelectionElement<bool>(message: $"No", value: false, spriteIndex: 1),
|
|
|
+ };
|
|
|
|
|
|
- string selectPlayerMessage = "Will you give this Digimon [Security A+1] and must attack a player?";
|
|
|
- string notSelectPlayerMessage = "The opponent is choosing effects.";
|
|
|
+ string selectPlayerMessage =
|
|
|
+ "Will you give this Digimon [Security A+1] and must attack a player?";
|
|
|
+ string notSelectPlayerMessage = "The opponent is choosing effects.";
|
|
|
|
|
|
- GManager.instance.userSelectionManager.SetBoolSelection(selectionElements: selectionElements, selectPlayer: card.Owner, selectPlayerMessage: selectPlayerMessage, notSelectPlayerMessage: notSelectPlayerMessage);
|
|
|
+ GManager.instance.userSelectionManager.SetBoolSelection(
|
|
|
+ selectionElements: selectionElements, selectPlayer: card.Owner,
|
|
|
+ selectPlayerMessage: selectPlayerMessage,
|
|
|
+ notSelectPlayerMessage: notSelectPlayerMessage);
|
|
|
|
|
|
- yield return ContinuousController.instance.StartCoroutine(GManager.instance.userSelectionManager.WaitForEndSelect());
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(GManager.instance
|
|
|
+ .userSelectionManager.WaitForEndSelect());
|
|
|
|
|
|
- bool willGiveEffects = GManager.instance.userSelectionManager.SelectedBoolValue;
|
|
|
+ bool willGiveEffects = GManager.instance.userSelectionManager.SelectedBoolValue;
|
|
|
|
|
|
- if (willGiveEffects)
|
|
|
- {
|
|
|
- yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.ChangeDigimonSAttack(selectedCard.PermanentOfThisCard(), 1, EffectDuration.UntilEachTurnEnd, activateClass));
|
|
|
+ if (willGiveEffects)
|
|
|
+ {
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(
|
|
|
+ CardEffectCommons.ChangeDigimonSAttack(selectedCard.PermanentOfThisCard(), 1,
|
|
|
+ EffectDuration.UntilEachTurnEnd, activateClass));
|
|
|
|
|
|
- if (selectedCard.PermanentOfThisCard() != null)
|
|
|
+ if (selectedCard.PermanentOfThisCard() != null)
|
|
|
+ {
|
|
|
+ if (selectedCard.PermanentOfThisCard().CanAttack(activateClass))
|
|
|
{
|
|
|
- if (selectedCard.PermanentOfThisCard().CanAttack(activateClass))
|
|
|
- {
|
|
|
- SelectAttackEffect selectAttackEffect = GManager.instance.GetComponent<SelectAttackEffect>();
|
|
|
-
|
|
|
- selectAttackEffect.SetUp(
|
|
|
- attacker: selectedCard.PermanentOfThisCard(),
|
|
|
- canAttackPlayerCondition: () => true,
|
|
|
- defenderCondition: (permanent) => false,
|
|
|
- cardEffect: activateClass);
|
|
|
-
|
|
|
- yield return ContinuousController.instance.StartCoroutine(selectAttackEffect.Activate());
|
|
|
- }
|
|
|
+ SelectAttackEffect selectAttackEffect =
|
|
|
+ GManager.instance.GetComponent<SelectAttackEffect>();
|
|
|
+
|
|
|
+ selectAttackEffect.SetUp(
|
|
|
+ attacker: selectedCard.PermanentOfThisCard(),
|
|
|
+ canAttackPlayerCondition: () => true,
|
|
|
+ defenderCondition: (permanent) => false,
|
|
|
+ cardEffect: activateClass);
|
|
|
+
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(selectAttackEffect
|
|
|
+ .Activate());
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -243,19 +260,23 @@ namespace DCGO.CardEffects.BT16
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
#endregion
|
|
|
|
|
|
#region Security Effect
|
|
|
+
|
|
|
if (timing == EffectTiming.SecuritySkill)
|
|
|
{
|
|
|
ActivateClass activateClass = new ActivateClass();
|
|
|
activateClass.SetUpICardEffect("Play 1 [Hawkmon] or [Salamon]", CanUseCondition, card);
|
|
|
activateClass.SetUpActivateClass(null, ActivateCoroutine, -1, false, EffectDiscription());
|
|
|
+ activateClass.SetIsSecurityEffect(true);
|
|
|
cardEffects.Add(activateClass);
|
|
|
|
|
|
string EffectDiscription()
|
|
|
{
|
|
|
- return "[Security] You may play 1 [Hawkmon] or [Salamon] from your hand or trash without paying the cost. Then, add this card to the hand.";
|
|
|
+ return
|
|
|
+ "[Security] You may play 1 [Hawkmon] or [Salamon] from your hand or trash without paying the cost. Then, add this card to the hand.";
|
|
|
}
|
|
|
|
|
|
bool CanSelectCardCondition(CardSource cardSource)
|
|
|
@@ -279,15 +300,16 @@ namespace DCGO.CardEffects.BT16
|
|
|
IEnumerator ActivateCoroutine(Hashtable hashtable)
|
|
|
{
|
|
|
List<SelectionElement<bool>> selectionElements = new List<SelectionElement<bool>>()
|
|
|
- {
|
|
|
- new SelectionElement<bool>(message: $"Yes", value : true, spriteIndex: 0),
|
|
|
- new SelectionElement<bool>(message: $"No", value : false, spriteIndex: 1),
|
|
|
- };
|
|
|
+ {
|
|
|
+ new SelectionElement<bool>(message: $"Yes", value: true, spriteIndex: 0),
|
|
|
+ new SelectionElement<bool>(message: $"No", value: false, spriteIndex: 1),
|
|
|
+ };
|
|
|
|
|
|
string selectPlayerMessage = "Will you play a Digimon?";
|
|
|
string notSelectPlayerMessage = "The opponent is choosing effects.";
|
|
|
|
|
|
- GManager.instance.userSelectionManager.SetBoolSelection(selectionElements: selectionElements, selectPlayer: card.Owner, selectPlayerMessage: selectPlayerMessage, notSelectPlayerMessage: notSelectPlayerMessage);
|
|
|
+ GManager.instance.userSelectionManager.SetBoolSelection(selectionElements: selectionElements, selectPlayer: card.Owner,
|
|
|
+ selectPlayerMessage: selectPlayerMessage, notSelectPlayerMessage: notSelectPlayerMessage);
|
|
|
|
|
|
|
|
|
yield return ContinuousController.instance.StartCoroutine(GManager.instance.userSelectionManager.WaitForEndSelect());
|
|
|
@@ -304,15 +326,17 @@ namespace DCGO.CardEffects.BT16
|
|
|
if (canSelectHand && canSelectTrash)
|
|
|
{
|
|
|
List<SelectionElement<bool>> selectionElements1 = new List<SelectionElement<bool>>()
|
|
|
- {
|
|
|
- new SelectionElement<bool>(message: $"From hand", value : true, spriteIndex: 0),
|
|
|
- new SelectionElement<bool>(message: $"From trash", value : false, spriteIndex: 1),
|
|
|
- };
|
|
|
+ {
|
|
|
+ new SelectionElement<bool>(message: $"From hand", value: true, spriteIndex: 0),
|
|
|
+ new SelectionElement<bool>(message: $"From trash", value: false, spriteIndex: 1),
|
|
|
+ };
|
|
|
|
|
|
string selectPlayerMessage1 = "From which area do you select a card?";
|
|
|
string notSelectPlayerMessage1 = "The opponent is choosing from which area to select a card.";
|
|
|
|
|
|
- GManager.instance.userSelectionManager.SetBoolSelection(selectionElements: selectionElements1, selectPlayer: card.Owner, selectPlayerMessage: selectPlayerMessage1, notSelectPlayerMessage: notSelectPlayerMessage1);
|
|
|
+ GManager.instance.userSelectionManager.SetBoolSelection(selectionElements: selectionElements1,
|
|
|
+ selectPlayer: card.Owner, selectPlayerMessage: selectPlayerMessage1,
|
|
|
+ notSelectPlayerMessage: notSelectPlayerMessage1);
|
|
|
}
|
|
|
|
|
|
else
|
|
|
@@ -320,7 +344,8 @@ namespace DCGO.CardEffects.BT16
|
|
|
GManager.instance.userSelectionManager.SetBool(canSelectHand);
|
|
|
}
|
|
|
|
|
|
- yield return ContinuousController.instance.StartCoroutine(GManager.instance.userSelectionManager.WaitForEndSelect());
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(GManager.instance.userSelectionManager
|
|
|
+ .WaitForEndSelect());
|
|
|
|
|
|
bool fromHand = GManager.instance.userSelectionManager.SelectedBoolValue;
|
|
|
|
|
|
@@ -348,7 +373,8 @@ namespace DCGO.CardEffects.BT16
|
|
|
mode: SelectHandEffect.Mode.Custom,
|
|
|
cardEffect: activateClass);
|
|
|
|
|
|
- selectHandEffect.SetUpCustomMessage("Select 1 Digimon to play.", "The opponent is selecting 1 Digimon to play.");
|
|
|
+ selectHandEffect.SetUpCustomMessage("Select 1 Digimon to play.",
|
|
|
+ "The opponent is selecting 1 Digimon to play.");
|
|
|
selectHandEffect.SetUpCustomMessage_ShowCard("Played Card");
|
|
|
|
|
|
yield return StartCoroutine(selectHandEffect.Activate());
|
|
|
@@ -360,7 +386,9 @@ namespace DCGO.CardEffects.BT16
|
|
|
yield return null;
|
|
|
}
|
|
|
|
|
|
- yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.PlayPermanentCards(cardSources: selectedCards, activateClass: activateClass, payCost: false, isTapped: false, root: SelectCardEffect.Root.Hand, activateETB: true));
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(
|
|
|
+ CardEffectCommons.PlayPermanentCards(cardSources: selectedCards, activateClass: activateClass,
|
|
|
+ payCost: false, isTapped: false, root: SelectCardEffect.Root.Hand, activateETB: true));
|
|
|
}
|
|
|
}
|
|
|
else
|
|
|
@@ -392,7 +420,8 @@ namespace DCGO.CardEffects.BT16
|
|
|
cardEffect: activateClass);
|
|
|
|
|
|
selectCardEffect.SetUpCustomMessage_ShowCard("Played Card");
|
|
|
- selectCardEffect.SetUpCustomMessage("Select 1 Digimon to play.", "The opponent is selecting 1 Digimon to play.");
|
|
|
+ selectCardEffect.SetUpCustomMessage("Select 1 Digimon to play.",
|
|
|
+ "The opponent is selecting 1 Digimon to play.");
|
|
|
|
|
|
yield return ContinuousController.instance.StartCoroutine(selectCardEffect.Activate());
|
|
|
|
|
|
@@ -403,7 +432,9 @@ namespace DCGO.CardEffects.BT16
|
|
|
yield return null;
|
|
|
}
|
|
|
|
|
|
- yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.PlayPermanentCards(cardSources: selectedCards, activateClass: activateClass, payCost: false, isTapped: false, root: SelectCardEffect.Root.Trash, activateETB: true));
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(
|
|
|
+ CardEffectCommons.PlayPermanentCards(cardSources: selectedCards, activateClass: activateClass,
|
|
|
+ payCost: false, isTapped: false, root: SelectCardEffect.Root.Trash, activateETB: true));
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -412,8 +443,8 @@ namespace DCGO.CardEffects.BT16
|
|
|
yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.AddThisCardToHand(card, activateClass));
|
|
|
}
|
|
|
}
|
|
|
- #endregion
|
|
|
|
|
|
+ #endregion
|
|
|
|
|
|
return cardEffects;
|
|
|
}
|