-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Move] Fully Implement Uproar #699
base: beta
Are you sure you want to change the base?
Conversation
One final Frenzy check to change to MoveLockTagTypes: poketernity/src/phases/check-switch-phase.ts Lines 61 to 68 in 52916fa
|
Co-Authored-By: PigeonBar <56974298+PigeonBar@users.noreply.github.com>
Every new battler tag needs to be added to this list: poketernity/src/data/move-attrs/add-battler-tag-attr.ts Lines 70 to 71 in 52916fa
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The uproar never stops if the wave finishes before it expires. It will also always fail in the next wave, resulting in an infinite loop
Steps to reproduce
STARTING_LEVEL_OVERRIDE: 50,
MOVESET_OVERRIDE: MoveId.UPROAR,
ENEMY_MOVESET_OVERRIDE: MoveId.SPLASH,
- start a run
- use uproar
- go to the next wave
.attr(MessageHeaderAttr, (user, _move) => | ||
!!user.getTag(BattlerTagType.UPROAR) | ||
? // "{pokemonNameWithAffix} is making an uproar!" | ||
i18next.t("moveTriggers:isMakingAnUproar", { pokemonNameWithAffix: getPokemonNameWithAffix(user) }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be an issue with frenzy moves as well... As far as I can tell it's related to I'll put this in draft and make another PR with a fix since the issue isn't exclusive to Uproar |
What are the changes the user will see?
Uproar is now fully implemented.
Why am I making these changes?
📈
What are the changes from a developer perspective?
UproarTag
which inherits fromMoveLockTag
to implement Uproar's execution and sleep-preventing effectsAddBattlerTagAttr
to add the aforementioned uproar tag onto the userMessageHeaderAttr
to play "{pokemon} is making an uproar!" at the start of the turn when the user's uproar is in effect.MoveLockTag
. With this, Torment'sedgeCase
is removed.Screenshots/Videos
WIP
How to test the changes?
npm run test uproar
Checklist
beta
as my base branchnpm run test:silent
)npm run test:create
) or updated existing tests related to the PR's changes?Are there any localization additions or changes? If so: