Make unnerve less effective
parent
700b79e0c3
commit
0ceef3d8f4
|
@ -2171,10 +2171,13 @@ export class DoubleBerryEffectAbAttr extends AbAttr {
|
|||
|
||||
export class PreventBerryUseAbAttr extends AbAttr {
|
||||
apply(pokemon: Pokemon, passive: boolean, cancelled: Utils.BooleanHolder, args: any[]): boolean {
|
||||
if (!Utils.randSeedInt(2)) {
|
||||
cancelled.value = true;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
export class RunSuccessAbAttr extends AbAttr {
|
||||
|
|
Loading…
Reference in New Issue