mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-20 07:12:32 +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
|
||||
* @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> {
|
||||
if (stat === this.stat && !(ignore && this.ignorable)) {
|
||||
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 && !(ignoreAbility && this.ignorable)) {
|
||||
statValue.value *= this.multiplier;
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user