Update pokemon.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Bertie690 2025-04-29 22:55:14 -04:00 committed by GitHub
parent 0ae75363e6
commit 80cb962ecc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -718,7 +718,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
}
/** Generate `abilityIndex` based on species and hidden ability if not pre-defined. */
public generateAbilityIndex(): number {
private generateAbilityIndex(): number {
// Roll for hidden ability chance, applying any ability charms for enemy mons
const hiddenAbilityChance = new NumberHolder(