Add Schooling ability for Wishiwashi and fix Beast Boost

This commit is contained in:
Flashfyre committed 2024-03-30 00:53:35 -04:00
1 parent 0bd941d6a1
commit dbca257a76
4 files changed
+97 -6

No files matched your search

+1 -1
View File
@@ -2514,7 +2514,7 @@ export class EnemyPokemon extends Pokemon {
while (segmentIndex - 1 < this.bossSegmentIndex) {
let boostedStat = BattleStat.RAND;
const battleStats = Utils.getEnumValues(BattleStat).slice(0, -2);
const battleStats = Utils.getEnumValues(BattleStat).slice(0, -3);
const statWeights = new Array().fill(battleStats.length).filter((bs: BattleStat) => this.summonData.battleStats[bs] < 6).map((bs: BattleStat) => this.getStat(bs + 1));
const statThresholds: integer[] = [];
let totalWeight = 0;