Procházet zdrojové kódy

兔子待机时间至少10s

lvjincheng před 4 roky
rodič
revize
76eb81c472

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

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