Prechádzať zdrojové kódy

修复了掉落魂为1时不掉落魂的问题

HY-LSZNWIN10\Administrator 2 mesiacov pred
rodič
commit
b538793c7b

+ 1 - 1
ActionTowerDefense/Assets/Scripts/Characters/Enemy.cs

@@ -619,7 +619,7 @@ public class Enemy : MoveCharacter
     public void DropSouls()
     {
         int dropSoulNum = Random.Range(dropSoulMin, dropSoulMax + 1);
-        if (dropSoulNum > 1)
+        if (dropSoulNum >= 1)
         {
             for (int i = 0; i < dropSoulNum; i++)
             {