mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 07:52:17 +02:00
Revert "only do the thingy if it actually gets effected."
This reverts commit 4b084658d2
.
This commit is contained in:
parent
4b084658d2
commit
acb58410ae
@ -939,9 +939,8 @@ export class MoveChanceBoostAbAttr extends VariableMoveChanceAbAttr {
|
||||
}
|
||||
|
||||
applyPreAttack(pokemon: Pokemon, passive: boolean, defender: Pokemon, move: PokemonMove, args: any[]): boolean {
|
||||
if ((args[0] as Utils.NumberHolder).value == 100 || (args[0] as Utils.NumberHolder).value == -1)
|
||||
return false;
|
||||
(args[0] as Utils.NumberHolder).value *= this.chanceMultiplier;
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user