[QoL] add message when quick claw is triggered (#1684)

This commit is contained in:
Adrian T 2024-06-05 06:11:30 +08:00 committed by GitHub
parent d04010226d
commit 48f60a5b50
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -776,6 +776,9 @@ export class BypassSpeedChanceModifier extends PokemonHeldItemModifier {
if (!bypassSpeed.value && pokemon.randSeedInt(10) < this.getStackCount()) {
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;
}