Просмотр исходного кода

dragon mode, paildramon, magnamon X, rapidmon fixes

mbunch_kascope 2 лет назад
Родитель
Сommit
66da894df4

+ 1 - 1
Assets/CardEffect/BT16/Blue/ImperialdramonDragonMode_BT16_028.cs

@@ -181,7 +181,7 @@ namespace DCGO.CardEffects.BT16
 
                 bool CanUseCondition(Hashtable hashtable)
                 {
-                    if(CardEffectCommons.CanTriggerOnPermanentPlay(hashtable, IsOpponentDigimon))
+                    if(CardEffectCommons.CanTriggerOnPermanentPlay(hashtable, IsOpponentDigimon) || CardEffectCommons.CanTriggerWhenPermanentDigivolving(hashtable, IsOpponentDigimon))
                     {
                         if (CardEffectCommons.IsByEffect(hashtable, null))
                         {

+ 2 - 2
Assets/CardEffect/BT16/Blue/Paildramon_BT16_025.cs

@@ -240,7 +240,7 @@ namespace DCGO.CardEffects.BT16
                         yield return null;
                     }
 
-                    bool suspendedPermanent = false;
+                    bool suspendedPermanent = true;
 
                     if (selectedPermanent != null)
                     {
@@ -250,7 +250,7 @@ namespace DCGO.CardEffects.BT16
                             {
                                 if (!selectedPermanent.IsSuspended && selectedPermanent.CanSuspend)
                                 {
-                                    suspendedPermanent = true;
+                                    suspendedPermanent = false;
                                 }
                             }
                         }

+ 1 - 1
Assets/CardEffect/BT16/Yellow/MagnamonXAntibody_BT16_102.cs

@@ -273,7 +273,7 @@ namespace DCGO.CardEffects.BT16
                         {
                             Hashtable effectHashtable = CardEffectCommons.WhenDigivolvingCheckHashtableOfCard(selectedEffect.EffectSourceCard);
 
-                            if (selectedEffect.IsDisabled)
+                            if (!selectedEffect.IsDisabled)
                             {
                                 yield return ContinuousController.instance.StartCoroutine(
                                 ((ActivateICardEffect)selectedEffect).Activate_Optional_Effect_Execute(effectHashtable));

+ 2 - 2
Assets/CardEffect/ST17/Green/Rapidmon_ST17_06.cs

@@ -82,8 +82,8 @@ namespace DCGO.CardEffects.ST17
 
                 bool CanUseCondition(Hashtable hashtable)
                 {
-                    return CardEffectCommons.CanTriggerWhenSelfPermanentSuspends(hashtable, card);
-                }
+                    return CardEffectCommons.CanTriggerWhenPermanentSuspends(hashtable, (permanent) => permanent == card.PermanentOfThisCard());
+            }
 
                 bool CanActivateCondition(Hashtable hashtable)
                 {