mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-20 15:22:19 +02:00
Accept suggested change
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
cd732ef27c
commit
4f163dc644
@ -1708,8 +1708,8 @@ export class AllyStatMultiplierAbAttr extends AbAttr {
|
|||||||
* @param args - unused
|
* @param args - unused
|
||||||
* @returns `true` if this changed the checked stat, `false` otherwise.
|
* @returns `true` if this changed the checked stat, `false` otherwise.
|
||||||
*/
|
*/
|
||||||
applyAllyStat(pokemon: Pokemon, _passive: boolean, simulated: boolean, stat: BattleStat, statValue: Utils.NumberHolder, checkedPokemon: Pokemon, ignore: boolean, args: any[]): boolean | Promise<boolean> {
|
applyAllyStat(pokemon: Pokemon, _passive: boolean, simulated: boolean, stat: BattleStat, statValue: Utils.NumberHolder, checkedPokemon: Pokemon, ignoreAbility: boolean, args: any[]): boolean | Promise<boolean> {
|
||||||
if (stat === this.stat && !(ignore && this.ignorable)) {
|
if (stat === this.stat && !(ignoreAbility && this.ignorable)) {
|
||||||
statValue.value *= this.multiplier;
|
statValue.value *= this.multiplier;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user