mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 14:22:19 +02:00
Add some tsdocs
This commit is contained in:
parent
ae8fecb7fd
commit
7d5af4ad0b
@ -2834,6 +2834,14 @@ export class BonusItemChanceAbAttr extends PreEncounterAbAttr {
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* @override
|
||||
* @param pokemon n/a
|
||||
* @param passive n/a
|
||||
* @param simulated n/a
|
||||
* @param args `[0]` The chance for an enemy to generate held items
|
||||
* @returns `true`
|
||||
*/
|
||||
override applyPreEncounter(pokemon: Pokemon, passive: boolean, simulated: boolean, args: any[]): boolean {
|
||||
(args[0] as Utils.NumberHolder).value *= this.chanceMultiplier;
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user