Bertie690
5fed690187
[Bug] Fixed Super Fang interaction with Multi Lens ( #4914 )
...
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-30 01:47:47 -08:00
PigeonBar
3bf2059aaf
[Balance] Safeguard to prevent Paradox Pokemon spawning in ME's ( #4915 )
2024-11-29 22:02:29 -08:00
NightKev
9bc046fd64
[Bug] Honey Gather and Pickup will only activate if the battle was won ( #4903 )
...
* Honey Gather and Pickup will only activate if the battle was won
* Add tests for Honey Gather
* Moves `highestEndlessWave` and `battles` stats outside of victory condition
2024-11-29 13:29:54 -08:00
muscode
6725164918
[Bug] Fixed First Turn Move + Wimp Out interaction ( #4928 )
...
* fix first turn move + wimpoout
* Add comment about edge case issue
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-29 13:23:55 -08:00
Ethan
de0d97739e
[Move] Implement True Force Switch (Roar, Whirlwind, Circle Throw, Dragon Tail) ( #4881 )
...
* Force switch implemenation
* Fix conditionals checking `SwitchType`
Use `prependToPhase()` instead of `unshiftPhase()`
* Update comments slightly, replace `||` chain with `.includes()`
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-28 22:43:12 -08:00
Moka
48dc5d0ee7
[Balance] 'Breeders in Space' cheevo unlocks for normal and expert breeders ( #4911 )
...
* 'Breeders in Space' cheevo unlocks for normal and expert breeders
* Reduce breeder in space achievement points
2024-11-28 17:21:25 -08:00
NightKev
03b073f21f
[Bug] Analytic should only increase damage if the user moves last ( #4917 )
...
* Analytic only increases damage if the user moves last
* Return `isNullOrUndefined()` instead of `if` chain
---------
Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
2024-11-28 17:20:54 -08:00
NightKev
2b64ef6fc9
Mark Rage Fist as partial in line with similar moves/abilities ( #4894 )
2024-11-28 17:17:18 -08:00
innerthunder
c86b6352bc
Remove Supersweet Syrup's once-per-battle condition ( #4906 )
2024-11-27 23:53:37 -08:00
PigeonBar
2d6dfc45a0
[Documentation] Remove obsolete .edgeCase() from Gulp Missile ( #4909 )
2024-11-18 21:44:49 -05:00
Blitzy
b293797c99
[Balance] Make Intrepid Sword / Dauntless Shield their Generation 8 Implementation ( #4902 )
2024-11-18 17:47:11 -08:00
NightKev
c584dfafb7
[Balance] Remove reduced weight for regional species from egg pulls ( #4882 )
2024-11-18 17:46:52 -08:00
Mumble
e825e308f9
[Test] Update wimp out test and comment ( #4900 )
...
* Changed conditional to actually consider the wave index.
* Added PigeonBar's test
* Added check for MEs + Documentation
* Apply suggestions from code review
Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com>
---------
Co-authored-by: frutescens <info@laptop>
Co-authored-by: PigeonBar <56974298+PigeonBar@users.noreply.github.com>
2024-11-17 16:22:11 -05:00
Mumble
6b58d51ea2
Changed conditional to actually consider the wave index. ( #4899 )
...
Co-authored-by: frutescens <info@laptop>
2024-11-17 20:19:23 +00:00
Moka
ae8efeedf8
[UI] Make ME text legible when using the legacy UI theme ( #4847 )
2024-11-16 23:34:14 +00:00
Daniel Pochert
7dc4210f71
[Bug] fix training session encounter not applying nature correctly ( #4801 )
...
* fix training session encounter not applying nature correctly
* implement pokemon.setCustomNature + nature unlock utility method(s)
* update doc
---------
Co-authored-by: Moka <54149968+MokaStitcher@users.noreply.github.com>
2024-11-16 23:33:14 +00:00
innerthunder
360a897ed2
[Balance] Endure Tokens only endure one hit ( #4875 )
...
* Endure Tokens only endure one hit
* Add tests for Endure
* Update docs
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-15 21:11:46 +01:00
AJ Fontaine
5e7d44abfd
[Balance] Fix Liquidation, Double-Edge, Body Press compatibility ( #4879 )
2024-11-15 14:07:02 -05:00
Mumble
eb3c0d731a
[P2] Lunar Blessing / Jungle Healing now heal Freeze ( #4877 )
...
* Added Freeze to statuses healed by Jungle Healing / Lunar Blessing
* Fixed up documentation.
---------
Co-authored-by: frutescens <info@laptop>
2024-11-15 12:17:46 -05:00
pom-eranian
5ca1fd5cfd
[Sprite] Set default fps to 10 instead of 12 on pokemon animations ( #4842 )
...
* Set default fps to 10 instead of 12 for pokemon sprites
* [Sprite] Set pokemon animation framerate to 10 where assigned
2024-11-15 11:58:50 -05:00
AJ Fontaine
ef7d860166
[Balance] Remove from trainers: Pika/Eevee forms before 30, BB Greninja, Rival starter HA ( #4863 )
...
* Remove Pika/Eevee forms from Trainers before wave 30, and BB Gren
* Fix `egg` test
* Ban hidden ability from Rival starter
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-15 11:57:02 -05:00
innerthunder
9273b4930d
[Beta][P1] Fix crash when resetting Commanded Dondozo before Trainer battles ( #4873 )
...
* Add failsafe to Commander remove anim
* Commanded tag saves Tatsu form on reload
2024-11-15 11:56:05 -05:00
NightKev
8326e3556b
Remove .edgeCase() from fully implemented moves ( #4876 )
...
This includes Sunsteel Strike, Moongeist Beam and Photon Geyser
2024-11-15 08:29:52 -08:00
PigeonBar
b1138c1d70
[P2][Beta] Freeze-dry Re-implementation ( #4874 )
2024-11-14 21:07:19 -08:00
Mumble
58912db8f1
[P2] Telekinesis now sets FloatingTag to 3 turns instead of 5 turns ( #4869 )
...
Co-authored-by: frutescens <info@laptop>
2024-11-14 16:16:05 -05:00
Mumble
d0d9eb78da
Set the IVs of default starters to 15. ( #4861 )
...
Co-authored-by: frutescens <info@laptop>
2024-11-14 11:35:13 -08:00
geeilhan
0c521bbe08
[Move] Implement Freeze Dry type-changed interactions ( #4840 )
...
* Full implementation of freeze-dry including edge cases such as Normalize and Electrify plus tests
* Update comments
* renamed WaterSuperEffectTypeMultiplierAttr to FreezeDryAttr
* Added test case for freeze dry during inverse battles
* cleaned up code making it more general
* Added some more documentation
* implementing reviewed changes
* used getMoveType() instead of move.type
* added additional test cases to freeze dry
* Revert "used getMoveType() instead of move.type"
This reverts commit 03445dfab4 .
* added reviewed changes without changing public/locales
---------
Co-authored-by: ga27lok <geeil.han@tum.de>
2024-11-13 10:41:39 -05:00
PigeonBar
6f3fd0f138
[Beta][P3] Fix failed charge moves not displaying failed text ( #4853 )
2024-11-12 06:29:37 -05:00
innerthunder
8e26db944d
[Balance][Beta] Revert Spread Move Restriction on Multi-Lens ( #4851 )
...
* Multi-Lens now applies to spread moves
* Fix Multi-Lens applying to both damage and power
2024-11-11 21:13:37 -08:00
innerthunder
cebedd220b
[Balance] Rework Multi-Lens ( #4831 )
...
* Rework Multi-Lens
* Multi-Lens integration tests
* Apply suggestions from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Fix obsolete tests related to Multi-Lens
* Fix flaky unburden tests
* maybe fix flaky ceaseless edge test?
* Fixed Multi-Lens apply comment
* Fix ceaseless edge test for real this time
* Update locales
* Another locale update
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-11 14:56:16 -08:00
Mumble
6feb63484c
[P3] Added failIfSingleBattle condtion to Doubles-only moves and display failure message when used in singles ( #4839 )
...
* Added failIfSingleBattle condtion to Helping Hand
* Added failIfSingleBattle conditions to Doubles-Only moves
* Adjusted canMove failure condition.
* Updated moves that failIfSingleBattle
* Fixed condtional.
---------
Co-authored-by: frutescens <info@laptop>
2024-11-11 12:29:20 -05:00
chaosgrimmon
f2a2281ff1
[Sprite] Implement female icon assets for Meganium and Doduo + Torchic lines ( #4841 )
...
* [Sprite] Implement more female icons
* [Sprite] Add female Doduo/Dodrio icons
* [Sprite] Add female Meganium icons
* [Sprite] Add female Torchic line icons
* [Sprite] Add female Meganium icons
* [Sprite] Add female Torchic line icons
Identical to male counterpart icons
2024-11-10 14:37:21 -05:00
PigeonBar
63ffab027d
[Beta][P2] Several Unburden bug fixes ( #4820 )
...
* [P2][Beta] Several Unburden bug fixes
* Unburden test adjustments
* Some further test cleanup
* Add suggested `.bypassFaint()` to Unburden
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-10 14:21:29 -05:00
NightKev
2968059814
[P1] Transform and Imposter will now fail when either Pokemon is fused ( #4824 )
...
* Transform and Imposter will now fail when either Pokemon is fused
* Prevent Ditto from being randomly generated as part of a fusion
2024-11-10 00:39:05 -05:00
Moka
44a68a91ba
[P1] Fix crash when newly aquired Pokemon are sent in battle ( #4835 )
2024-11-10 00:35:49 -05:00
Payton Rogers
265b3cb938
[P3] Fix visual bug with level text remaining the same when pokemon levels are reduced in weird dream ME ( #4837 )
2024-11-10 00:35:16 -05:00
PigeonBar
2bf8acea06
[Beta][P2] Fix Sketch failing to sketch moves that call other moves virtually ( #4823 )
...
* [P2][Beta] Fix Sketch failing to sketch Metronome et al
* Suggested changes to `getLastXMoves()`
* Renamed turnCount to moveCount
2024-11-09 13:15:24 -05:00
AJ Fontaine
de4ec5e1cb
[Feature] [Item] Add Catching Charm item ( #4811 )
...
* Add catching charm item
* Add Catching Charm item
* Disable catching charm in item pool when dex isn't full enough
* Replace catching charm icon
---------
Co-authored-by: Madmadness65 <59298170+Madmadness65@users.noreply.github.com>
2024-11-09 14:38:45 +08:00
NightKev
00f7fd47df
[Refactor] Remove unnecessary re-exports ( #4818 )
...
* Remove unnecessary re-exports
* Move `Type` enum to `src/enums/type.ts`
* Remove import style change from `modifier-type.ts`
2024-11-08 17:44:34 -05:00
Mumble
58d40b905a
[Bug] Fixing Encore's interactions with other Move Restriction moves ( #4805 )
...
* Converted EncoreTag into a MoveRestrictionBattlerTag
* Wrote test and added documentation
* Added documentation describing EncoreTag as a whole
* Added PRE_MOVE lapse code to handle early tag expiration from PP-less encored move
* Replaced PRE_MOVE with CUSTOM for lapsing Encore in situations where the encored move has 0 PP
* Add encore tests
* fix overrides
* Apply suggestions from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Update command-phase.ts
* Addressed failing eslint test
---------
Co-authored-by: frutescens <info@laptop>
Co-authored-by: innerthunder <brandonerickson98@gmail.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-08 09:35:33 -08:00
innerthunder
625b98a6fe
[Move][Refactor] Create Move.getPriority + Fully Implement Upper Hand ( #4789 )
...
* Fully Implement Upper Hand
* doc for UpperHandCondition
* New Upper Hand tests + some nit fixes
* Use Fake Out over mocked Tackle in test
2024-11-08 10:50:23 -05:00
Mumble
4821df68f2
[P1] Prevents crash from using Sketch against a lost turn ( #4806 )
...
* Added check to make sure that Sketch does not copy a failed move.
* Added check for Struggle.
* Added a revised check.
* Added test + change to valid move finding conditional.
* Made revision to .find target
* Reverting previous commit, whoops.
* Add moveset checks to Sketch tests
---------
Co-authored-by: frutescens <info@laptop>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-07 23:10:46 -05:00
AJ Fontaine
b2fdb9fcd1
[P2] Fix Cosmoem requirng an evolution level ( #4812 )
2024-11-07 16:33:25 -05:00
Mumble
4c5b83612b
[P2] END biome transition now properly uses seeded RNG ( #4809 )
...
Co-authored-by: frutescens <info@laptop>
2024-11-07 10:36:25 -05:00
AJ Fontaine
1f6dab069d
[Feature][Balance] Add critical captures, update shake probability to match gen 6 ( #4791 )
...
* Change shake probability to match Gen 6
* Add critical captures, update shake probability to gen 6
* Change IntegerHolder to NumberHolder
* Adjust dex count thresholds for multiplier
* Disable critical captures in fresh start runs
* Skip first shake check for critical captures
* Move shake check for crit captures to after first shake
* Use less insane catch formula
* Integer to number in bounceanim signature
* Use max crit catch dex multiplier in daily runs
* Adjust crit capture animation
---------
Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-06 18:25:27 -08:00
Mumble
6b7efb444b
[Ability] Fully implement Synchronize ( #4785 )
...
Co-authored-by: frutescens <info@laptop>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2024-11-06 11:29:24 -05:00
Mumble
4f733796c5
[Move] Implement Grudge ( #4794 )
...
* some work
* slay dnr
* Fixed up move mechanics
* bahhh
* yawn
* updated lapse type to correctness
* Test + documentation
* yattt
* Remove some redundant code
* Apply suggestions from code review
Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
* Update battler-tags.ts
* Fix `PokemonAnimPhase`
---------
Co-authored-by: frutescens <info@laptop>
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com>
2024-11-05 21:32:07 -05:00
innerthunder
eb32545772
[Balance][Beta] Commander now increases double battle chance ( #4803 )
2024-11-05 11:23:22 -08:00
Moka
b79b643b31
[P2][ME] Fix GTS not getting proper item tier when trading items ( #4802 )
2024-11-05 12:42:04 -05:00
geeilhan
198d3ce2a6
[P2] Fixing Incorrect Freeze Dry Interaction With Soaked Wonder Guard Target ( #4798 )
...
* [Bug] fixed interaction between freeze dry and soaked wonder guard target
* added automated test for freeze dry interaction with soaked wonder guard target
* using parameter instead of function to get typeMultiplier
2024-11-05 12:37:47 -05:00