-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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] Implement (or re-implement?) Lucky Chant #3352
Conversation
TODO before moving out of draft:
|
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.
Added French
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com> Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr> Co-authored-by: Enoch <enoch.jwsong@gmail.com> Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
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.
Added zh_CN and zh_TW translations
Co-authored-by: Sonny Ding <93831983+sonnyding1@users.noreply.github.com>
@innerthunder |
Done. Gonna take this out of draft since I've heard some of the translators are busy/on vacation atm, but this is still waiting on ES and IT (and now JA) translations. |
IMO you don't have to get all translation. Once you add message key with english text, translators can make new PR :) |
What are the changes?
This fully implements the move Lucky Chant.
Why am I doing these changes?
Lucky Chant is unimplemented... or, at least, it's marked as unimplemented. Before these changes, Lucky Chant used a battler tag to prevent critical hits on the user, but since it was marked (N), its effects were not functional and the move was disabled. Also, just removing the
.unimplemented()
flag from the move was insufficient since Lucky Chant is meant to protect both the user and its ally. The changes in this PR bring Lucky Chant to its full functionality.What did change?
data/arena-tag
andenums/arena-tag-type
: NewNoCritTag
(of tag typeArenaTagType.NO_CRIT
) prevents hits against the tag's side from dealing critical damage.data/battler-tags
andenums/battler-tag-type
: RemovedBattlerTagType.NO_CRIT
, a part of Lucky Chant's previous partial implementation.data/move
: Updated Lucky Chant:.unimplemented()
flagAddBattlerTagAttr
toAddArenaTagAttr
with the newNO_CRIT
arena tag.field/pokemon
: Minor changes reflecting changes toNO_CRIT
tag implementation.test/moves/lucky_chant.test
: New integration test for Lucky Chant's effects in single and double battlestest/moves/dragon_rage.test
: Fixed a test that used theNO_CRIT
tag incorrectly.Screenshots/Videos
PokeRogueTest-LuckyChant.mp4
How to test the changes?
npm run test lucky_chant
Checklist
beta
as my base branchnpm run test
)