|
|
@@ -29,8 +29,8 @@ namespace DCGO.CardEffects.EX6
|
|
|
bool CanSelectPermanentCondition(Permanent permanent)
|
|
|
{
|
|
|
return CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card);
|
|
|
- }
|
|
|
-
|
|
|
+ }
|
|
|
+
|
|
|
if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition))
|
|
|
{
|
|
|
SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
|
|
|
@@ -126,14 +126,14 @@ namespace DCGO.CardEffects.EX6
|
|
|
|
|
|
bool CanUseCondition(Hashtable hashtable)
|
|
|
{
|
|
|
- return CardEffectCommons.IsExistOnBattleArea(card)
|
|
|
+ return CardEffectCommons.IsExistOnBattleAreaTrigger(card, activateClass)
|
|
|
&& CardEffectCommons.CanTriggerWhenRemoveField(hashtable, card)
|
|
|
&& !CardEffectCommons.IsByBattle(hashtable);
|
|
|
}
|
|
|
|
|
|
bool CanActivateCondition(Hashtable hashtable)
|
|
|
{
|
|
|
- return CardEffectCommons.IsExistOnBattleArea(card)
|
|
|
+ return CardEffectCommons.IsExistOnBattleAreaActivate(card, activateClass)
|
|
|
&& CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition);
|
|
|
}
|
|
|
|
|
|
@@ -192,21 +192,20 @@ namespace DCGO.CardEffects.EX6
|
|
|
|
|
|
bool PermanentCondition(Permanent permanent)
|
|
|
{
|
|
|
- return CardEffectCommons.IsPermanentExistsOnBattleArea(permanent)
|
|
|
- && permanent.IsDigimon
|
|
|
+ return CardEffectCommons.IsPermanentExistsOnBattleAreaDigimon(permanent)
|
|
|
&& permanent != card.PermanentOfThisCard();
|
|
|
}
|
|
|
|
|
|
bool CanUseCondition(Hashtable hashtable)
|
|
|
{
|
|
|
return CardEffectCommons.IsOpponentTurn(card)
|
|
|
- && CardEffectCommons.IsExistOnBattleArea(card)
|
|
|
+ && CardEffectCommons.IsExistOnBattleAreaTrigger(card, activateClass)
|
|
|
&& CardEffectCommons.CanTriggerOnPermanentDeleted(hashtable, PermanentCondition);
|
|
|
}
|
|
|
|
|
|
bool CanActivateCondition(Hashtable hashtable)
|
|
|
{
|
|
|
- return CardEffectCommons.IsExistOnBattleArea(card);
|
|
|
+ return CardEffectCommons.IsExistOnBattleAreaActivate(card, activateClass);
|
|
|
}
|
|
|
|
|
|
IEnumerator ActivateCoroutine(Hashtable hashtable)
|