Temps Ray
e94b17bbf5
Implement getAttackTypeEffectiveness check
2024-04-19 13:11:41 -04:00
lucfd
422eeb5d07
Implemented Stench ( #190 )
...
* implemented stench
* cleaned up code
* removed redundant lines
* Implemented Payback
* refactored, increased PostAttackApplyBattlerTagAbAttr robustness
* removed payback code
* Update src/data/ability.ts
---------
Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-19 09:33:35 -04:00
Xavion3
0b4963aefc
Block form changing abilities while fused
2024-04-18 18:56:50 -04:00
Xavion3
453c5644aa
Fix mold breaker + implement neutralising gas
2024-04-18 10:52:31 -04:00
NxKarim
94d5eab489
Implemented Disguise (Better this time) and Quick Feet console spam fix ( #174 )
...
* Implemented Disguise
Somehow it works.
* Update ability.ts
* Update ability.ts
* Update ability.ts
* whitespace pain
* Form name typo
Co-authored-by: Samuel H <flashfireex@gmail.com>
* Implemented Disguise
Disguise
Merge
Merge
Merge
Merge
Disguise + Merge
---------
Co-authored-by: Samuel H <flashfireex@gmail.com>
2024-04-18 00:09:28 -04:00
Tempoanon
cf2bd4d3da
Implement Charge and more abilities ( #163 )
...
* 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
* Add wind abilities and charge
* Implement Charge and more abilities
* Add i18n support and Beedrill fury cutter
* Fix merge conflict in taunt
* More English strings removed
2024-04-17 01:09:15 -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
prateau
509954995c
update moves and abilities that takes effect in snow
2024-04-15 17:45:52 -04:00
LaukkaE
e15b810f6a
Prevent crash with trace
2024-04-15 16:08:54 -04:00
LaukkaE
2a5351e2f6
impl Priority immunity abilities ( #137 )
2024-04-15 12:48:33 -04:00
AJ Fontaine
76edb00e31
Thermal Exchange
2024-04-15 12:18:00 -04:00
Madmadness65
e0dd7d6d48
Implement Shields Down's form change; Fix wild Rotom forms not appearing
...
Shields Down is only partially implemented; the form changing aspect is implemented, but the immunity to statuses is not yet.
Minior's alternate colored forms can now be encountered in the wild.
Rotom's appliance forms should *finally* appear in the wild correctly now.
And a minor fix for Zen Mode activating incorrectly.
2024-04-14 20:32:17 -05:00
Appo
c8445ba8dd
Implement Competitive
...
Since Competitive is just Defiant but for SPATK, the code for Defiant was reused with the buff changed to special attack. This should mean the ability works the exact same way as Defiant for it's respective stat.
2024-04-14 16:52:44 -04:00
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
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
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
Madmadness65
92812aae1d
Draining Kiss now restores 75% of damage dealt
2024-04-12 19:02:24 -05:00
Flashfyre
f6770b83b5
Add missing passive parameter to BonusCritAbAttr
2024-04-12 19:31:08 -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
William Burleson
389278a1b0
Implement download ( #99 )
...
* Implement Download
* Fix formatting
2024-04-12 16:08:04 -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
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
31050a5181
Add passive secondary abilities for bosses
2024-04-11 09:24:03 -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
kd8lvt
3e5a0d5c9c
Implement Aftermath ( #71 )
...
* Implement Aftermath
* Clean up unused imports & Consistency
* Minor changes
---------
Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-09 18:05:15 -04:00
Flashfyre
e672ead184
Indicate starters that exceed cost on starter select and show values for locked starters
2024-04-09 16:58:56 -04:00
Flashfyre
5844f2d742
Fix poison immunity abilities not working with toxic
2024-04-08 13:21:06 -04:00
LaukkaE
34cb70afa5
Implement Triage and Gale Wings
...
add move.ts
2024-04-08 10:16:50 -04:00
Flashfyre
fdcefbd5c1
Fix weather and terrain abilities not applying in endless mode on biome switch
2024-04-08 09:31:30 -04:00
musicman928
b7368afa9e
Add type change abilities
2024-04-07 22:27:07 -07:00
LaukkaE
fb9f5dad11
Properly implement Soul-Heart, Fix Opponent Stage boosts on faints ( #53 )
...
* Properly implement Soul-Heart, Fix Opponent Stage boosts on faints
add phases.ts
remove unused import
spacing
fix
* simplify alivePlayField
2024-04-07 17:20:24 -04:00
Madmadness65
c9de57185e
Implement Sand Spit ability; Increase Nymble's starter cost
...
The ability Sand Spit is now functional.
Unrelatedly, Nymble has now been doubled in starter cost from 2 to 4 (it's just too good to be too low).
2024-04-07 14:01:48 -05:00
Potattiummm
0597d04784
Added Ice Scales
2024-04-07 19:36:56 +01:00
Madmadness65
0cb008adb0
Implement Gooey and Tangling Hair abilities
2024-04-06 22:18:12 -05:00
Madmadness65
af3d9cb34c
Implement Steam Engine ability
...
Have fun fusing this ability into something wacky.
2024-04-06 22:01:08 -05:00
Madmadness65
8446130728
Fully implement Spiky Shield move
2024-04-06 21:50:17 -05:00
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
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
Matthew
3dabfd3c55
Fix sturdy
2024-04-06 01:51:42 -04:00
Flashfyre
a6a382e357
Fix Poison Point odds
2024-04-05 14:38:54 -04:00
Flashfyre
1167b21d7e
Fix Poison Point not working
2024-04-05 14:26:41 -04:00
LaukkaE
a214e815bc
implement Regenerator ( #37 )
...
* implement Regenerator
* fix
2024-04-05 10:32:36 -04:00
Jaime
36b3c91276
Implemented the abilities Stamina and Weak Armor
2024-04-04 18:35:15 -04:00
Flashfyre
84f6456972
Use nature override property instead of overwriting base nature
2024-04-02 23:00:56 -04:00
Madmadness65
08beae9cee
Implement Embody Aspect abilities
...
More work toward getting Ogerpon's unique Terastal forms functional. Also fixes the graphics for the Terastal Ogerpon forms, as they were scaled incorrectly.
2024-04-02 18:03:49 -05:00
Flashfyre
f95f3ff30e
Implement Magic Guard ability
2024-04-02 15:14:07 -04:00
Flashfyre
e171b10d40
Fix Sturdy enduring all hits instead of just from full HP
2024-04-02 01:03:29 -04:00
Madmadness65
b2f79c5756
Partially implement Good as Gold
...
It can block basic status attacks currently.
2024-04-01 22:16:16 -05:00
Madmadness65
077d87ade8
Implement Intrepid Sword & Dauntless Shield abilities
2024-04-01 15:34:46 -05:00
Flashfyre
332e658555
Pass ability arguments to trigger message
2024-03-30 23:49:29 -04:00
Madmadness65
8845d43784
Partially implement Flower Gift
...
The Attack and Special Defense boost works, but only for the ability holder currently. It does not change Cherrim's form yet.
Also adds the necessary battler tag entries because I forgot them in the previous commit.
2024-03-30 18:56:13 -05:00
Flashfyre
e5ee66b0b7
Implement King's Shield move and Stance Change ability
...
Implement King's Shield move and Stance Change ability; fix fire moves not all thawing and certain fire moves not thawing user
2024-03-30 18:46:33 -04:00
Madmadness65
4b772c903a
Implement Zen Mode ability
2024-03-30 13:02:58 -05:00
Madmadness65
160072ac5e
Implement Hunger Switch ability
...
Aura Wheel still does not change types based on Morpeko's current form, however.
2024-03-30 12:01:49 -05:00
Flashfyre
7cd1cbcf5e
Add missing Schooling ability effect level requirement
2024-03-30 09:07:06 -04:00
Madmadness65
c3a163b348
Implement Tera Shift ability
2024-03-30 00:19:54 -05:00
Flashfyre
dbca257a76
Add Schooling ability for Wishiwashi and fix Beast Boost
2024-03-30 00:53:35 -04:00
Madmadness65
0bd941d6a1
Implement more stat-boosting abilities
...
This implements Chilling Neigh, Grim Neigh, and both As One abilities.
Also separates the Embody Aspect ability into four for later when it's implemented, and adds the graphics for Ogerpon's Terastallized forms.
2024-03-29 22:19:10 -05:00
Flashfyre
7f2dd28832
Implement Moxie and Beast Boost abilities
2024-03-29 22:08:27 -04:00
Flashfyre
8915b2acec
Fix Prankster ability not working properly
2024-03-28 21:35:30 -04:00
Flashfyre
11bd7fdbca
Implement Prankster ability
2024-03-28 16:24:11 -04:00
Madmadness65
211d8d3636
Fix Poison Touch not working as intended
2024-03-27 23:02:49 -05:00
Flashfyre
63a6655759
Fix Transform and Imposter causing crash
2024-03-27 23:44:11 -04:00
Flashfyre
c9eac1f510
Fix Adaptability popup triggering falsely on non-STAB moves
2024-03-26 09:32:02 -04:00
Flashfyre
a22d50caa7
Fix abilities causing permanent weather and terrains
2024-03-25 10:22:16 -04:00
Flashfyre
c77ea04120
Fix static ability broken and causing crash
2024-03-24 22:43:35 -04:00
Flashfyre
a333f7886c
Fix effect spore and similar abilities activating on the wrong target
2024-03-23 10:54:16 -04:00
Flashfyre
5c02455c97
Implement Protosynthesis and Quark Drive
2024-03-18 21:22:27 -04:00
Flashfyre
4432522e15
Fix weather damage ability flavor text
2024-03-17 23:21:30 -04:00
Madmadness65
76de0d01f9
Correct Huge Power and Pure Power
...
They now increase the attack stat directly, instead of stat boosts (which was unintended).
2024-03-14 14:09:25 -05:00
Madmadness65
66b306de9e
Add Turboblaze/Teravolt flavor text
2024-03-13 23:56:18 -05:00
Flashfyre
0c835f4157
Implement various abilities including Mold Breaker
2024-03-14 00:40:57 -04:00
Madmadness65
9384344758
Implement various terrain-related abilities
...
Fully implements Electric, Psychic, Misty, and Grassy Surge. Partially implements Grass Pelt, Surge Surfer, and Hadron Engine, as their stat-boosting properties don't seem to work as intended.
2024-03-13 12:23:31 -05:00
Xiaphear
97b029b5d7
Added Defeatist
2024-03-13 13:54:15 +01:00
Flashfyre
b93e4397fa
Fix formatting and remove stray character
2024-03-13 08:51:07 -04:00
Xiaphear
9d2d03ee44
Added Tinted Lens.
2024-03-13 12:45:31 +01:00
Flashfyre
71e820f149
Add redirection logic to Lightning Rod and Storm Drain
2024-03-11 20:55:41 -04:00
Flashfyre
47cf14da9b
Implement terrains and rework status logic
2024-03-09 21:57:33 -05:00
Xiaphear
b9395ebd7f
Implemented Sturdy.
2024-03-09 23:49:00 +01:00
Flashfyre
4d8663d274
Fix pickup working on the same item multiple times
2024-03-08 14:49:17 -05:00
Flashfyre
d18eba4df8
Fix Pickup causing crash outside of battle
2024-03-07 08:23:21 -05:00
Flashfyre
113ac10c1b
Implement Pickup ability
2024-03-06 21:05:23 -05:00
Flashfyre
95bfb2a056
Implement Skill Swap and fix Wonder Guard with status moves
2024-03-04 21:32:11 -05:00
Flashfyre
893c20fc16
Remove status effect move type immunity
2024-03-04 20:28:55 -05:00
Flashfyre
6f54fa7741
Fix damage display issues with battle info
2024-03-01 10:28:29 -05:00
Flashfyre
1f6a6f4621
Damage-related fixes and changes
...
Apply damage numbers to all damage and heal; fix some damage-related bugs
2024-03-01 09:35:36 -05:00
Flashfyre
f48464d48d
Minor refactoring
2024-02-29 20:08:58 -05:00
Flashfyre
fdff3a549c
Factor type immunity abilities into enemy AI
2024-02-28 11:40:30 -05:00
Flashfyre
085dd15651
Fix broken type immunity ability
2024-02-23 09:24:49 -05:00
Madmadness65
76a6df43c4
Fix off-by-one champions; implement Strong Jaw
...
This fix currently has the unintended side effect of making Champion Leon unable to be fought, but every other set of Elite Fours is now followed by the proper Champions as intended.
2024-02-22 23:24:44 -06:00
Flashfyre
3ed80de330
Type immunity abilities only affect attack and status moves
2024-02-22 16:30:55 -05:00
Flashfyre
4e93f1e52c
Display enemy trainer briefly when switching
2024-02-22 00:00:51 -05:00
Flashfyre
dadc08d16e
Add Terestallization mechanics
...
Add Terestallization mechanics; implement Stellar type; fix bug with held item weights
2024-02-17 00:40:03 -05:00
Flashfyre
84fe12d83a
Implement some abilities
2024-01-16 00:28:03 -05:00
Flashfyre
63cb2ae22f
Implement some moves and update arena tags to include side
2024-01-15 23:29:22 -05:00
Flashfyre
052564f902
Update final boss fight and restructure some files
2024-01-13 12:24:24 -05:00