From de3db9988f9f71bb4c42caca82e5303e97984553 Mon Sep 17 00:00:00 2001 From: Luc Dube Date: Tue, 23 Apr 2024 10:18:58 -0400 Subject: [PATCH] now goes first in priority bracket --- src/data/ability.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index 45577a7e38f..723f5ee2f49 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -1530,7 +1530,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); @@ -3075,7 +3075,7 @@ export function initAbilities() { .attr(NoTransformAbilityAbAttr) .attr(NoFusionAbilityAbAttr), new Ability(Abilities.QUICK_DRAW, "Quick Draw", "Enables the Pokémon to move first occasionally.", 8) - .attr(IncrementMovePriorityAbAttr, (pokemon, move) => Math.random() <= 1/3), + .attr(IncrementMovePriorityAbAttr, (pokemon, move) => Math.random() <= 1/3, 0.5), new Ability(Abilities.UNSEEN_FIST, "Unseen Fist (N)", "If the Pokémon uses moves that make direct contact, it can attack the target even if the target protects itself.", 8), new Ability(Abilities.CURIOUS_MEDICINE, "Curious Medicine (N)", "When the Pokémon enters a battle, it scatters medicine from its shell, which removes all stat changes from allies.", 8), new Ability(Abilities.TRANSISTOR, "Transistor", "Powers up Electric-type moves.", 8)