Explorar o código

兔子待机时间至少10s

lvjincheng %!s(int64=4) %!d(string=hai) anos
pai
achega
76eb81c472
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Assets/BowArrow/Scenes/GameChallengeScene/Rabbit.cs

+ 2 - 2
Assets/BowArrow/Scenes/GameChallengeScene/Rabbit.cs

@@ -202,7 +202,7 @@ public class Rabbit : TargetAnimal
     }
     void InitAutoStrategy() {
         autoStrategy = true;
-        this.willStayTime = 1 + Random.value * 4;
+        this.willStayTime = 3 + Random.value * 4;
         RandomWillMoveTime();
     }
     void PuaseAutoStrategy() {
@@ -216,7 +216,7 @@ public class Rabbit : TargetAnimal
         this.autoMovingTime = 0;
     }
     void RandomWillStayTime() {
-        this.willStayTime = Random.value * 3 + 5;
+        this.willStayTime = Random.value * 2 + 10;
     }
     void RandomWillMoveTime() {
         this.willMoveTime = Random.value * 2 + 3;