Add golden egg every 10 waves for exp balancing

This commit is contained in:
Flashfyre committed 2023-03-30 00:13:56 -04:00
1 parent 7e3cde77be
commit 807bf9da8c
5 files changed
+51 -23

No files matched your search

+3 -2
View File
@@ -1,4 +1,3 @@
import { SwitchPhase, SwitchSummonPhase } from "../battle-phase";
import BattleScene from "../battle-scene";
import { ModifierTier, ModifierType } from "../modifier";
import { getPokeballAtlasKey, PokeballType } from "../pokeball";
@@ -279,7 +278,7 @@ class ModifierOption extends Phaser.GameObjects.Container {
}
getPbAtlasKey() {
return getPokeballAtlasKey(this.modifierType.tier as unknown as PokeballType);
return getPokeballAtlasKey(this.modifierType.tier as integer as PokeballType);
}
getTextTint(): integer {
@@ -292,6 +291,8 @@ class ModifierOption extends Phaser.GameObjects.Container {
return 0xf8d038
case ModifierTier.MASTER:
return 0xe020c0;
case ModifierTier.LUXURY:
return 0xe64a18;
}
}
}