We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f0ce9c commit 949ff0cCopy full SHA for 949ff0c
data/moves.ts
@@ -1194,9 +1194,9 @@ export const Moves: import('../sim/dex-moves').MoveDataTable = {
1194
accuracy: 100,
1195
basePower: 0,
1196
basePowerCallback(pokemon, target, move) {
1197
- const currentSpecies = move.allies!.shift()!.species;
1198
- const bp = 5 + Math.floor(currentSpecies.baseStats.atk / 10);
1199
- this.debug(`BP for ${currentSpecies.name} hit: ${bp}`);
+ const setSpecies = this.dex.species.get(move.allies!.shift()!.set.species);
+ const bp = 5 + Math.floor(setSpecies.baseStats.atk / 10);
+ this.debug(`BP for ${setSpecies.name} hit: ${bp}`);
1200
return bp;
1201
},
1202
category: "Physical",
0 commit comments