Explorar el Código

Fix treating tamer turned digimon as still not having DP

hooperk hace 3 meses
padre
commit
8997e5ee9a
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Assets/Scripts/Script/CardController.cs

+ 2 - 2
Assets/Scripts/Script/CardController.cs

@@ -4485,7 +4485,7 @@ public class IBattle
     {
         hashtable = new Hashtable();
 
-        if (AttackingPermanent != null && AttackingPermanent.TopCard.HasDP)
+        if (AttackingPermanent != null && AttackingPermanent.HasDP)
         {
             bool IsExistingDefender()
             {
@@ -4496,7 +4496,7 @@ public class IBattle
                     {
                         if (DefendingPermanent.TopCard != null)
                         {
-                            return DefendingPermanent.TopCard.HasDP;
+                            return DefendingPermanent.HasDP;
                         }
                     }
                     else if (DefendingCard != null)