|
@@ -45,7 +45,7 @@ namespace DCGO.CardEffects.BT21
|
|
|
{
|
|
{
|
|
|
ActivateClass activateClass = new ActivateClass();
|
|
ActivateClass activateClass = new ActivateClass();
|
|
|
activateClass.SetUpICardEffect("Force attack and give collision", CanUseCondition, card);
|
|
activateClass.SetUpICardEffect("Force attack and give collision", CanUseCondition, card);
|
|
|
- activateClass.SetUpActivateClass(CanActivateConditionShared, ActivateCoroutine, -1, true, EffectDescription());
|
|
|
|
|
|
|
+ activateClass.SetUpActivateClass(CanActivateConditionShared, ActivateCoroutine, -1, false, EffectDescription());
|
|
|
cardEffects.Add(activateClass);
|
|
cardEffects.Add(activateClass);
|
|
|
|
|
|
|
|
string EffectDescription()
|
|
string EffectDescription()
|
|
@@ -201,7 +201,7 @@ namespace DCGO.CardEffects.BT21
|
|
|
{
|
|
{
|
|
|
ActivateClass activateClass = new ActivateClass();
|
|
ActivateClass activateClass = new ActivateClass();
|
|
|
activateClass.SetUpICardEffect("Force attack and give collision", CanUseCondition, card);
|
|
activateClass.SetUpICardEffect("Force attack and give collision", CanUseCondition, card);
|
|
|
- activateClass.SetUpActivateClass(CanActivateConditionShared, ActivateCoroutine, -1, true, EffectDescription());
|
|
|
|
|
|
|
+ activateClass.SetUpActivateClass(CanActivateConditionShared, ActivateCoroutine, -1, false, EffectDescription());
|
|
|
cardEffects.Add(activateClass);
|
|
cardEffects.Add(activateClass);
|
|
|
|
|
|
|
|
string EffectDescription()
|
|
string EffectDescription()
|
|
@@ -353,18 +353,15 @@ namespace DCGO.CardEffects.BT21
|
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
|
|
#region On Deletions Shared
|
|
#region On Deletions Shared
|
|
|
- bool CanUseConditionShared(Hashtable hashtable)
|
|
|
|
|
- {
|
|
|
|
|
- return CardEffectCommons.CanTriggerOnDeletion(hashtable, card);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
|
|
#region On deletion regular
|
|
#region On deletion regular
|
|
|
if(timing == EffectTiming.OnDestroyedAnyone)
|
|
if(timing == EffectTiming.OnDestroyedAnyone)
|
|
|
{
|
|
{
|
|
|
ActivateClass activateClass = new ActivateClass();
|
|
ActivateClass activateClass = new ActivateClass();
|
|
|
- activateClass.SetUpICardEffect("Play Cannonweissmon or level 4 or lower gammamon in text digimon", CanUseConditionShared, card);
|
|
|
|
|
- activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, true, EffectDescription());
|
|
|
|
|
|
|
+ activateClass.SetUpICardEffect("Play Cannonweissmon or level 4 or lower gammamon in text digimon", CanUseCondition, card);
|
|
|
|
|
+ activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, false, EffectDescription());
|
|
|
cardEffects.Add(activateClass);
|
|
cardEffects.Add(activateClass);
|
|
|
|
|
|
|
|
string EffectDescription()
|
|
string EffectDescription()
|
|
@@ -372,6 +369,11 @@ namespace DCGO.CardEffects.BT21
|
|
|
return "[On Deletion] You may play 1 [Canoweissmon] or 1 level 4 or lower Digimon card with [Gammamon] in its text from your trash without paying the cost.";
|
|
return "[On Deletion] You may play 1 [Canoweissmon] or 1 level 4 or lower Digimon card with [Gammamon] in its text from your trash without paying the cost.";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ bool CanUseCondition(Hashtable hashtable)
|
|
|
|
|
+ {
|
|
|
|
|
+ return CardEffectCommons.CanTriggerOnDeletion(hashtable, card);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
bool CanPlay(CardSource cardSource)
|
|
bool CanPlay(CardSource cardSource)
|
|
|
{
|
|
{
|
|
|
return ((cardSource.HasText("Gammamon") && cardSource.HasLevel && cardSource.Level <= 4) || cardSource.EqualsCardName("Cannonweissmon")) &&
|
|
return ((cardSource.HasText("Gammamon") && cardSource.HasLevel && cardSource.Level <= 4) || cardSource.EqualsCardName("Cannonweissmon")) &&
|
|
@@ -435,8 +437,8 @@ namespace DCGO.CardEffects.BT21
|
|
|
if (timing == EffectTiming.OnDestroyedAnyone)
|
|
if (timing == EffectTiming.OnDestroyedAnyone)
|
|
|
{
|
|
{
|
|
|
ActivateClass activateClass = new ActivateClass();
|
|
ActivateClass activateClass = new ActivateClass();
|
|
|
- activateClass.SetUpICardEffect("Play Cannonweissmon or level 4 or lower gammamon in text digimon", CanUseConditionShared, card);
|
|
|
|
|
- activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, true, EffectDescription());
|
|
|
|
|
|
|
+ activateClass.SetUpICardEffect("Play Cannonweissmon or level 4 or lower gammamon in text digimon", CanUseCondition, card);
|
|
|
|
|
+ activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, false, EffectDescription());
|
|
|
activateClass.SetIsInheritedEffect(true);
|
|
activateClass.SetIsInheritedEffect(true);
|
|
|
cardEffects.Add(activateClass);
|
|
cardEffects.Add(activateClass);
|
|
|
|
|
|
|
@@ -445,6 +447,11 @@ namespace DCGO.CardEffects.BT21
|
|
|
return "[On Deletion] You may play 1 level 4 or lower Digimon card with [Gammamon] in its text from your trash without paying the cost.";
|
|
return "[On Deletion] You may play 1 level 4 or lower Digimon card with [Gammamon] in its text from your trash without paying the cost.";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ bool CanUseCondition(Hashtable hashtable)
|
|
|
|
|
+ {
|
|
|
|
|
+ return CardEffectCommons.CanActivateOnDeletionInherited(hashtable, card);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
bool CanPlay(CardSource cardSource)
|
|
bool CanPlay(CardSource cardSource)
|
|
|
{
|
|
{
|
|
|
return cardSource.HasText("Gammamon") && cardSource.HasLevel && cardSource.Level <= 4 &&
|
|
return cardSource.HasText("Gammamon") && cardSource.HasLevel && cardSource.Level <= 4 &&
|
|
@@ -503,6 +510,7 @@ namespace DCGO.CardEffects.BT21
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
#endregion
|
|
#endregion
|
|
|
|
|
+
|
|
|
return cardEffects;
|
|
return cardEffects;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|