mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Merge branch 'pr/243'
This commit is contained in:
commit
9b881d74a3
@ -1661,7 +1661,7 @@ export class BlockOneHitKOAbAttr extends AbAttr {
|
||||
|
||||
export class IncrementMovePriorityAbAttr extends AbAttr {
|
||||
private moveIncrementFunc: (pokemon: Pokemon, move: Move) => boolean;
|
||||
private increaseAmount: integer;
|
||||
private increaseAmount: number;
|
||||
|
||||
constructor(moveIncrementFunc: (pokemon: Pokemon, move: Move) => boolean, increaseAmount = 1) {
|
||||
super(true);
|
||||
@ -3350,8 +3350,8 @@ export function initAbilities() {
|
||||
.attr(UnswappableAbilityAbAttr)
|
||||
.attr(NoTransformAbilityAbAttr)
|
||||
.attr(NoFusionAbilityAbAttr),
|
||||
new Ability(Abilities.QUICK_DRAW, 8)
|
||||
.unimplemented(),
|
||||
new Ability(Abilities.QUICK_DRAW, "Quick Draw", "Enables the Pokémon to move first occasionally.", 8)
|
||||
.attr(IncrementMovePriorityAbAttr, (pokemon, move) => move.category !== MoveCategory.STATUS && Math.random() <= 1/3, 0.01),
|
||||
new Ability(Abilities.UNSEEN_FIST, 8)
|
||||
.unimplemented(),
|
||||
new Ability(Abilities.CURIOUS_MEDICINE, 8)
|
||||
|
Loading…
Reference in New Issue
Block a user