Explorar o código

修复捡魂无效的bug

HY-LSZNWIN10\Administrator hai 1 mes
pai
achega
81b3329b20
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      ActionTowerDefense/Assets/Scripts/Soul.cs

+ 3 - 2
ActionTowerDefense/Assets/Scripts/Soul.cs

@@ -104,8 +104,9 @@ public class Soul : MonoBehaviour
         }
         else
         {
-            if (GameManager.instance.isSkyEnable) PlayersInput.instance[id].mp += addMp * scale;
-            else PlayersInput.instance[id].mp += addMp;
+            //if (GameManager.instance.isSkyEnable) PlayersInput.instance[id].mp += addMp * scale;
+            //else PlayersInput.instance[id].mp += addMp;
+            PlayersInput.instance[id].mp += addMp;
         }
         
     }