|
|
@@ -110,7 +110,7 @@ namespace DCGO.CardEffects.BT25
|
|
|
{
|
|
|
ActivateClass activateClass = new ActivateClass();
|
|
|
activateClass.SetUpICardEffect("Play 1 level 4 or lower [Angel]/[Illad] trait card from hand without cost, then 2 digimon gain reboot & blocker until opponent turn end", CanUseCondition, card);
|
|
|
- activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, 1, true, EffectDescription());
|
|
|
+ activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, 1, false, EffectDescription());
|
|
|
activateClass.SetHashString("BT25_042_AT");
|
|
|
cardEffects.Add(activateClass);
|
|
|
|
|
|
@@ -121,20 +121,20 @@ namespace DCGO.CardEffects.BT25
|
|
|
|
|
|
bool CanUseCondition(Hashtable hashtable)
|
|
|
{
|
|
|
- return CardEffectCommons.IsExistOnBattleAreaDigimon(card)
|
|
|
+ return CardEffectCommons.IsExistOnBattleAreaTrigger(card, activateClass)
|
|
|
&& CardEffectCommons.CanTriggerWhenLoseSecurity(hashtable, owner => owner == card.Owner);
|
|
|
}
|
|
|
|
|
|
bool CanActivateCondition(Hashtable hashtable)
|
|
|
{
|
|
|
- return CardEffectCommons.IsExistOnBattleAreaDigimon(card);
|
|
|
+ return CardEffectCommons.IsExistOnBattleAreaActivate(card, activateClass);
|
|
|
}
|
|
|
|
|
|
bool CanPlayCardCondition(CardSource cardSource)
|
|
|
=> cardSource.HasLevel
|
|
|
&& cardSource.Level <= 4
|
|
|
- && CardEffectCommons.CanPlayAsNewPermanent(card, false, activateClass)
|
|
|
- && (cardSource.EqualsTraits("Angel") || cardSource.HasIliadTraits);
|
|
|
+ && (cardSource.EqualsTraits("Angel") || cardSource.HasIliadTraits)
|
|
|
+ && CardEffectCommons.CanPlayAsNewPermanent(cardSource, false, activateClass);
|
|
|
|
|
|
bool IsOwnedDigimon(Permanent permanent)
|
|
|
=> CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card);
|
|
|
@@ -164,7 +164,7 @@ namespace DCGO.CardEffects.BT25
|
|
|
}
|
|
|
|
|
|
List<Permanent> selectedPermaments = new List<Permanent>(); ;
|
|
|
- if (CardEffectCommons.MatchConditionOwnersPermanentCount(card, IsOwnedDigimon) >= 1)
|
|
|
+ if (CardEffectCommons.HasMatchConditionOwnersPermanent(card, IsOwnedDigimon))
|
|
|
{
|
|
|
SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
|
|
|
int maxCount = Math.Min(2, CardEffectCommons.MatchConditionOwnersPermanentCount(card, IsOwnedDigimon));
|