mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-06 16:32:16 +02:00
Update battle-scene.ts
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
This commit is contained in:
parent
b841dc826d
commit
bee74fd120
@ -3264,7 +3264,7 @@ export default class BattleScene extends SceneBase {
|
|||||||
[this.modifierBar, this.enemyModifierBar].map(m => m.setVisible(visible));
|
[this.modifierBar, this.enemyModifierBar].map(m => m.setVisible(visible));
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: Document this - IDK what it does and it gets called a lot
|
// TODO: Document this
|
||||||
updateModifiers(player = true, instant?: boolean): void {
|
updateModifiers(player = true, instant?: boolean): void {
|
||||||
const modifiers = player ? this.modifiers : (this.enemyModifiers as PersistentModifier[]);
|
const modifiers = player ? this.modifiers : (this.enemyModifiers as PersistentModifier[]);
|
||||||
for (let m = 0; m < modifiers.length; m++) {
|
for (let m = 0; m < modifiers.length; m++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user