Browse Source

Merge branch 'master' of http://zhi-edu.com:3000/lan/zedu_client

Administrator 3 years ago
parent
commit
ec9ab0452e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/script/rule/GuideRule.ts

+ 1 - 1
assets/script/rule/GuideRule.ts

@@ -546,7 +546,7 @@ export default class GuideRule extends cc.Component {
                         let shakeTime = 0.05
                         let shakeTime = 0.05
                         actionTween.then(
                         actionTween.then(
                             t().repeat(
                             t().repeat(
-                                Math.ceil((customAction.runTime / shakeTime) * 10),
+                                Math.ceil(customAction.runTime / (shakeTime * 10)),
                                 t()
                                 t()
                                     .by(shakeTime, {x: 5, y: 7})
                                     .by(shakeTime, {x: 5, y: 7})
                                     .by(shakeTime, {x: -6, y: -7})
                                     .by(shakeTime, {x: -6, y: -7})