Explorar o código

双人游戏规则调整

lvjincheng %!s(int64=4) %!d(string=hai) anos
pai
achega
94dea1345f
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Assets/BowArrow/Scripts/Manager/GameMgr.cs

+ 2 - 2
Assets/BowArrow/Scripts/Manager/GameMgr.cs

@@ -266,7 +266,7 @@ public class PKGameMode : GameMode {
     float[] targetDistancesOnRound = {10, 20, 30, 50, 70, 70};
     int maxRound = 5;
     int shootCount = 0;
-    int maxShootCount = 1;
+    int maxShootCount = 3;
     public float singleShootReadyTime = 20;
     public float singleShootReadyMaxTime = 20;
     bool singleShootTimeRunning = false;
@@ -299,7 +299,7 @@ public class PKGameMode : GameMode {
     int[] playerIndexSequenceRecord = {0, 1};
     void InitPlayerIndexSequence()
     {
-        if (round >= 3)
+        if (round >= 2)
         {
             if (totalScores[0] < totalScores[1])
             {