Commit Graph

2167 Commits

Author SHA1 Message Date
shayebeadling
90ef58d7a4
Defiant implementation (#128)
* Defiant works, but self inflicted stat changes still proc the stat raise.

* Prevents proc from self-targeted stat reductions, like superpower
2024-04-14 14:20:00 -04:00
Madmadness65
73cf4e9f5c Implement Thunderclap
It's just a copy of Sucker Punch, so no additional work needed.
2024-04-14 12:52:59 -05:00
Xavion3
605e16fe35 Fix a bunch of moves 2024-04-14 13:16:28 -04:00
Tempoanon
946e6d8c5c
Implement Rivalry, Quick Feet, Liquid Voice, and Normalize (#108)
* Implement Rivalry

* Implement Quick Feet, Liquid Voice, and Normalize

* Forgot paralysis is half speed instead of a quarter

* Remove log statements

* Fix minor edge case in rivalry for gendered vs genderless
2024-04-14 13:15:01 -04:00
cornfish
c25cb50b31
Implement toxic chain (#126)
* implement toxic chain

* fix for self target like roost
2024-04-14 13:13:17 -04:00
Flashfyre
75ce0e8f73 Fix transform and imposter not copying ability 2024-04-14 12:23:49 -04:00
Xavion3
705ba0659e Fix crash bug with sucker punch when not using a move 2024-04-14 12:06:21 -04:00
Flashfyre
598e695348 Fixed damage moves are unaffected by the multi lens 2024-04-14 12:02:44 -04:00
Xavion3
cc20d24afa
Implement sucker punch (#121)
* Implement sucker punch

* Fix variable name
2024-04-14 11:54:46 -04:00
Madmadness65
1941939931 Fix Jungle Healing healing the user twice
It still does not have the status condition healing bit yet.
2024-04-14 08:19:31 -05:00
Temps Ray
65961d5cc7 Fix bug in legendary gacha that reduced epic egg rates 2024-04-14 01:30:07 -04:00
Flashfyre
7e3ad88e4d Hide candies for evolved starters 2024-04-14 00:14:23 -04:00
Flashfyre
af571dbfcf Copy hidden ability capsule to legacy UI 2024-04-13 23:44:10 -04:00
Xavion3
4078518c5f
Add support for ability changing effects (#113)
* Add support for ability changing effects

* Fix doodle with a fainted ally in doubles
2024-04-13 23:21:34 -04:00
shayebeadling
f068b53d44
Show icon in dex for HA mons, like shiny (#117)
* Show icon in dex for HA mons, like shiny

* Swaps the star with the HA capsule

* Removes the unwanted icon
2024-04-13 23:20:54 -04:00
neverblde
cdab38abda Don't escape interpolation values 2024-04-13 23:02:32 -04:00
Flashfyre
796f69daeb Lower candy costs for lower-cost starters 2024-04-13 20:41:51 -04:00
Madmadness65
77368986fe Change Rotom and Carbink's passive abilities
Rotom naturally cannot take advantage of Electric Surge as it's not grounded, and Oblivious is pointless on a genderless Pokémon like Carbink.
2024-04-13 19:37:42 -05:00
Flashfyre
000d31f663 Fix use candy menu showing up for evolved starters 2024-04-13 19:36:43 -04:00
Flashfyre
c369e9ed85 Change layering on certain starter select ui elements 2024-04-13 19:28:32 -04:00
Flashfyre
61ce0887ef Fix candy menu not showing for species with only 1 starter move 2024-04-13 19:21:59 -04:00
Flashfyre
608c024749 Fix crash on starter select when scrolling generations 2024-04-13 19:06:33 -04:00
Flashfyre
824a73ef71 Add candy system for passives and value reductions 2024-04-13 18:59:58 -04:00
João Santos
ccf956a63c Prevent install as an app prompt 2024-04-13 17:52:38 -04:00
EmoUsedHM01
c84531af35 Gave Regigigas Normalize as a HA following a discussion about it on Discord
Removes its powerful coverage options in exchange for losing Slow Start, still gets walled by anything that resists/ignores Normal type moves but is no longer useless for 5 turns
2024-04-13 13:55:56 -04:00
LaukkaE
8cf8ce1258 Fix terrain power boosting
fix
2024-04-13 13:51:13 -04:00
Madmadness65
aa0a88a468 Fix Tapu Lele's cry
It was a copy of Tapu Koko's cry. This has been corrected.
2024-04-13 11:00:59 -05:00
neverblde
df949be2bd Refactor some string literals into i18next 2024-04-13 00:49:14 -04:00
Xavion3
66ef42db85 Update ability attributes 2024-04-12 22:25:22 -04:00
kleekie
3d38ad14ca Add crash damage message + battle info update for missed/ineffective moves 2024-04-12 22:21:07 -04:00
Madmadness65
92812aae1d Draining Kiss now restores 75% of damage dealt 2024-04-12 19:02:24 -05:00
João Santos
40cdd6ace2 Fix PWA setup 2024-04-12 19:42:17 -04:00
Flashfyre
f6770b83b5 Add missing passive parameter to BonusCritAbAttr 2024-04-12 19:31:08 -04:00
Flashfyre
086c64b8f8 Fix invalid constructor arguments to always crit tag 2024-04-12 18:44:20 -04:00
EmoUsedHM01
cabba43598
Added support for Super Luck with BonusCritAbAttr (#106)
* Fixed Super Luck, and added a new BonusCritAbAttr

* Added crit clause for BonusCritAbAttr ( Super Luck )

* Changed it to +1 like it should be
2024-04-12 17:21:56 -04:00
Dovie Shalev
eb791747fe
Last respects Fully Implemented (#105)
* Last Respects fully implemented

* Fixed Last Respects

* Last Respects Fully Implemented

* Last Respects Fully Implemented

---------

Co-authored-by: dshalev <dshalev@umich.edu>
2024-04-12 16:16:08 -04:00
William Burleson
389278a1b0
Implement download (#99)
* Implement Download

* Fix formatting
2024-04-12 16:08:04 -04:00
EmoUsedHM01
930c14fa62
Laser Focus support, with the added BattlerTagTypes to support it (#103)
* Added a new BattlerTagType and support for Laser Focus

BattlerTagType.ALWAYS_CRIT

* Updated battler-tags to support ALWAYS_CRIT

* Added ALWAYS_CRIT = "ALWAYS_CRIT", for the updated battler-tag-type

* Updated the crit formula to include the new critAlways

* Updated crit logic to include critAlways, fixed indents
2024-04-12 16:05:32 -04:00
Madmadness65
dcb4688c76 Revert "Update Gen 4 & 9 egg moves"
This reverts commit eef83432ab.
2024-04-12 14:54:01 -05:00
Madmadness65
eef83432ab Update Gen 4 & 9 egg moves 2024-04-12 14:40:14 -05:00
joao-m-santos
0de816cbfb Fix PWA on Chromium browsers 2024-04-12 12:21:29 -04:00
Matthew Olker
d2ebb499d8 Fix broken call in force switch out 2024-04-12 07:44:45 -04:00
EmoUsedHM01
fba98ffa0c
Updated ForceSwitchOutAttr (#90)
* Updated ForceSwitchOutAttr

Should fix issue #83

* Removed the additional indents

* Updated the import and fixed the ForceSwitchOutAttr coding errors

* Removed the rest of the indents

* Updated formatting
2024-04-12 07:32:06 -04:00
Xavion3
20b6612cd1 Add support for hidden power 2024-04-12 01:45:19 -04:00
James Lin
73c9625df1
Add i18next framework to enable further contributions (#96)
* prototype

* Update with comments and type safety
2024-04-11 23:47:03 -04:00
Matthew
b44ee95610
Update README.md 2024-04-11 23:27:59 -04:00
spongario
d06003d22c fix formatting 2024-04-11 23:18:37 -04:00
spongario
07ff22e53d fix for Psychic Terrain blocking Protect Moves 2024-04-11 23:18:37 -04:00
Jason Halvorson
58ef8f5aec Fix the logo not appearing when installed as a PWA
I think I initially had manifest.json in `src/`, but moved it to the
root dir and forgot to update the src property..
2024-04-11 23:18:01 -04:00
Flashfyre
a793aedd29 Don't transfer baton item if target is already holding one 2024-04-11 20:58:24 -04:00