Commit Graph

162 Commits

Author SHA1 Message Date
Karthik
59c846c86b
Fix Rattled boosting Speed when Intimidate fails (#10211) 2024-03-16 21:14:19 -06:00
Andrew Werner
c2a033ba1e Fix weather suppression abilities suppressing weather while ending
Fixes a few issues with protosynthesis as well.
2024-03-15 22:33:32 -04:00
Andrew Werner
4e1b3de4b1 Protosynthesis should ignore weather supressing abilities 2024-03-15 15:19:38 -04:00
Leonard Craft III
2bd62dba8d
Fix some more Terapagos mechanics (#10184)
* Fix some more Terapagos mechanics

* Update data/moves.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2024-02-23 22:55:06 -07:00
Karthik
8344a1da71
Fix Commander invulnerability check (#10137) 2024-01-30 14:33:12 -06:00
Leonard Craft III
553e577205
Fix interaction of Court Change, Sticky Web, and Defiant or Competitive (#10131) 2024-01-30 14:32:57 -06:00
Leonard Craft III
8a5bbbd255
Implement Ability flags (#10048)
* Add AbilityFlags interface

* Add flags to abilities data (Karthik's script)

* Convert isBreakable to its new flag

* Convert most of isPermanent to its new flag

* Convert Trace to its new flag

* Convert Skill Swap to its new flag

* Convert Wandering Spirit to the failskillswap flag

* Update miscelleneous descriptions that depend on cantsuppress

* Convert Entrainment to its flag

* Convert Receiver/PoA to its flag

* Convert Role Play to its flag

* Implement Doodle failure conditions

* Various cleanup

* Breakable fixes

* How did I manage to do this

* Allow LightningRod to be breakable in Gen 3

* Implement notransform flag

* Tera Shell oopsie

* Fix more things after the rebase

* And fix Teraform Zero

* Update data/abilities.ts

* Update data/abilities.ts

* Update data/abilities.ts

* Update data/mods/partnersincrime/abilities.ts

* Update data/abilities.ts

* Update data/mods/sharedpower/abilities.ts

* Update abilities.ts

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
2024-01-02 23:55:17 -07:00
singiamtel
acd02f8efd
Fix Prankster info leak (#10065)
* Fix prankster hint so it doesn't leak info

* Fix condition

* Add unit test to verify there's no hint
2024-01-02 22:49:13 -07:00
TomOfTomKat
b608103806
Lock Tera Shell effect to Terapagos (#10012)
* Lock Tera Shell effect to Terapagos Stellar

https://www.smogon.com/forums/threads/scarlet-violet-battle-mechanics-research.3709545/page-48#post-9898594

* Update data/abilities.ts

* Update data/abilities.ts

* Update data/abilities.ts

* Resolve null target error

* Apply suggestions from code review

* Update terashell.js

* Update test/sim/abilities/terashell.js

Co-authored-by: André Bastos Dias <80102738+andrebastosdias@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: André Bastos Dias <80102738+andrebastosdias@users.noreply.github.com>

* Fix typo

* Without the debug print

---------

Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Co-authored-by: André Bastos Dias <80102738+andrebastosdias@users.noreply.github.com>
Co-authored-by: Leonard Craft III <leonardcraft64@gmail.com>
2023-12-27 23:48:41 -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
8e47521d77
Fix Neutralizing Gas ending vs. Embody Aspect (#9903) 2023-11-15 19:54:40 -06:00
pyuk-bot
edbb640783
Neutralizing Gas: Don't restart Shielded abilities (#9862) 2023-11-01 21:32:28 -05:00
Leonard Craft III
ba2a5e31f2 Fix Commander with Neutralizing Gas after Dondozo faints 2023-09-26 19:02:29 -05:00
Leonard Craft III
9bccea624f
Fix Commander's interaction with Ability suppression (#9800) 2023-09-24 22:56:50 -05:00
Leonard Craft III
3933c2198d
Fix Poison Touch's interaction with Pledge Rainbow (#9756) 2023-09-10 20:57:48 -05:00
Alexander B
9a97e75ad5
Make Wind Rider and Guard Dog breakable + tests (#9734) 2023-08-27 23:01:52 -05:00
Leonard Craft III
dfc38b06ff Fix Commander mechanics with Transform and Multi Battles 2023-08-13 22:35:10 -05:00
Leonard Craft III
30e1c2dfc3 Fix Intrepid Sword/Dauntless Shield at +6
Thanks Zaggyo!
2023-06-15 22:38:27 -05:00
Sergio
238ecfaf35
Fix Mycelium Might and Quick Claw interaction (#9528) 2023-04-20 23:20:28 -05:00
Leonard Craft III
156a39405f
Refactor some move lists to move flags (#9396) 2023-03-18 22:21:00 -05:00
pyuk-bot
21d0ffaa7b
Fix interaction between Unaware and Foul Play (#9397) 2023-02-27 22:12:05 -06:00
Alexander B
9fd2e81bde
Silence Mirror Armor if the source has fainted (#9359) 2023-01-29 13:12:48 -05:00
Alexander B
2340b66d29
Make Opportunist/Mirror Herb copy Anger Point (#9341) 2023-01-23 13:21:52 -05:00
pyuk-bot
e3b791f310
Fix changing, blocking, and reacting to stat boosts (#9322) 2023-01-21 12:17:22 -05:00
Hisuian Zoroark
32bbb77687
Fix interaction of Ruin Abilities with themselves (#9328) 2023-01-14 20:43:54 -06:00
Leonard Craft III
5259fdd40f
Tests: Reduce dependence on RNG (#9297) 2023-01-14 19:08:44 -06:00
Leonard Craft III
dd6b614dec
Gen IX: Remove secondary stat chance overflow (#9206) 2022-12-22 15:23:03 -06:00
pyuk-bot
842227146e
Fix Copycat Dancer interaction, take 3 (#9193) 2022-12-16 12:40:20 -05:00
pyuk-bot
9b8ff871cf
Fix Copycat Dancer interaction, take 2 (#9176) 2022-12-13 21:37:41 -06:00
Adam Tran
88a519f37e
Revert "Fix Copycat Dancer interaction (#9155)" (#9171) 2022-12-13 14:39:21 -05:00
Adam Tran
95d1b92427
Fix Copycat Dancer interaction (#9155) 2022-12-12 18:26:58 -06:00
pyuk-bot
89a8192e8e
Update Utility Umbrella mechanics (#9123) 2022-12-10 17:56:46 -05:00
Leonard Craft III
4f4854722f
Fix Commander vs Transform and Eject items (#9126) 2022-12-06 22:16:46 -06:00
Jacob McLemore
471d0caba5
Tests: Update createBattle format in abilities A-L (#9128) 2022-12-06 21:03:57 -06:00
Sergio
fb0222f5c1
Wait for damage to activate Gluttony after Neutralizing Gas end (#8984) 2022-12-05 20:33:16 -06:00
Sergio
a56660e26b
Fix interaction of Dragon Darts and Berserk (#8982) 2022-12-05 20:03:34 -06:00
pyuk-bot
7a6a8441cc
Fix Protosynthesis/Quark Drive/Booster Energy (#9118) 2022-12-04 16:20:21 -05:00
Alexander B
feb5dcfee5
Add test for Opportunist/Mirror Herb crash (#9068) 2022-11-25 16:38:07 -08:00
pyuk-bot
ee9677b0b6
Mycelium Might makes called moves ignore abilities (#9028) 2022-11-23 13:39:51 -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
Sergio
8225c4fad1
Trigger Emergency Exit after Mind Blown (#8976) 2022-11-10 07:45:03 -06: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
Sergio
a6dd79ba90
Fix Neutralizing Gas Primal weather interaction (#8930) 2022-10-15 13:55:17 -05:00
Leonard Craft III
05faddbc93 Correct super Sitrus Berry HP restoration amount 2022-10-08 14:50:35 -05:00
Leonard Craft III
1de7cddb44
Add various mechanics tests (#8915) 2022-10-05 21:59:34 -05:00
Karthik
eb49ac32ef
Fix Slow Start not halving Sp. Atk for special Z-Moves (#8739) 2022-04-28 14:03:57 -05:00
Karthik
d8edc4d71e
Fix Counter/Mirror Coat/Metal Burst failure timing (#8723) 2022-04-18 22:33:21 -05:00
Leonard Craft III
11ed145db5
Implement secondaries stat chance overflow (#8629) 2022-01-20 19:17:16 -06:00
pyuk-bot
3f542a9115
Deduct Pressure PP from caller moves like Assist (#8582) 2021-12-26 18:56:19 -06:00
Leonard Craft III
26ef4d3746
Fix interaction of Transformed Neutralizing Gas (#8576) 2021-12-20 07:54:41 -06:00