mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-26 09:19:31 +02:00
Removed unnecessary overlap check
This commit is contained in:
parent
2d09c5c2c1
commit
268f54e376
@ -2605,11 +2605,9 @@ export class SyrupBombTag extends BattlerTag {
|
|||||||
* @param {Pokemon} pokemon the target Pokemon
|
* @param {Pokemon} pokemon the target Pokemon
|
||||||
*/
|
*/
|
||||||
override onAdd(pokemon: Pokemon) {
|
override onAdd(pokemon: Pokemon) {
|
||||||
if (Utils.isNullOrUndefined(pokemon.getTag(BattlerTagType.SYRUP_BOMB))) {
|
|
||||||
super.onAdd(pokemon);
|
super.onAdd(pokemon);
|
||||||
pokemon.scene.queueMessage(i18next.t("battlerTags:syrupBombOnAdd", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon) }));
|
pokemon.scene.queueMessage(i18next.t("battlerTags:syrupBombOnAdd", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon) }));
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Applies the single-stage speed down to the target Pokemon and decrements the tag's turn count
|
* Applies the single-stage speed down to the target Pokemon and decrements the tag's turn count
|
||||||
|
Loading…
Reference in New Issue
Block a user