diff options
author | Florrie <towerofnix@gmail.com> | 2018-08-09 21:09:42 -0300 |
---|---|---|
committer | Florrie <towerofnix@gmail.com> | 2018-08-09 21:09:42 -0300 |
commit | fa469092ab153abcb3152b54368927e3f7a772e4 (patch) | |
tree | eafb49113cb4cb60815f1eceb9ebb7c01cdb760d | |
parent | ec47074f8cc2503de3eada5247e483d0d02c561e (diff) |
Tweak action timings
-rw-r--r-- | index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/index.js b/index.js index e9cbfc7..24cccbe 100644 --- a/index.js +++ b/index.js @@ -102,7 +102,7 @@ class ATBBar { update(dt) { // ATB gauge progressing if (!this.battleCharacter.isExecutingChain) { - this.progress = Math.min(1, this.progress + dt / this.segmentCount) + this.progress = Math.min(1, this.progress + dt * 1.5 / this.segmentCount) } // ATB gauge visual update @@ -293,7 +293,7 @@ class BattleCharacter extends Sprite { this.isExecutingChain = true this.isExecutingAction = true - this.actionExecuteTime = 1 + this.actionExecuteTime = 0.4 + 0.2 * action.size } update(dt) { |