Commit Graph

1437 Commits (92812aae1d8d27a7e7704e75b65f7199be7f3f14)

Author SHA1 Message Date
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
Xavion3 747a039a2e Add support for strength sap 2024-04-11 20:55:21 -04:00
Flashfyre 3961550f62 Fix fusion move learning bug and inaccurate HP in battle info 2024-04-11 20:40:16 -04:00
Flashfyre 3e9fdc2d0a Fix rest not overriding status 2024-04-11 20:01:43 -04:00
Flashfyre eaf993e76f Fix starter select types not respecting form 2024-04-11 19:10:56 -04:00
Flashfyre 49f2a5d3eb Unimplemented moves cannot be selected by the play 2024-04-11 18:53:03 -04:00
Flashfyre 716388c92b Fix Pupitar losing hidden ability 2024-04-11 18:33:58 -04:00
Flashfyre d50521755e Fix fusion move merge happening after wave end 2024-04-11 16:30:29 -04:00
AppleOfTheDark d05fab041c
Snow Cloak Conditional Fix (#91)
* Snow Cloak Hail Condition Fix

Snow Cloak's evasion wasn't actually checking for hail, so the condition has been added.

* Snow Cloak

getWeatherCondition is not meant to have a capital.
2024-04-11 15:52:15 -04:00
Flashfyre 3d959e3860 SpDef boost in sandstorm only applies to rock types 2024-04-11 14:52:32 -04:00
Flashfyre 2c38849aa1 Compress battle animation sheets 2024-04-11 14:14:33 -04:00
Flashfyre c339d19e79 Compress all Pokemon sprites 2024-04-11 14:08:52 -04:00
Flashfyre af23bfc1f9 Fix post-summon abilities sometimes triggering twice on switch 2024-04-11 12:35:22 -04:00
Flashfyre 053c07cfba Fix being able to use rest without drawback when unable to sleep 2024-04-11 12:14:03 -04:00
Flashfyre 377dabdb27 Boss buffs ignore abilities 2024-04-11 12:11:55 -04:00
Flashfyre 1d0f04d629 Add type icons to starter select 2024-04-11 11:39:08 -04:00
Flashfyre f2a141cf15 Fix Mega evolutions causing ability slot to be lost 2024-04-11 11:09:07 -04:00
Flashfyre c14c581248 Weather damage counts as neutral damage 2024-04-11 10:33:08 -04:00
Flashfyre 43bf8e13ea Fix stack overflow with weather abilities 2024-04-11 09:39:15 -04:00
Flashfyre fbb901e591 Temporarily disable passive abilities 2024-04-11 09:30:40 -04:00
Flashfyre 31050a5181 Add passive secondary abilities for bosses 2024-04-11 09:24:03 -04:00
Flashfyre 75075c6fab Update missing save data handling 2024-04-11 00:18:16 -04:00
AppleOfTheDark b9a068e3b7
Implement Shed Skin (and Hydration!) (#84)
* Implement Shed Skin (and Hydration!)

Implemented Shed Skin, with a 1/3 chance to remove a non-volatile status condition if inflicted with it at the end of each turn. While doing this I noticed Hydration is the same effect but in Rain/Heavy Rain, so I implemented that too.

* Update to ability.ts based on changes.

Formatting errors should be largely fixed, and we've switched from Math.rand to Utils.

* Update src/data/ability.ts

---------

Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-11 00:16:09 -04:00
Madmadness65 b2beb8e0c8 Chespin now has Tackle at level 1
Minor change to give the only starter without a normal attack one. Chesnaught *does* have it at level 1 oddly enough.
2024-04-10 21:59:08 -05:00
Jason Halvorson a337e9499a Fix Diancie's gender
Diancie is genderless, so I've removed it's gender
2024-04-10 22:41:53 -04:00
Xavion3 4f1fa4e192 Fix random category
Also fix the variable name
2024-04-10 22:41:16 -04:00
Xavion3 4f63b83bd9 Add support for variable category moves
Also lets shell side arm poison
2024-04-10 22:41:16 -04:00
ARSOD-Z 7c8aed50cd
trainer dialogue (#81) 2024-04-10 22:39:42 -04:00
Flashfyre 8dc96c0070 Fix triggering summon ability on load 2024-04-10 20:57:22 -04:00
Stophles f418fe294a Rapid Spin now removes traps/seeds, added (P) back on
Rapid Spin now removes the tags for trapping moves and seeds rather than having them lapse.  Re-added the (P) to the move since clearing arena hazards hasn't been implemented yet.
2024-04-10 20:37:11 -04:00
Flashfyre 81536e7e8e Ignore fusion species generation on egg hatch 2024-04-10 20:31:52 -04:00