|
@@ -77,8 +77,6 @@ namespace DCGO.CardEffects.EX10
|
|
|
// If the player discarded a card, continue with the rest of the effect
|
|
// If the player discarded a card, continue with the rest of the effect
|
|
|
if (discarded && CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition))
|
|
if (discarded && CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition))
|
|
|
{
|
|
{
|
|
|
- int maxCount = Math.Min(1, CardEffectCommons.MatchConditionPermanentCount(CanSelectPermanentCondition));
|
|
|
|
|
-
|
|
|
|
|
SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
|
|
SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
|
|
|
|
|
|
|
|
selectPermanentEffect.SetUp(
|
|
selectPermanentEffect.SetUp(
|
|
@@ -86,7 +84,7 @@ namespace DCGO.CardEffects.EX10
|
|
|
canTargetCondition: CanSelectPermanentCondition,
|
|
canTargetCondition: CanSelectPermanentCondition,
|
|
|
canTargetCondition_ByPreSelecetedList: null,
|
|
canTargetCondition_ByPreSelecetedList: null,
|
|
|
canEndSelectCondition: CanEndSelectCondition,
|
|
canEndSelectCondition: CanEndSelectCondition,
|
|
|
- maxCount: maxCount,
|
|
|
|
|
|
|
+ maxCount: 1,
|
|
|
canNoSelect: false,
|
|
canNoSelect: false,
|
|
|
canEndNotMax: false,
|
|
canEndNotMax: false,
|
|
|
selectPermanentCoroutine: SelectPermanentCoroutine,
|
|
selectPermanentCoroutine: SelectPermanentCoroutine,
|
|
@@ -179,8 +177,6 @@ namespace DCGO.CardEffects.EX10
|
|
|
|
|
|
|
|
IEnumerator ActivateCoroutine(Hashtable hashtable)
|
|
IEnumerator ActivateCoroutine(Hashtable hashtable)
|
|
|
{
|
|
{
|
|
|
- int maxCount = 1;
|
|
|
|
|
-
|
|
|
|
|
List<CardSource> selectedCards = new List<CardSource>();
|
|
List<CardSource> selectedCards = new List<CardSource>();
|
|
|
|
|
|
|
|
SelectCardEffect selectCardEffect = GManager.instance.GetComponent<SelectCardEffect>();
|
|
SelectCardEffect selectCardEffect = GManager.instance.GetComponent<SelectCardEffect>();
|
|
@@ -193,7 +189,7 @@ namespace DCGO.CardEffects.EX10
|
|
|
selectCardCoroutine: SelectCardCoroutine,
|
|
selectCardCoroutine: SelectCardCoroutine,
|
|
|
afterSelectCardCoroutine: null,
|
|
afterSelectCardCoroutine: null,
|
|
|
message: "Select 1 card to play.",
|
|
message: "Select 1 card to play.",
|
|
|
- maxCount: maxCount,
|
|
|
|
|
|
|
+ maxCount: 1,
|
|
|
canEndNotMax: false,
|
|
canEndNotMax: false,
|
|
|
isShowOpponent: true,
|
|
isShowOpponent: true,
|
|
|
mode: SelectCardEffect.Mode.Custom,
|
|
mode: SelectCardEffect.Mode.Custom,
|