diff options
Diffstat (limited to 'resources/js/classes/Technique.js')
-rw-r--r-- | resources/js/classes/Technique.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/js/classes/Technique.js b/resources/js/classes/Technique.js index 7558748..39028be 100644 --- a/resources/js/classes/Technique.js +++ b/resources/js/classes/Technique.js @@ -44,12 +44,12 @@ class Technique { return DB.techniques[this.slug].recharge; } - isUsable () { + isRecharging () { if (this.turnLastUse >= Game.turn) { - return true; + return false; } - return Game.turn - this.turnLastUse >= this.rechargeLength; + return this.rechargeLength > Game.turn - this.turnLastUse; } use () { |