diff options
Diffstat (limited to 'resources/js/classes/StatusEffect.js')
-rw-r--r-- | resources/js/classes/StatusEffect.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/resources/js/classes/StatusEffect.js b/resources/js/classes/StatusEffect.js index e1ae9c9..d161761 100644 --- a/resources/js/classes/StatusEffect.js +++ b/resources/js/classes/StatusEffect.js @@ -18,6 +18,9 @@ class StatusEffect { else if (['charging'].includes(this.slug)) { this.turnsLeft = 2; } + else if (['faint'].includes(this.slug)) { + this.turnsLeft = Number.MAX_SAFE_INTEGER; + } else if (this.category === 'positive') { this.turnsLeft = Math.ceil(Math.random() * 6) + 4; } |