Robert Antonius
db92663daa
Fixed switch out attacks trigger contact for the replacement pokemon
...
Changed force switch out attribute to be applied after the move is done.
Additionally manually typed switch out attacks to be non baton pass moves.
2024-04-17 01:07:50 -04:00
Flashfyre
b116828b07
Convert biome select UI handler to option select
2024-04-16 15:58:02 -04:00
Flashfyre
dfe320e712
Minor changes to biome paths
2024-04-16 15:22:19 -04:00
Flashfyre
61e1f2da15
Fix compile errors
2024-04-16 15:09:13 -04:00
lucfd
24408edfdc
Implemented Burn Up & Double Shock ( #161 )
...
* Implemented barrier-breaking moves
* removed (P) from move names
* refactored to support defog
* Implements Burn Up & Double Shock
* Removed code irrelevant to current PR
2024-04-16 15:07:38 -04:00
shayebeadling
396f1bafd8
Fail conditions are working properly, can now handle sleep as well in edge case ( #160 )
2024-04-16 14:34:57 -04:00
Ishan Patel
1f9834d1f6
Fixed when roost removes flying type ( #148 )
...
* Initial push with roost fix
* Roost fix
* Added GROUNDED to Levitate
* Cleaned up GROUNDED code
2024-04-16 14:31:30 -04:00
Miguel S
7bc147166e
i18n for Pokemon moves ( #155 )
...
* i18n for moves
* Remove extra comma from merge
* Fixed some missing moves description
* Infer move i18n keys
---------
Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-16 14:29:32 -04:00
shayebeadlingkl
cfd30f16b2
Implements psycho shift
2024-04-16 13:15:00 -04:00
shayebeadling
95aa78487f
Present implementation, adds a 0 dmg override for 0 power moves. ( #152 )
...
* Implements present, adds an override in the dmg calc to make 0 power moves do 0 dmg
* present doesn't make contact
* removes console log
* only === 0
2024-04-16 00:41:15 -04:00
prateau
509954995c
update moves and abilities that takes effect in snow
2024-04-15 17:45:52 -04:00
prateau
0196cf8310
Add snow as a weather
2024-04-15 17:45:52 -04:00
Matthew Ross
c978fad286
Smack down should hit target charging fly
2024-04-15 16:24:57 -04:00
damocleas
a0fd462b5c
Nature Power move change for Town Metropolis and Plains ( #147 )
2024-04-15 16:23:44 -04:00
Matt Ross
af4e9ff66e
Additional moves should hit fly, dig, dive ( #143 )
...
* whirlwind should hit pokemon charging fly
* Thunder should hit flying
* magnitude and fissure should hit dig
* Add battle tag for underwater (dive), allow surf/whirlpool to hit diving
* reorder underwater in enums to match battler-tags order
* hurricane and thousand arrows should hit fly
2024-04-15 15:49:10 -04:00
damocleas
3a1ebc9815
Nature Power move for all biomes
...
Unique Nature Power move for all biomes, no overlap with terrains
2024-04-15 15:21:50 -04:00
serif
39eed2a275
Update move.ts
...
adds the rest of the biomes
2024-04-15 12:21:13 -04:00
Flashfyre
9d92ec2a72
Fix nature power using wrong syntax for switch case
2024-04-15 10:45:40 -04:00
Xavion3
6881246d17
Implement check functions for abilities
2024-04-15 01:11:27 -04:00
Madmadness65
e7f1969099
Implement Ivy Cudgel's type changing property
...
Basically a copy/paste of Raging Bull's code.
2024-04-14 21:41:12 -05:00
lucfd
d699a0f7d4
Implemented barrier-breaking moves ( #130 )
...
* Implemented barrier-breaking moves
* removed (P) from move names
* refactored to support defog
2024-04-14 22:26:58 -04:00
shayebeadlingkl
be9d07ab1a
fixes targeting
2024-04-14 18:26:44 -04:00
shayebeadlingkl
8932a0b6f9
Implements Nature Power
2024-04-14 18:00:31 -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
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
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
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
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
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
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
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
Xavion3
747a039a2e
Add support for strength sap
2024-04-11 20:55:21 -04:00
Flashfyre
3e9fdc2d0a
Fix rest not overriding status
2024-04-11 20:01:43 -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
43bf8e13ea
Fix stack overflow with weather abilities
2024-04-11 09:39:15 -04:00
Flashfyre
31050a5181
Add passive secondary abilities for bosses
2024-04-11 09:24:03 -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
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
bd556e3c68
Fix Fillet Away
2024-04-10 17:31:39 -04:00
Flashfyre
f45b21afde
Revert "Fillet Away"
...
This reverts commit 97144077f2
.
2024-04-10 17:23:31 -04:00
Kieru Snowbell
97144077f2
Fillet Away
...
I wanted to use it, so I coded it.
2024-04-10 17:21:07 -04:00
Flashfyre
350aa30a35
Fix issue with status effect move AI
2024-04-10 15:39:36 -04:00