« get me outta code hell

Fix aqua chain not existing - csb-game - Pixelly spin-off of the Command Synergy Battle system used in Final Fantasy XIII
summary refs log tree commit diff
path: root/index.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-08-17 09:20:51 -0300
committerFlorrie <towerofnix@gmail.com>2018-08-17 09:20:54 -0300
commit7c37b0c721ec7ae12be80329b95cbe7c0cc9541d (patch)
tree1bdd7ab8d42d23c80bbf082b3799ae3efe70613d /index.js
parent62a74e3f812b81da5195313d0498b9adbbc59621 (diff)
Fix aqua chain not existing
This caused a crash when any Aqua move was in your player character's
known actions (i.e. Ren dies and Fie becomes leader).
Diffstat (limited to 'index.js')
-rw-r--r--index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.js b/index.js
index 955fcb7..5e52dc4 100644
--- a/index.js
+++ b/index.js
@@ -9,7 +9,8 @@ const randomIndex = arr => Math.floor(Math.random() * arr.length)
 const chainDatabase = {
   fire: ['fire', 'fira', 'firaga'],
   cure: ['cure'],
-  blizz: ['blizz', 'blizzara', 'blizzaga']
+  blizz: ['blizz', 'blizzara', 'blizzaga'],
+  aqua: ['aqua', 'aquara', 'aquaga']
 }
 
 const actionDatabase = {