|
|
@@ -13,102 +13,102 @@ namespace DCGO.CardEffects.BT20
|
|
|
public override List<ICardEffect> CardEffects(EffectTiming timing, CardSource card)
|
|
|
{
|
|
|
List<ICardEffect> cardEffects = new List<ICardEffect>();
|
|
|
+
|
|
|
#region DNA Digivolve
|
|
|
if (timing == EffectTiming.None)
|
|
|
{
|
|
|
- AddJogressConditionClass addJogressConditionClass = new AddJogressConditionClass();
|
|
|
- addJogressConditionClass.SetUpICardEffect($"DNA Digivolution", CanUseCondition, card);
|
|
|
- addJogressConditionClass.SetUpAddJogressConditionClass(getJogressCondition: GetJogress);
|
|
|
- addJogressConditionClass.SetNotShowUI(true);
|
|
|
- cardEffects.Add(addJogressConditionClass);
|
|
|
+ AddJogressConditionClass addJogressConditionClass = new AddJogressConditionClass();
|
|
|
+ addJogressConditionClass.SetUpICardEffect($"DNA Digivolution", CanUseCondition, card);
|
|
|
+ addJogressConditionClass.SetUpAddJogressConditionClass(getJogressCondition: GetJogress);
|
|
|
+ addJogressConditionClass.SetNotShowUI(true);
|
|
|
+ cardEffects.Add(addJogressConditionClass);
|
|
|
|
|
|
- bool CanUseCondition(Hashtable hashtable)
|
|
|
- {
|
|
|
- return true;
|
|
|
- }
|
|
|
+ bool CanUseCondition(Hashtable hashtable)
|
|
|
+ {
|
|
|
+ return true;
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
|
|
- JogressCondition GetJogress(CardSource cardSource)
|
|
|
- {
|
|
|
- if (cardSource == card)
|
|
|
+ JogressCondition GetJogress(CardSource cardSource)
|
|
|
{
|
|
|
- bool PermanentCondition1(Permanent permanent)
|
|
|
+ if (cardSource == card)
|
|
|
{
|
|
|
- if (permanent != null)
|
|
|
+ bool PermanentCondition1(Permanent permanent)
|
|
|
{
|
|
|
- if (permanent.TopCard != null)
|
|
|
+ if (permanent != null)
|
|
|
{
|
|
|
- if (CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card))
|
|
|
-
|
|
|
+ if (permanent.TopCard != null)
|
|
|
{
|
|
|
- if (permanent.TopCard.CardColors.Contains(CardColor.Purple))
|
|
|
+ if (CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card))
|
|
|
+
|
|
|
+ {
|
|
|
+ if (permanent.TopCard.CardColors.Contains(CardColor.Purple))
|
|
|
+ {
|
|
|
+ if (permanent.Levels_ForJogress(card).Contains(4))
|
|
|
{
|
|
|
- if (permanent.Levels_ForJogress(card).Contains(4))
|
|
|
- {
|
|
|
- return true;
|
|
|
- }
|
|
|
+ return true;
|
|
|
}
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
|
|
|
- return false;
|
|
|
- }
|
|
|
+ return false;
|
|
|
+ }
|
|
|
|
|
|
- bool PermanentCondition2(Permanent permanent)
|
|
|
- {
|
|
|
- if (permanent != null)
|
|
|
+ bool PermanentCondition2(Permanent permanent)
|
|
|
{
|
|
|
- if (permanent.TopCard != null)
|
|
|
+ if (permanent != null)
|
|
|
{
|
|
|
- if (CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card))
|
|
|
- {
|
|
|
- if (permanent.TopCard.CardColors.Contains(CardColor.Red))
|
|
|
+ if (permanent.TopCard != null)
|
|
|
+ {
|
|
|
+ if (CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card))
|
|
|
+ {
|
|
|
+ if (permanent.TopCard.CardColors.Contains(CardColor.Red))
|
|
|
+ {
|
|
|
+ if (permanent.Levels_ForJogress(card).Contains(4))
|
|
|
{
|
|
|
- if (permanent.Levels_ForJogress(card).Contains(4))
|
|
|
- {
|
|
|
- return true;
|
|
|
- }
|
|
|
+ return true;
|
|
|
}
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ return false;
|
|
|
}
|
|
|
|
|
|
- return false;
|
|
|
- }
|
|
|
+ JogressConditionElement[] elements = new JogressConditionElement[]
|
|
|
+ {
|
|
|
+ new JogressConditionElement(PermanentCondition1, "a level 4 red Digimon"),
|
|
|
|
|
|
- JogressConditionElement[] elements = new JogressConditionElement[]
|
|
|
- {
|
|
|
- new JogressConditionElement(PermanentCondition1, "a level 4 red Digimon"),
|
|
|
+ new JogressConditionElement(PermanentCondition2, "a level 4 purple Digimon"),
|
|
|
+ };
|
|
|
|
|
|
- new JogressConditionElement(PermanentCondition2, "a level 4 purple Digimon"),
|
|
|
- };
|
|
|
+ JogressCondition jogressCondition = new JogressCondition(elements, 0);
|
|
|
|
|
|
- JogressCondition jogressCondition = new JogressCondition(elements, 0);
|
|
|
+ return jogressCondition;
|
|
|
+ }
|
|
|
|
|
|
- return jogressCondition;
|
|
|
+ return null;
|
|
|
}
|
|
|
-
|
|
|
- return null;
|
|
|
- }
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
- #endregion
|
|
|
|
|
|
|
|
|
- #region On Digivolving
|
|
|
+ #endregion
|
|
|
+
|
|
|
+ #region On Play
|
|
|
if (timing == EffectTiming.OnEnterFieldAnyone)
|
|
|
{
|
|
|
ActivateClass activateClass = new ActivateClass();
|
|
|
- activateClass.SetUpICardEffect("1 Digimon gains Piercing and 4000DP, then this digimon may attack", CanUseCondition, card);
|
|
|
+ activateClass.SetUpICardEffect("Piercing and Digivolve into Imperialdramon Dragon Mode", CanUseCondition, card);
|
|
|
activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, false, EffectDiscription());
|
|
|
cardEffects.Add(activateClass);
|
|
|
|
|
|
string EffectDiscription()
|
|
|
{
|
|
|
- return "[When Digivolving] For the turn, 1 of your Digimon gains <Piercing> (When this Digimon attacks and deletes an opponent's Digimon and survives the battle, it performs any security checks it normally would) and gets +4000 DP. Then, this Digimon may attack.";
|
|
|
+ return "[On Play]For the turn, 1 of your Digimon gains <Piercing> (When this Digimon attacks and deletes an opponent's Digimon and survives the battle, it performs any security checks it normally would) and gets +4000 DP. Then, this Digimon may attack.";
|
|
|
}
|
|
|
|
|
|
bool CanSelectPermanentCondition(Permanent permanent)
|
|
|
@@ -123,52 +123,53 @@ namespace DCGO.CardEffects.BT20
|
|
|
|
|
|
bool CanUseCondition(Hashtable hashtable)
|
|
|
{
|
|
|
- return CardEffectCommons.CanTriggerWhenDigivolving(hashtable,card);
|
|
|
+ return CardEffectCommons.CanTriggerOptionMainEffect(hashtable, card);
|
|
|
}
|
|
|
|
|
|
- IEnumerator ActivateCoroutine(Hashtable _hashtable)
|
|
|
- {
|
|
|
- if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition))
|
|
|
+ IEnumerator ActivateCoroutine(Hashtable _hashtable)
|
|
|
{
|
|
|
- int maxCount = Math.Min(1, CardEffectCommons.MatchConditionPermanentCount(CanSelectPermanentCondition));
|
|
|
-
|
|
|
- SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
|
|
|
+ if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition))
|
|
|
+ {
|
|
|
+ int maxCount = Math.Min(1, CardEffectCommons.MatchConditionPermanentCount(CanSelectPermanentCondition));
|
|
|
+
|
|
|
+ SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
|
|
|
+
|
|
|
+ selectPermanentEffect.SetUp(
|
|
|
+ selectPlayer: card.Owner,
|
|
|
+ canTargetCondition: CanSelectPermanentCondition,
|
|
|
+ canTargetCondition_ByPreSelecetedList: null,
|
|
|
+ canEndSelectCondition: null,
|
|
|
+ maxCount: maxCount,
|
|
|
+ canNoSelect: false,
|
|
|
+ canEndNotMax: false,
|
|
|
+ selectPermanentCoroutine: SelectPermanentCoroutine,
|
|
|
+ afterSelectPermanentCoroutine: null,
|
|
|
+ mode: SelectPermanentEffect.Mode.Custom,
|
|
|
+ cardEffect: activateClass);
|
|
|
|
|
|
- selectPermanentEffect.SetUp(
|
|
|
- selectPlayer: card.Owner,
|
|
|
- canTargetCondition: CanSelectPermanentCondition,
|
|
|
- canTargetCondition_ByPreSelecetedList: null,
|
|
|
- canEndSelectCondition: null,
|
|
|
- maxCount: maxCount,
|
|
|
- canNoSelect: false,
|
|
|
- canEndNotMax: false,
|
|
|
- selectPermanentCoroutine: SelectPermanentCoroutine,
|
|
|
- afterSelectPermanentCoroutine: null,
|
|
|
- mode: SelectPermanentEffect.Mode.Custom,
|
|
|
- cardEffect: activateClass);
|
|
|
+ selectPermanentEffect.SetUpCustomMessage(
|
|
|
+ "Select 1 Digimon that will gain Pierce and 4000DP.",
|
|
|
+ "The opponent is selecting 1 Digimon that will gain Pierce and 4000DP.");
|
|
|
|
|
|
- selectPermanentEffect.SetUpCustomMessage(
|
|
|
- "Select 1 Digimon that will gain Pierce and 4000DP.",
|
|
|
- "The opponent is selecting 1 Digimon that will gain Pierce and 4000DP.");
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(selectPermanentEffect.Activate());
|
|
|
|
|
|
- yield return ContinuousController.instance.StartCoroutine(selectPermanentEffect.Activate());
|
|
|
+ IEnumerator SelectPermanentCoroutine(Permanent permanent)
|
|
|
+ {
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.GainPierce(
|
|
|
+ targetPermanent: permanent,
|
|
|
+ effectDuration: EffectDuration.UntilEachTurnEnd,
|
|
|
+ activateClass: activateClass));
|
|
|
|
|
|
- IEnumerator SelectPermanentCoroutine(Permanent permanent)
|
|
|
- {
|
|
|
- yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.GainPierce(
|
|
|
- targetPermanent: permanent,
|
|
|
- effectDuration: EffectDuration.UntilEachTurnEnd,
|
|
|
- activateClass: activateClass));
|
|
|
yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.ChangeDigimonDP(
|
|
|
targetPermanent: permanent,
|
|
|
changeValue: 4000,
|
|
|
- effectDuration: EffectDuration.UntilEachTurnEnd,
|
|
|
+ effectDuration: EffectDuration.UntilEachTurnEnd,
|
|
|
activateClass: activateClass));
|
|
|
|
|
|
+
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
-
|
|
|
- if (card.PermanentOfThisCard().CanAttack(activateClass))
|
|
|
+ if (card.PermanentOfThisCard().CanAttack(activateClass))
|
|
|
{
|
|
|
SelectAttackEffect selectAttackEffect = GManager.instance.GetComponent<SelectAttackEffect>();
|
|
|
|
|
|
@@ -180,115 +181,117 @@ namespace DCGO.CardEffects.BT20
|
|
|
|
|
|
yield return ContinuousController.instance.StartCoroutine(selectAttackEffect.Activate());
|
|
|
}
|
|
|
+ }
|
|
|
}
|
|
|
-
|
|
|
#endregion
|
|
|
-
|
|
|
- #region On Play
|
|
|
+
|
|
|
+ #region On Digivolving
|
|
|
if (timing == EffectTiming.OnEnterFieldAnyone)
|
|
|
{
|
|
|
- ActivateClass activateClass1 = new ActivateClass();
|
|
|
- activateClass1.SetUpICardEffect("Piercing and Digivolve into Imperialdramon Dragon Mode", CanUseCondition1, card);
|
|
|
- activateClass1.SetUpActivateClass(CanActivateCondition1, ActivateCoroutine1, -1, false, EffectDiscription1());
|
|
|
- cardEffects.Add(activateClass1);
|
|
|
+ ActivateClass activateClass = new ActivateClass();
|
|
|
+ activateClass.SetUpICardEffect("1 Digimon gains Piercing and 4000DP, then this digimon may attack", CanUseCondition, card);
|
|
|
+ activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, false, EffectDiscription());
|
|
|
+ cardEffects.Add(activateClass);
|
|
|
|
|
|
- string EffectDiscription1()
|
|
|
+ string EffectDiscription()
|
|
|
{
|
|
|
- return "[On Play]For the turn, 1 of your Digimon gains <Piercing> (When this Digimon attacks and deletes an opponent's Digimon and survives the battle, it performs any security checks it normally would) and gets +4000 DP. Then, this Digimon may attack.";
|
|
|
+ return "[When Digivolving] For the turn, 1 of your Digimon gains <Piercing> (When this Digimon attacks and deletes an opponent's Digimon and survives the battle, it performs any security checks it normally would) and gets +4000 DP. Then, this Digimon may attack.";
|
|
|
}
|
|
|
|
|
|
- bool CanSelectPermanentCondition1(Permanent permanent)
|
|
|
+ bool CanSelectPermanentCondition(Permanent permanent)
|
|
|
{
|
|
|
return CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card);
|
|
|
}
|
|
|
|
|
|
- bool CanActivateCondition1(Hashtable hashtable)
|
|
|
+ bool CanActivateCondition(Hashtable hashtable)
|
|
|
{
|
|
|
return CardEffectCommons.IsExistOnBattleAreaDigimon(card);
|
|
|
}
|
|
|
|
|
|
- bool CanUseCondition1(Hashtable hashtable)
|
|
|
+ bool CanUseCondition(Hashtable hashtable)
|
|
|
{
|
|
|
- return CardEffectCommons.CanTriggerOptionMainEffect(hashtable, card);
|
|
|
+ return CardEffectCommons.CanTriggerWhenDigivolving(hashtable, card);
|
|
|
}
|
|
|
|
|
|
- IEnumerator ActivateCoroutine1(Hashtable _hashtable)
|
|
|
- {
|
|
|
- if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition1))
|
|
|
+ IEnumerator ActivateCoroutine(Hashtable _hashtable)
|
|
|
{
|
|
|
- int maxCount = Math.Min(1, CardEffectCommons.MatchConditionPermanentCount(CanSelectPermanentCondition));
|
|
|
-
|
|
|
- SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
|
|
|
+ if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition))
|
|
|
+ {
|
|
|
+ int maxCount = Math.Min(1, CardEffectCommons.MatchConditionPermanentCount(CanSelectPermanentCondition));
|
|
|
+
|
|
|
+ SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
|
|
|
+
|
|
|
+ selectPermanentEffect.SetUp(
|
|
|
+ selectPlayer: card.Owner,
|
|
|
+ canTargetCondition: CanSelectPermanentCondition,
|
|
|
+ canTargetCondition_ByPreSelecetedList: null,
|
|
|
+ canEndSelectCondition: null,
|
|
|
+ maxCount: maxCount,
|
|
|
+ canNoSelect: false,
|
|
|
+ canEndNotMax: false,
|
|
|
+ selectPermanentCoroutine: SelectPermanentCoroutine,
|
|
|
+ afterSelectPermanentCoroutine: null,
|
|
|
+ mode: SelectPermanentEffect.Mode.Custom,
|
|
|
+ cardEffect: activateClass);
|
|
|
|
|
|
- selectPermanentEffect.SetUp(
|
|
|
- selectPlayer: card.Owner,
|
|
|
- canTargetCondition: CanSelectPermanentCondition,
|
|
|
- canTargetCondition_ByPreSelecetedList: null,
|
|
|
- canEndSelectCondition: null,
|
|
|
- maxCount: maxCount,
|
|
|
- canNoSelect: false,
|
|
|
- canEndNotMax: false,
|
|
|
- selectPermanentCoroutine: SelectPermanentCoroutine,
|
|
|
- afterSelectPermanentCoroutine: null,
|
|
|
- mode: SelectPermanentEffect.Mode.Custom,
|
|
|
- cardEffect: activateClass1);
|
|
|
+ selectPermanentEffect.SetUpCustomMessage(
|
|
|
+ "Select 1 Digimon that will gain Pierce and 4000DP.",
|
|
|
+ "The opponent is selecting 1 Digimon that will gain Pierce and 4000DP.");
|
|
|
|
|
|
- selectPermanentEffect.SetUpCustomMessage(
|
|
|
- "Select 1 Digimon that will gain Pierce and 4000DP.",
|
|
|
- "The opponent is selecting 1 Digimon that will gain Pierce and 4000DP.");
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(selectPermanentEffect.Activate());
|
|
|
|
|
|
- yield return ContinuousController.instance.StartCoroutine(selectPermanentEffect.Activate());
|
|
|
+ IEnumerator SelectPermanentCoroutine(Permanent permanent)
|
|
|
+ {
|
|
|
+ yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.GainPierce(
|
|
|
+ targetPermanent: permanent,
|
|
|
+ effectDuration: EffectDuration.UntilEachTurnEnd,
|
|
|
+ activateClass: activateClass));
|
|
|
|
|
|
- IEnumerator SelectPermanentCoroutine(Permanent permanent)
|
|
|
- {
|
|
|
- yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.GainPierce(
|
|
|
- targetPermanent: permanent,
|
|
|
- effectDuration: EffectDuration.UntilEachTurnEnd,
|
|
|
- activateClass: activateClass));
|
|
|
-
|
|
|
yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.ChangeDigimonDP(
|
|
|
targetPermanent: permanent,
|
|
|
changeValue: 4000,
|
|
|
- effectDuration: EffectDuration.UntilEachTurnEnd,
|
|
|
+ effectDuration: EffectDuration.UntilEachTurnEnd,
|
|
|
activateClass: activateClass));
|
|
|
-
|
|
|
-
|
|
|
+ }
|
|
|
}
|
|
|
- }
|
|
|
- if (card.PermanentOfThisCard().CanAttack(activateClass))
|
|
|
- {
|
|
|
+
|
|
|
+ if (card.PermanentOfThisCard().CanAttack(activateClass))
|
|
|
+ {
|
|
|
SelectAttackEffect selectAttackEffect = GManager.instance.GetComponent<SelectAttackEffect>();
|
|
|
|
|
|
selectAttackEffect.SetUp(
|
|
|
attacker: card.PermanentOfThisCard(),
|
|
|
canAttackPlayerCondition: () => true,
|
|
|
defenderCondition: _ => true,
|
|
|
- cardEffect: activateClass1);
|
|
|
+ cardEffect: activateClass);
|
|
|
|
|
|
yield return ContinuousController.instance.StartCoroutine(selectAttackEffect.Activate());
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- }
|
|
|
+
|
|
|
#endregion
|
|
|
|
|
|
- #region All Turns
|
|
|
- if(timing == EffectTiming.WhenPermanentWouldBeDeleted){
|
|
|
- ActivateClass activateClass1 = new ActivateClass();
|
|
|
- activateClass1.SetUpICardEffect("If would be deleted, DNA Digivolve", CanUseCondition1, card);
|
|
|
- activateClass1.SetUpActivateClass(CanActivateCondition2, ActivateCoroutine1, -1, true, EffectDiscription1());
|
|
|
- activateClass1.SetHashString("Dna Digivolve into Imperialdramon Dragon Mode");
|
|
|
+ #region All Turns
|
|
|
+ if (timing == EffectTiming.WhenPermanentWouldBeDeleted)
|
|
|
+ {
|
|
|
+ ActivateClass activateClass = new ActivateClass();
|
|
|
+ activateClass.SetUpICardEffect("If would be deleted, DNA Digivolve", CanUseCondition, card);
|
|
|
+ activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, true, EffectDiscription());
|
|
|
+ activateClass.SetHashString("Dna Digivolve into Imperialdramon Dragon Mode");
|
|
|
cardEffects.Add(activateClass);
|
|
|
|
|
|
- string EffectDiscription1(){
|
|
|
+ string EffectDiscription()
|
|
|
+ {
|
|
|
return "[All Turns] When any of your [Paildramon]/[Dinobeemon] would be deleted, 2 of your Digimon may DNA digivolve into [Imperialdramon: Dragon Mode] in the hand.";
|
|
|
}
|
|
|
|
|
|
- bool isPaildramonOrDinoBeemon(Permanent permanent){
|
|
|
-
|
|
|
+ bool isPaildramonOrDinoBeemon(Permanent permanent)
|
|
|
+ {
|
|
|
+
|
|
|
if (CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card))
|
|
|
{
|
|
|
- if(permanent.TopCard.EqualsCardName("Dinobeemon") || permanent.TopCard.EqualsCardName("Paildramon"))
|
|
|
+ if (permanent.TopCard.EqualsCardName("Dinobeemon") || permanent.TopCard.EqualsCardName("Paildramon"))
|
|
|
{
|
|
|
return true;
|
|
|
}
|
|
|
@@ -296,8 +299,8 @@ namespace DCGO.CardEffects.BT20
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
- bool CanActivateCondition2(Hashtable hashtable)
|
|
|
+
|
|
|
+ bool CanActivateCondition(Hashtable hashtable)
|
|
|
{
|
|
|
return CardEffectCommons.CanTriggerWhenPermanentRemoveField(hashtable, isPaildramonOrDinoBeemon);
|
|
|
}
|
|
|
@@ -317,22 +320,14 @@ namespace DCGO.CardEffects.BT20
|
|
|
|
|
|
return false;
|
|
|
}
|
|
|
- bool CanUseCondition1(Hashtable hashtable)
|
|
|
+ bool CanUseCondition(Hashtable hashtable)
|
|
|
{
|
|
|
return CardEffectCommons.IsExistOnBattleAreaDigimon(card);
|
|
|
}
|
|
|
|
|
|
- bool CanActivateCondition1(Hashtable hashtable)
|
|
|
- {
|
|
|
- if (CardEffectCommons.MatchConditionPermanentCount(isPaildramonOrDinoBeemon)>=2){
|
|
|
- return true;
|
|
|
- }
|
|
|
- return false;
|
|
|
- }
|
|
|
-
|
|
|
- IEnumerator ActivateCoroutine1(Hashtable hashtable)
|
|
|
+ IEnumerator ActivateCoroutine(Hashtable hashtable)
|
|
|
{
|
|
|
-
|
|
|
+
|
|
|
List<CardSource> selectedCards = new List<CardSource>();
|
|
|
|
|
|
int maxCount = 1;
|
|
|
@@ -435,27 +430,25 @@ namespace DCGO.CardEffects.BT20
|
|
|
}
|
|
|
#endregion
|
|
|
|
|
|
-
|
|
|
#region InheritedEffect
|
|
|
if (timing == EffectTiming.None)
|
|
|
- {
|
|
|
+ {
|
|
|
cardEffects.Add(CardEffectFactory.ChangeSelfSAttackStaticEffect(changeValue: 1, isInheritedEffect: true, card: card, condition: null));
|
|
|
- }
|
|
|
- #endregion
|
|
|
-
|
|
|
}
|
|
|
+ #endregion
|
|
|
+
|
|
|
return cardEffects;
|
|
|
}
|
|
|
|
|
|
- private bool _endSelect = false;
|
|
|
- private int[] _jogressEvoRootsFrameIDs = new int[0];
|
|
|
+ private bool _endSelect = false;
|
|
|
+ private int[] _jogressEvoRootsFrameIDs = new int[0];
|
|
|
|
|
|
- [PunRPC]
|
|
|
- public void SetJogressEvoRootsFrameIDs(int[] JogressEvoRootsFrameIDs)
|
|
|
- {
|
|
|
- this._jogressEvoRootsFrameIDs = JogressEvoRootsFrameIDs;
|
|
|
- _endSelect = true;
|
|
|
- }
|
|
|
+ [PunRPC]
|
|
|
+ public void SetJogressEvoRootsFrameIDs(int[] JogressEvoRootsFrameIDs)
|
|
|
+ {
|
|
|
+ this._jogressEvoRootsFrameIDs = JogressEvoRootsFrameIDs;
|
|
|
+ _endSelect = true;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|