mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-07 08:37:41 +00:00
[QoL] add message when quick claw is triggered (#1684)
This commit is contained in:
parent
d04010226d
commit
48f60a5b50
@ -776,6 +776,9 @@ export class BypassSpeedChanceModifier extends PokemonHeldItemModifier {
|
|||||||
|
|
||||||
if (!bypassSpeed.value && pokemon.randSeedInt(10) < this.getStackCount()) {
|
if (!bypassSpeed.value && pokemon.randSeedInt(10) < this.getStackCount()) {
|
||||||
bypassSpeed.value = true;
|
bypassSpeed.value = true;
|
||||||
|
if (this.type instanceof ModifierTypes.PokemonHeldItemModifierType && this.type.id === "QUICK_CLAW") {
|
||||||
|
pokemon.scene.queueMessage(getPokemonMessage(pokemon, " used its quick claw to move faster!"));
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user