|
@@ -66,7 +66,7 @@ namespace DCGO.CardEffects.EX12
|
|
|
{
|
|
{
|
|
|
bool isUsed = false;
|
|
bool isUsed = false;
|
|
|
|
|
|
|
|
- List<CardSource> selectedCards = new List<CardSource>();
|
|
|
|
|
|
|
+ CardSource selectedCard = null;
|
|
|
|
|
|
|
|
SelectHandEffect selectHandEffect = GManager.instance.GetComponent<SelectHandEffect>();
|
|
SelectHandEffect selectHandEffect = GManager.instance.GetComponent<SelectHandEffect>();
|
|
|
|
|
|
|
@@ -89,13 +89,13 @@ namespace DCGO.CardEffects.EX12
|
|
|
|
|
|
|
|
IEnumerator SelectCardCoroutine(CardSource cardSource)
|
|
IEnumerator SelectCardCoroutine(CardSource cardSource)
|
|
|
{
|
|
{
|
|
|
- selectedCards.Add(cardSource);
|
|
|
|
|
|
|
+ selectedCard = cardSource;
|
|
|
yield return null;
|
|
yield return null;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
yield return ContinuousController.instance.StartCoroutine(selectHandEffect.Activate());
|
|
yield return ContinuousController.instance.StartCoroutine(selectHandEffect.Activate());
|
|
|
|
|
|
|
|
- if (selectedCards != null)
|
|
|
|
|
|
|
+ if (selectedCard != null)
|
|
|
{
|
|
{
|
|
|
isUsed = true;
|
|
isUsed = true;
|
|
|
|
|
|
|
@@ -157,10 +157,10 @@ namespace DCGO.CardEffects.EX12
|
|
|
}
|
|
}
|
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
|
|
- if (selectedCards[0].IsOption)
|
|
|
|
|
|
|
+ if (selectedCard.IsOption)
|
|
|
{
|
|
{
|
|
|
yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.PlayOptionCards(
|
|
yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.PlayOptionCards(
|
|
|
- cardSources: selectedCards,
|
|
|
|
|
|
|
+ cardSources: new List<CardSource> { selectedCard },
|
|
|
activateClass: activateClass,
|
|
activateClass: activateClass,
|
|
|
payCost: true,
|
|
payCost: true,
|
|
|
root: SelectCardEffect.Root.Hand));
|
|
root: SelectCardEffect.Root.Hand));
|
|
@@ -168,7 +168,7 @@ namespace DCGO.CardEffects.EX12
|
|
|
else
|
|
else
|
|
|
{
|
|
{
|
|
|
yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.PlayPermanentCards(
|
|
yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.PlayPermanentCards(
|
|
|
- cardSources: selectedCards,
|
|
|
|
|
|
|
+ cardSources: new List<CardSource> { selectedCard },
|
|
|
activateClass: activateClass,
|
|
activateClass: activateClass,
|
|
|
payCost: true,
|
|
payCost: true,
|
|
|
isTapped: false,
|
|
isTapped: false,
|