From fa469092ab153abcb3152b54368927e3f7a772e4 Mon Sep 17 00:00:00 2001 From: Florrie Date: Thu, 9 Aug 2018 21:09:42 -0300 Subject: Tweak action timings --- index.js | 4 ++-- 1 file 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) { -- cgit 1.3.0-6-gf8a5