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