Bladeren bron

Fix Linked DP should apply with other plus and minus

hooperk 5 maanden geleden
bovenliggende
commit
521beba054
1 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 4 4
      Assets/Scripts/Script/Permanent.cs

+ 4 - 4
Assets/Scripts/Script/Permanent.cs

@@ -466,6 +466,8 @@ public class Permanent
                     }
                 }
             }
+            
+            DP += LinkedDP;
 
             foreach (ICardEffect cardEffect in cardEffects_ChangeDP_NotIsUpDown)
             {
@@ -486,8 +488,6 @@ public class Permanent
             }
             #endregion
 
-            DP += LinkedDP;
-
             if (DP < 0)
             {
                 DP = 0;
@@ -635,6 +635,8 @@ public class Permanent
                         }
                     }
                 }
+                
+                DP += LinkedDP;
 
                 foreach (ICardEffect cardEffect in cardEffects_ChangeDP_NotIsUpDown)
                 {
@@ -655,8 +657,6 @@ public class Permanent
                 }
                 #endregion
 
-                DP += LinkedDP;
-
                 if (DP < 0)
                 {
                     DP = 0;