mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-06 00:12:16 +02:00
Update pokemon.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
0ae75363e6
commit
80cb962ecc
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user