|
|
@@ -2,7 +2,7 @@ using System;
|
|
|
using System.Collections;
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
-namespace DCGO.CardEffects
|
|
|
+namespace DCGO.CardEffects.BT18
|
|
|
{
|
|
|
public class Wizardmon_BT18_036 : CEntity_Effect
|
|
|
{
|
|
|
@@ -26,12 +26,20 @@ namespace DCGO.CardEffects
|
|
|
|
|
|
bool CanUseCondition(Hashtable hashtable)
|
|
|
{
|
|
|
- return CardEffectCommons.CanTriggerWhenDigivolving(hashtable, card);
|
|
|
+ if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))
|
|
|
+ {
|
|
|
+ if(CardEffectCommons.CanTriggerWhenDigivolving(hashtable, card))
|
|
|
+ {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ return false;
|
|
|
}
|
|
|
|
|
|
bool CanActivateCondition(Hashtable hashtable)
|
|
|
{
|
|
|
- if (CardEffectCommons.IsExistOnBattleArea(card))
|
|
|
+ if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))
|
|
|
{
|
|
|
if (card.Owner.SecurityCards.Count >= 1)
|
|
|
return true;
|
|
|
@@ -74,7 +82,7 @@ namespace DCGO.CardEffects
|
|
|
|
|
|
bool CanUseCondition(Hashtable hashtable)
|
|
|
{
|
|
|
- if (CardEffectCommons.IsExistOnBattleArea(card))
|
|
|
+ if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))
|
|
|
{
|
|
|
if (CardEffectCommons.CanTriggerWhenRemoveField(hashtable, card))
|
|
|
{
|
|
|
@@ -88,7 +96,7 @@ namespace DCGO.CardEffects
|
|
|
|
|
|
bool CanActivateCondition(Hashtable hashtable)
|
|
|
{
|
|
|
- if (CardEffectCommons.IsExistOnBattleArea(card))
|
|
|
+ if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))
|
|
|
{
|
|
|
if (card.CardColors.Contains(CardColor.Yellow) &&
|
|
|
(card.CardTraits.Contains("Data") || card.CardTraits.Contains("Witchelny")))
|
|
|
@@ -103,7 +111,7 @@ namespace DCGO.CardEffects
|
|
|
|
|
|
IEnumerator ActivateCoroutine(Hashtable _hashtable)
|
|
|
{
|
|
|
- if (CardEffectCommons.IsExistOnBattleArea(card) || card.Owner.SecurityCards.Count >= 1)
|
|
|
+ if (CardEffectCommons.IsExistOnBattleAreaDigimon(card) || card.Owner.SecurityCards.Count >= 1)
|
|
|
{
|
|
|
yield return ContinuousController.instance.StartCoroutine(new IDestroySecurity(
|
|
|
player: card.Owner,
|