Kris Johnson
0bec14e1f6
Fix build
2023-12-15 21:57:30 -07:00
Kris Johnson
a0f10ffa51
Add DLC2 data ( #9963 )
...
* DLC2 returning Pokemon
* Returning legendaries too
* Partially add Raging Bolt and Iron Crown (#10 )
* Add remaining Pre-DLC2 event data
* Fix tests
* Last event before DLC + split learnset files
* Learnsets + secret returning pokemon
* Some DLC 2 stuff (#12 )
* Add New Mons
* Add Electro Shot
* Give Dipplin Dex Evo
* Update data/moves.ts
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* More tweaks
* formats
* Revealed moves (#11 )
* Add Hard Press
* Add Psychic Noise
* Add Upper Hand
* Apply suggestions from code review
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* more things
* Fix typo
* a lot of other things
* MOVES! kinda
* b
* fickle beam confirmed chance
* Evo Item Undexit + Metal Alloy + Move Fixes (#19 )
* Update move data
* Update Item Data
* Apply suggestions from code review
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add message for Fickle Beam BP double (#18 )
* Add some tests and implement Tera Shell (#15 )
* add some tests and draft of tera shell
* add text
* .
* add improvements from feedback, change behavior of terashell
* use AfterMove instead of AfterMoveSecondary
* add confirmation to multi-hit interaction
* improve based on feedback and general cleanup
* Apply suggestions from code review
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Add Tera Shift and Teraform Zero (#16 )
* Add Tera Shift and Teraform Zero
* Add short descriptions
* fixes
* More move changes
* Update unSketchable moves
List from Anubis
* more move things
* oops
* Implement new Neutralizing Gas/Paradox ability interaction (#17 )
* Implement new Neutralizing Gas/Paradox ability interaction
* add test
* revert in dlc
* ok
* Update pastgens for Sketch (#20 )
* Implement Stellar type (#13 )
* Implement Stellar type
* stuff from research
* pain
* add tests for Dragon Cheer (#22 )
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Update move flags (#23 )
* Fix flags for new moves
* update old moves
* remove sparkling aria changes
* update metronome description
* update other move descriptions
* more formatz stuff
* Add Poison Puppeteer (#24 )
* Add Poison Puppeteer
* i'm bad
* still bad
* Fix build
* oops
* Update data/moves.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* Update data/moves.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* Update data/items.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* Update data/moves.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* Fix Terapagos dex entries (#25 )
* Update data/pokedex.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* Update data/pokedex.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* Update data/pokedex.ts
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
* FIX BUILD
* Fix Regulation E formats (#26 )
* Fix Regulation E formats
* add move bans
* nevermind
* Add Regulation F formats (#27 )
* Fix interaction between Adaptability and Tera Stellar (#28 )
* reg f bo3 ladder
* Update config/formats.ts
Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
---------
Co-authored-by: Smudge <smudgerox@users.noreply.github.com>
Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
Co-authored-by: Karthik <32044378+Karthik99999@users.noreply.github.com>
Co-authored-by: tofa <79044321+im-tofa@users.noreply.github.com>
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
2023-12-15 21:35:01 -07:00
pyuk-bot
a8c4f4dcf6
Fix when Ogerpon's ability should change on Tera ( #9863 )
2023-11-15 19:57:18 -06:00
Leonard Craft III
f666f89564
Improve Fusion move combo tests
2023-10-16 23:00:46 -05:00
pyuk-bot
98d026a7d1
Pokemon transformed into Ogerpon cannot Tera ( #9774 )
2023-09-14 20:39:59 -05:00
Leonard Craft III
404b6fd514
Add tests for upcoming Hackmons changes
2023-07-31 00:24:51 -05:00
Karthik
274264ebee
Gen 9: Reveal Arceus forme in Team Preview ( #9610 )
2023-06-19 20:57:33 -04:00
Alexander B
283098c982
Fix ruleset interactions with Rayquaza-Mega ( #9293 )
...
* Fix ruleset interactions with Rayquaza-Mega
* Improve condition
* DRYify tests more
2023-02-01 15:50:48 -07:00
Leonard Craft III
5259fdd40f
Tests: Reduce dependence on RNG ( #9297 )
2023-01-14 19:08:44 -06:00
Kris Johnson
e1198d59f4
Fix build
2023-01-09 15:36:56 -07:00
Kris Johnson
75e0eeaf1d
Delete Gen 8 OMs
2023-01-09 15:26:06 -07:00
livid washed
a1cb1f23fc
Gen 1: Implement Dig/Fly invulnerability glitch, partially fix charging moves and Mirror Move ( #9243 )
...
* Protect/Detect/Endure don't exist in gen 1
* Add twoturnmove condition to gen 1
* Gens 1-2: Mirror Move fails immediately after a switch
* Fix first Mirror Move test: Fearow was getting OHKO'd by Hyper Beam
* pokemon.lastMove (for Mirror Move) isn't updated with the charging turn
* Remove unnecessary code
* Add onTryMove for each two-turn move with removeVolatile('twoturnmove')
* Sleep, Freeze, partial trapping, flinch don't stop two turn moves
* Para/confusion stops thrashing moves + copy over lockedmove condition details instead of inheriting
* Remove some unnecessary code
* Add Dig/Fly invulnerability glitch
* Add hint for Dig/Fly invulnerability glitch
* Gen 1 Japanese and Stadium
* put Dig before Fly
* Self-targeted moves (e.g. Recover) will work while semi-invulnerable
* Revert changes to lockedmove, do them in a future patch
* move ends if it fails due to disable
* Two-turn moves use PP in their second turn
* restore mocharc
* Remove unnecessary code
* Fix PP usage for Metronome/Mirror Move calling two-turn moves
2022-12-29 18:35:59 -08:00
Mia
b11177d530
Migrate to esbuild for compilation ( #9203 )
2022-12-22 15:19:29 -06:00
pyuk-bot
2bc2100a7b
Make -Ate abilities share a ...Boosted property ( #9174 )
2022-12-13 21:43:52 -06:00
Alexander B
a2b281d730
Implement Tera + Adaptability STAB ( #9138 )
2022-12-10 17:59:52 -05:00
Kris Johnson
a09bfc927a
Account for moves with <60 Base Power when terastallized ( #9134 )
2022-12-10 14:17:23 -06:00
Leonard Craft III
ff83a809a1
Add low BP Terastallizing behavior tests
2022-12-06 22:32:25 -06:00
Leonard Craft III
8b2d01113c
Remove debug print
2022-12-01 00:12:28 -06:00
livid washed
153377a5b8
Gen 1: Fix stat modification, implement stat overflow glitch ( #9071 )
...
* The volatiles don't actually do anything
* Gen 1: implement stat down overflow glitch
* Change the wording of the hint slightly
* Add hint for division by zero avoidance
2022-11-30 12:55:47 -08:00
pyuk-bot
8a84d0b2f0
Fix Terastal's interaction with type/forme changes ( #9031 )
2022-11-23 13:41:37 -05:00
Alexander B
667c3fa072
Unit Tests: Transition to Gen 9 ( #9009 )
...
* Fix Tera STAB test
* Remove old comments
2022-11-18 21:34:40 -08:00
livid washed
56fa3a693e
Gen 1: Fix Wrap interaction with residual damage KOs ( #9007 )
...
* Gen 1: Fix Wrap interaction with residual damage KOs
* Remove an unnecessary move from trapmoves test
2022-11-18 20:06:11 -08:00
Kris Johnson
d50c8c249b
Add Gen 9 ( #8997 )
2022-11-17 20:46:29 -05:00
Annika
3eda79ccb2
Remove unnecessary RNG roll for targeting
...
This should make singles battles faster and more accurate
2022-11-04 17:03:16 -07:00
pyuk-bot
906d5b2692
Rollout: Store initial target as a submove ( #8947 )
2022-10-24 19:09:09 -04:00
pyuk-bot
83265782a5
Fix called Fly/Bounce + Ally Switch interaction ( #8910 )
2022-09-21 22:46:30 -05:00
Alexander B
56f8c3144d
Proc hazards in the order they were set ( #8730 )
2022-05-19 19:05:32 -05:00
Karthik
49149ea8fb
Properly handle Zacian/Zamazenta Crowned forms ( #8753 )
2022-05-09 14:23:15 -05:00
Karthik
37eaeb735e
Fix Dynamax not starting in order of most recent speed ( #8744 )
2022-05-04 17:30:26 -04:00
Karthik
dfdb6e3876
Fix normal move target resolution in Triple Battles ( #8735 )
2022-05-04 17:29:03 -04:00
Karthik
70acfb1d0e
End Dynamax before start of 4th turn ( #8719 )
2022-04-18 12:15:31 -04:00
Leonard Craft III
b273c95358
Fix skipped hacked Max Move test
2021-12-30 17:22:45 -06:00
Leonard Craft III
d9e9864dbe
Fix base power of hacked Max Moves
2021-12-27 00:18:25 -06:00
Leonard Craft III
7cf60606c5
Fix paralysis modifier application ( #8478 )
2021-11-06 15:52:39 -04:00
Leonard Craft III
ba07a7c75d
Add various mechanics tests ( #8494 )
2021-11-05 13:28:45 -05:00
Leonard Craft III
25910ed66d
Fix timing of freeze thaws ( #8453 )
2021-09-29 20:29:26 -04:00
Annika
c134195915
Use ts-node instead of Sucrase ( #8369 )
2021-07-09 19:59:22 -07:00
pacmanboss256
4937547bb1
Fix build ( #8382 )
2021-07-05 12:21:22 -07:00
Marty-D
866b5b7bb2
Check for a winner when Destiny Bond knocks out a Pokemon
2021-05-20 12:22:37 -04:00
Leonard Craft III
606576f453
Add various mechanics tests ( #8313 )
...
* Standardize Photon Geyser tests
* Add Gulp Missile tests
* Add Berserk Dragon Darts test
* Add Ring Target tests
* Add and improve Metronome tests
* Add Sparkling Aria tests
* Add additional Fling tests
* Standardize Mummy tests
* Add Rollout submove targeting test
* Improve Flower Veil tests
* Add Acupressure tests
* Improve Sky Drop tests
* Add Future Sight tests
* Improve Wandering Spirit tests
* Improve Rapid Spin tests
* Add Rocky Helmet victory test
* Improve Focus Punch tests
* Add a skipped Stomping Tantrum test
2021-05-20 08:43:08 -04:00
Leonard Craft III
d946308900
Fix the order of many end-turn resolution effects ( #8307 )
...
Co-authored-by: Marty-D <Marty-D@users.noreply.github.com>
2021-05-17 11:53:52 -04:00
Marty-D
b0509ce39f
Check for a winner after future moves
2021-05-15 10:31:30 -04:00
Marty-D
0a9aeb8fcd
Fix faint check mid-attack ( #8297 )
...
Only bother checking for a winner if the move's user is also fainted at the time, and check for a winner after the move completes.
2021-05-14 13:36:56 -04:00
pyuk-bot
b17171a2cb
Store originally targeted slot for two-turn moves ( #8280 )
2021-05-12 08:51:58 -04:00
Annika
1c3f6402f0
Tests: Use assert.equal and assert.notEqual more ( #8276 )
2021-05-07 23:51:18 -07:00
Annika
27764ef5bf
Random Battles: Unify tests
2021-05-07 10:19:45 -07:00
Leonard Craft III
771c60d4b9
Improve self-hit confusion damage ( #8264 )
2021-05-04 13:44:13 -04:00
pacmanboss256
bb2d700883
Fix smart targeting with scripted moves ( #8248 )
2021-05-03 11:20:19 -04:00
Kris Johnson
d0fd8ac8e0
Fix build
2021-04-16 21:47:38 -06:00
Kris Johnson
f4fda49201
Update Battle Factory tests and command
2021-04-16 17:35:26 -06:00