|
|
@@ -16,7 +16,7 @@ namespace DCGO.CardEffects.ST20
|
|
|
{
|
|
|
static bool PermanentCondition(Permanent targetPermanent)
|
|
|
{
|
|
|
- return targetPermanent.TopCard.EqualsTraits("ADVENTURE") && targetPermanent.TopCard.HasLevel && targetPermanent.TopCard.Level == 4;
|
|
|
+ return targetPermanent.TopCard.HasAdventureTraits && targetPermanent.TopCard.HasLevel && targetPermanent.TopCard.Level == 4;
|
|
|
}
|
|
|
|
|
|
cardEffects.Add(CardEffectFactory.AddSelfDigivolutionRequirementStaticEffect(permanentCondition: PermanentCondition, digivolutionCost: 3, ignoreDigivolutionRequirement: false, card: card, condition: null));
|
|
|
@@ -53,7 +53,7 @@ namespace DCGO.CardEffects.ST20
|
|
|
{
|
|
|
foreach (CardSource cardSource in card.Owner.HandCards)
|
|
|
{
|
|
|
- if (cardSource.EqualsTraits("ADVENTURE"))
|
|
|
+ if (cardSource.HasAdventureTraits)
|
|
|
{
|
|
|
if (cardSource.CanPlayCardTargetFrame(permanent.PermanentFrame, false, activateClass))
|
|
|
{
|
|
|
@@ -69,7 +69,7 @@ namespace DCGO.CardEffects.ST20
|
|
|
|
|
|
bool ValidDigivolveIntoHand(CardSource source)
|
|
|
{
|
|
|
- return source.EqualsTraits("ADVENTURE");
|
|
|
+ return source.HasAdventureTraits;
|
|
|
}
|
|
|
|
|
|
bool CanUseCondition(Hashtable hashtable)
|
|
|
@@ -158,7 +158,7 @@ namespace DCGO.CardEffects.ST20
|
|
|
{
|
|
|
foreach (CardSource cardSource in card.Owner.HandCards)
|
|
|
{
|
|
|
- if (cardSource.EqualsTraits("ADVENTURE"))
|
|
|
+ if (cardSource.HasAdventureTraits)
|
|
|
{
|
|
|
if (cardSource.CanPlayCardTargetFrame(permanent.PermanentFrame, false, activateClass))
|
|
|
{
|
|
|
@@ -174,7 +174,7 @@ namespace DCGO.CardEffects.ST20
|
|
|
|
|
|
bool ValidDigivolveIntoHand(CardSource source)
|
|
|
{
|
|
|
- return source.EqualsTraits("ADVENTURE");
|
|
|
+ return source.HasAdventureTraits;
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -258,7 +258,7 @@ namespace DCGO.CardEffects.ST20
|
|
|
{
|
|
|
if (CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card) && permanent != card.PermanentOfThisCard())
|
|
|
{
|
|
|
- return permanent.TopCard.EqualsTraits("ADVENTURE");
|
|
|
+ return permanent.TopCard.HasAdventureTraits;
|
|
|
}
|
|
|
return false;
|
|
|
}
|