Amani H.
94650670fd
[Challenge] Add Nuzlocke-related Challenges ( #6186 )
...
* [Challenge] Add Nuzlocke-related Challenges
Co-authored-by: Matilde Simões <matilde.simoes@tecnico.ulisboa.pt>
Co-authored-by: Fuad Ali <fuad.ali@tecnico.ulisboa.pt>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Sirzento <sirzento@gmx.de>
* Add Sacred Ash to `revive` Group
* Separate Challenge Utility Functions
* Misc. Changes
* Transition to `BooleanHolder`
* Add "Nuzlocke" Achievement
* Change Challenge Order
* Adjust Nuzlocke Achievement to Include Fresh Start
* Fix Infinite Reward Reroll Bug
* Fix Party Heal
* Minor Change
* Adjust TODOs
* Add Unit Tests
* Tweak Faint Cry in Permanent Faint
* Resolve rebase issue
* Apply Matthew's Suggestions
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
* Apply Matthew's Suggestions Pt. 2
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
* Fix and Lint Suggestions
* Revert Accidental Overrides
* Fix and Lint Suggestions Pt. 2
* Rename Challenges
* Prevent `RandomMoveAttr` from Using Banned Moves
* Update Locales
---------
Co-authored-by: Matilde Simões <matilde.simoes@tecnico.ulisboa.pt>
Co-authored-by: Fuad Ali <fuad.ali@tecnico.ulisboa.pt>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Sirzento <sirzento@gmx.de>
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
2025-08-07 18:47:28 -06:00
Scooom
ee6115f49d
[Challenge] Flip Stats Challenge ( #5087 )
...
* Implement Flip Stat Challange
* Add Achivement
* Update challenge code to block other challenges.
* Add Achievment Image
* Add FLIP_STAT to enum ChallengeType
* Fix comment for FlipStatChallenge
* Add applyFlipStat override to Challenge Class, and add override inside of FlipStatsChallenge
* Add ChallengeType.FLIP_STAT case to export function applyChallenges (Master Switch Function)
* Properly block other challange achviements
* Change the way achivements are blocked by challenge modes to a more flexible method
* Adjust the image for Flip Stat, and add an additional achivement for completing both Flip and Inverse
* Fix FLIP_INVERSE achivement to check ALL challanges are met, not SOME
* Remove outdated image
* Fix FlipStat applyChallenges inside calculateBaseStats
* Update locales
---------
Co-authored-by: Scooom <na@na.na>
Co-authored-by: Scooom <jerry@hosterslice.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-01-15 01:55:14 -08:00
Leo Kim
c112abbcd2
[Challenge] Inverse battle challenge ( #3525 )
...
* add inverse battle challenge. refactoring type.ts for inverse battle challenge
* update type integer -> number
* add inverse battle condition to thunder wave, conversion 2.
* add inverse_battle test code, add checking gameMode in runToSummon not to overwrite gameMode to CLASSIC always
* update startBattle with isClassicMode default = true
* add inverse achievement
* fix achv validation condition
* remove unnecessary new line
* update defaultWidth 160 -> 200
* update locales
* fix korean translation
* fix korean translation2
* Update src/locales/de/achv.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/de/challenges.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/de/challenges.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* resize challenge description 96 -> 84
* update challenge select UI size.
* revert font size to 84. update de translation
* Update src/locales/fr/challenges.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/fr/achv.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/es/challenges.ts
Co-authored-by: Asdar <asdargmng@gmail.com>
* Update src/locales/fr/challenges.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/fr/achv.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* Update src/locales/es/achv.ts
Co-authored-by: Asdar <asdargmng@gmail.com>
* Update src/locales/fr/achv.ts
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
* shrink de font size on achivement
* set middle align to achv title
* Update src/locales/zh_CN/achv.ts
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
* Update src/locales/zh_TW/achv.ts
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
* Update src/locales/zh_CN/challenges.ts
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
* Update src/locales/zh_TW/challenges.ts
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
* fix zh_TW ahiv.ts
* fix import code on inverse battle test for updated phase
* Update src/data/type.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* update requested changes
* Update src/locales/pt_BR/achv.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/pt_BR/achv.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* Update src/locales/pt_BR/challenges.ts
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
* [draft] update inverse battle apply function
* change the way how to use applyChallenge for inverse type
* resolve confilct
* fix test codes
* remove unnecessary multiplier variable and break codes
* update getTypeDamageMultiplier argument type from `number` to `Type`
* Fix inverse types tests (#1 )
* Fix Inverse Battle tests
* Add timeout parameter to tests
* update requested changes
* update requested changes
* update requested changes2
* update comments
* Update src/test/utils/helpers/challengeModeHelper.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Update src/test/utils/helpers/challengeModeHelper.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* fix mis pasted code
* revert loadChallenge code for FreshStartChallenge
* code refactoring
* restore challenge.json lost translations
* revert UI changes
* revert unreverted newlines
* Run History inclusion
* requested changes from torranx
* update WaterSuperEffectTypeMultiplierAttr for inverse battle matchup.
* fix test code. adding flying press test code
* update requested change from xavion3
* updated requested change from xavion 2
* update requested changes from xavion 3
* remove exception code which is not valid
* attach partial mark to Freeze dry. requested by xavion
* add missing game over phase code when we delete old phases.ts
* fix test codes
* merge conflict
* fix achv condition
* updated achv block condition. we don't want to change desc now
* resolve conflict
* Eternatus Moveset Tinkering
* Cleaning it up
---------
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
Co-authored-by: Asdar <asdargmng@gmail.com>
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: frutescens <info@laptop>
2024-08-29 19:59:33 +01:00
Matthew
dc30dd33b2
[QoL] Reorganize Enum Locations ( #2185 )
...
* moving enums
* import updates
* fix tsconfig paths importing (#2184 )
* reverse index.ts addition
---------
Co-authored-by: Devin Korb <meepdarknessmeep@gmail.com>
2024-06-13 18:44:23 -04:00
Matthew Olker
e6c24dceab
Revert "[QoL] Reorganize Enum Locations ( #2142 )"
...
This reverts commit cf06ff3b8d .
2024-06-13 11:30:47 -04:00
Matthew
cf06ff3b8d
[QoL] Reorganize Enum Locations ( #2142 )
...
* moving enums
2024-06-13 11:11:12 -04:00