Commit Graph

1400 Commits (43bf8e13eaeb2dd59ae70b30b07b187b256355b6)

Author SHA1 Message Date
kd8lvt 70ce649eec
Implement contact-damage abilities (#49)
* Fix checking the wrong Pokemon for statuses when determining if abilities such as Static should activate.

* Implement Rough Skin

* Implement Iron Barbs and make Rough Skin code reusable for other abilities

* Remove unused import

* Changes for consistency

* Add missing ceiling function to damage

---------

Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-06 21:04:40 -04:00
Madmadness65 d1accabada Add missing shiny white-striped Basculin icon
Also a minor rarity swap of a couple evolution items.
2024-04-06 19:50:28 -05:00
Flashfyre 59cb4daa52 Fix gendered form evolutions always assigning male 2024-04-06 20:48:58 -04:00
Flashfyre e5ffc1e2db Re-nerf battle stat boosters to 5 turns and move Dire Hit to great tier 2024-04-06 20:15:19 -04:00
Flashfyre 6821404023 Filter out sacrificial moves from boss movesets 2024-04-06 19:41:12 -04:00
JackSmith5202 b7913e2a82 Implement Sticky Web 2024-04-06 19:08:47 -04:00
Flashfyre f762cf1eb3 Add extra weight to battle count splash message 2024-04-06 18:32:24 -04:00
Flashfyre 0d2f3e0388 Add battle count splash 2024-04-06 18:29:17 -04:00
LaukkaE 4377596f46
Implement Multiscale, Solid Rock, Filter, Justified, Water Compaction, Soul-Heart, Shadow Shield, Prism Armor (#46)
* Implement Multiscale, Solid Rock, Filter, Justified, Water Compaction, Soul-Heart, Shadow Shield, Prism Armor

fix

fix

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-06 15:39:55 -04:00
Stophles a17a9160b3
Checking Flinch before Confusion/Infatuation (#47)
* Recharge checked earlier, Move Tags not checked if move cancelled

Recharge is now checked at the start of doMove to determine if other Tags need to be checked or if the pokemon is recharging.  If the move is already cancelled, Move lapse tags are no longer checked (To account for Sleep/Paralyze happening before hand, so confusion would never trigger)

* PRE_MOVE Lapse added for Recharge, Recharge now cancels

Added a PRE_MOVE Identifier for Recharge specifically, which now cancels the move and shifts the move queue (since this will no longer occur in doMove. This prevents Confusion/Infatuation from also being triggered after a Pokemon is recharging.

* Changed spacing

* Added Flinch to PRE_MOVE Lapse

Added Flinch to PRE_MOVE Lapse tag like recharge so that confusion and infatuation aren't checked if the mon is already flinched
2024-04-06 15:32:54 -04:00
Flashfyre 1f860d6d1d Fix fusion evolution items not working on fully evolved species 2024-04-06 14:32:55 -04:00
Flashfyre a8ec37e7fa Fix both side switch out moves softlocking 2024-04-06 12:38:07 -04:00
Flashfyre 307c84914e Buff IV Scanner item 2024-04-06 10:37:54 -04:00
Madmadness65 36a8939f13 Update a few evolution methods
Dawn Stone is no longer used, as Snorunt is now a gender-dependent evolution. Basculegion now evolves at a higher level.
2024-04-06 09:22:24 -05:00
Madmadness65 63b81fa0f5 Add missing shiny Gmax Inteleon icon 2024-04-06 09:12:57 -05:00
Madmadness65 a8acf1ee1a Try fixing wild Rotom encounters 2024-04-06 02:13:12 -05:00
Flashfyre 751fcf31ca Recoil damage bypasses endure 2024-04-06 01:56:49 -04:00
Matthew 3dabfd3c55 Fix sturdy 2024-04-06 01:51:42 -04:00
Flashfyre 1bf2a725c9 Fix softlock with double battle fainting 2024-04-06 01:36:20 -04:00
Flashfyre 7fc4dbce85 Fix immutable weather conditions expiring 2024-04-05 23:45:31 -04:00
Flashfyre 5ebc351e4f Add a long-term goal 2024-04-05 22:58:40 -04:00
Flashfyre 9a9f093f5c Aegislash reverts to shield mode when returned 2024-04-05 21:18:23 -04:00
Flashfyre 4c383e105f Add evolution for secondary fusion species 2024-04-05 21:12:29 -04:00
Matthew 1085e0f692 Weather damages through enduring 2024-04-05 20:49:42 -04:00
Stophles 314b7dba43
Fixing Confusion triggering after Sleep, Paralysis, and Recharging (#44)
* Recharge checked earlier, Move Tags not checked if move cancelled

Recharge is now checked at the start of doMove to determine if other Tags need to be checked or if the pokemon is recharging.  If the move is already cancelled, Move lapse tags are no longer checked (To account for Sleep/Paralyze happening before hand, so confusion would never trigger)

* PRE_MOVE Lapse added for Recharge, Recharge now cancels

Added a PRE_MOVE Identifier for Recharge specifically, which now cancels the move and shifts the move queue (since this will no longer occur in doMove. This prevents Confusion/Infatuation from also being triggered after a Pokemon is recharging.

* Changed spacing
2024-04-05 20:42:30 -04:00
Matthew 5b2925cf85 Endure updated 2024-04-05 18:50:10 -04:00
Flashfyre e2a49ffa25 Fix critical hits causing decimal damage 2024-04-05 18:38:46 -04:00
Flashfyre e361922091 Revert "Added stat boost for fell stinger"
This reverts commit 9c3595c81a.
2024-04-05 18:33:18 -04:00
Potattiummm 9c3595c81a Added stat boost for fell stinger
added the stat boost for a ko with fell stinger
2024-04-05 18:28:34 -04:00
Matthew 6b5bc5b830 Fix duplicate transition at the end of batch hatching 2024-04-05 17:53:36 -04:00
Flashfyre 77e8ff3785 Nerf critical hit damage to 1.5x 2024-04-05 15:47:46 -04:00
Madmadness65 9e986390eb Implement Glitzy Glow and Baddy Bad moves 2024-04-05 14:28:50 -05:00
Flashfyre a6a382e357 Fix Poison Point odds 2024-04-05 14:38:54 -04:00
Matthew 0c579de6b1 Hatch Cleanup 2024-04-05 14:27:07 -04:00
Flashfyre 1167b21d7e Fix Poison Point not working 2024-04-05 14:26:41 -04:00
Flashfyre 7887788e36 Minor adjustment for final boss 2024-04-05 14:11:21 -04:00
Flashfyre d88871a86b Bosses prefer not to use sacrificial moves 2024-04-05 12:36:09 -04:00
Flashfyre a3fcf3f3d2 Lower Master Ball weight 2024-04-05 12:34:35 -04:00
Flashfyre e7ba9b7b06 Master balls can bypass boss bar segments 2024-04-05 12:30:48 -04:00
Flashfyre 3d083a7d4d Increase Flamigo starter value 2024-04-05 12:03:00 -04:00
Jaime a511f7ee0f Small fix for Reflect/Light Screen/Aurora Veil 2024-04-05 11:56:21 -04:00
Matthew 8945de6d59 Implement Pay Day and Make it Rain 2024-04-05 11:55:16 -04:00
Jaime 887a4176ab Implemented moves Reflect, Light Screen and Aurora Veil 2024-04-05 11:44:21 -04:00
Flashfyre 37eb5c8eb0 Add more recent move selections for trainer and boss Pokemon 2024-04-05 11:42:55 -04:00
Flashfyre b221c519a4 Fix party shiny odds check on locked reroll 2024-04-05 11:37:07 -04:00
Flashfyre ad6924485f Change Shelmet and Karrablast evolution conditions to having caught eachother respectively 2024-04-05 11:11:40 -04:00
Flashfyre dd2743bcf5 Discourage enemy trainers from switching too much consecutively 2024-04-05 10:59:03 -04:00
LaukkaE a214e815bc
implement Regenerator (#37)
* implement Regenerator

* fix
2024-04-05 10:32:36 -04:00
Flashfyre 5bed242002 Add Lock Capsule item and update reroll logic 2024-04-05 10:14:49 -04:00
Flashfyre efb6b9dbc9 Fix stat drops always being ignored 2024-04-05 07:32:56 -04:00