mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +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;
|
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 {
|
override applyPreEncounter(pokemon: Pokemon, passive: boolean, simulated: boolean, args: any[]): boolean {
|
||||||
(args[0] as Utils.NumberHolder).value *= this.chanceMultiplier;
|
(args[0] as Utils.NumberHolder).value *= this.chanceMultiplier;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user