innerthunder
86cc1018e3
[Bug] Fix Thousand Arrows not hitting Pokemon with Levitate ( #2493 )
2024-06-21 14:04:11 -04:00
innerthunder
7cad385a38
[Bug] Fix Thousand Arrows grounding opponents before use ( #2485 )
...
* Fix Thousand Arrows grounding opponents before use
* Use existing AddBattlerTag instead
2024-06-21 10:39:00 -04:00
Xavion3
a14128aece
Fix Minimize AI and add NaN AI score safeguard ( #2460 )
2024-06-21 09:26:32 +10:00
innerthunder
7ae6baf9a5
[Bug] Fix Poison Heal blocking non-Poison damage ( #2465 )
2024-06-20 15:07:27 -04:00
Tempoanon
7a7e944a1c
Mountain Gale does not make contact ( #2456 )
2024-06-20 11:06:35 -05:00
Zach Day
07b9f5476a
[Fix] Ability suppression effects not failing correctly ( #2440 )
...
* Make ability suppression fail if ability is already suppressed
* Document SuppressAbilitiesAttr
* Add gastro acid unit tests
2024-06-20 00:43:45 -04:00
Tempoanon
cb5cedac84
[Bug] Fix bug in doubles after 1 opponent is phazed ( #2419 )
...
* Hotfix uturn with kings rock
* Hotfix for crashing after phazing away a doubles opponent
* Hotfix for crashing after phazing away a doubles opponent
2024-06-19 22:36:23 +01:00
Matthew
3d9b134332
[UI] Update Challenge UI ( #2393 )
...
* Update Challenge UI
* Update interpolation and localization
* Update src/locales/de/challenges.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update src/locales/de/challenges.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
---------
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
2024-06-19 20:40:08 +01:00
Dmitriy K
74aa5a8005
Create Class constructor utility type. ( #2162 )
2024-06-19 12:00:26 -04:00
Enoch
afe70453b1
[hotfix] fix message when helping hand ( #2410 )
2024-06-19 11:34:17 -04:00
Enoch
06b1f8a0bc
[Localization] Add localization in battler-tags.ts ( #1990 )
...
* [Localization] Add localization in battler-tags
* localize curse ghost skill apply message
* translate Drowsy korean
* translate requested changes
* Update src/locales/ko/battle.ts
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
* resolve merge error
* Update French battle.ts
* remove unnecessary backslash
* Update src/locales/de/battle.ts
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
* Update battle.ts [Localization(it)]
* recover missing code resolving merge
* Update src/locales/zh_CN/battle.ts
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
* Update src/data/battler-tags.ts
---------
Co-authored-by: 송지원 <jiwsong@gmarket.com>
Co-authored-by: sodam <66295123+sodaMelon@users.noreply.github.com>
Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
2024-06-19 10:38:31 -04:00
Adrian T
29b8b3aa1f
[Bug] Fixes dragon tail vs ice face eiscue interaction ( #2397 )
...
* add optional chaining
* specify first hit
2024-06-19 09:51:50 -04:00
Adrian T
9463da8797
[Bug] Fix ice face blocking all hits from multihit moves ( #2391 )
...
* fix ice face bug
* add multihit test
2024-06-18 22:56:44 -04:00
innerthunder
21f1e077fa
[Featrue] Add Dark-type immunity to Prankster ( #2355 )
2024-06-18 11:21:54 -04:00
3ae3ae
cf1f958a07
[Move] Remove partial from Matcha Gotcha ( #2368 )
2024-06-18 10:21:53 -04:00
Xavion3
38b1a7fc61
Make starter selection account for evolutions and forms ( #2077 )
...
Only the second and on can be selected with future valid criteria
2024-06-18 09:27:06 -04:00
NxKarim
cc7db08fe8
[Bug] Sheer Force Fix (Stone Axe and self status moves) ( #2366 )
...
Implements AddArenaTrapTagHitAttr for moves like Stone Axe and Ceaseless Edge.
Fixes chance for selfstatus moves.
Added Comments For AddArenaTrapTagHitAttr
2024-06-18 00:23:34 -04:00
Daniel Gaston
b8a3f30bd0
[Hotfix] Sheer Force arena tag add extra condition ( #2356 )
2024-06-17 21:49:08 -04:00
NxKarim
c52e0ac5b6
[Ability] Serene Grace, Shield Dust, Sheer Force (P) ( #246 )
...
Co-authored-by: okimin <danielgaston6@gmail.com>
2024-06-17 20:30:42 -04:00
innerthunder
3b3b9e39af
[Move] Implement Follow Me, Rage Powder, and Spotlight ( #1834 )
...
* Implement "Center of Attention" battler tag + moves
* Powder immunity logic for Rage Powder
* Center of Attention unit tests
2024-06-17 18:05:21 -04:00
Matthew
d70dd16f8c
[Refactor] I18n Cleaning ( #2348 )
...
* I18n Cleaning
* pr comments
* appease typedoc
* moved types into src
2024-06-17 17:05:33 -04:00
Adrian T
fd1baef244
[Ability] Implement Power Spot & Battery ( #2268 )
...
* add battery
* add power spot
* refactor
* remove FieldVariableMovePowerAbAttr
* remove showing ability bar
* document + cleanup
* add unit tests
* update test name
* update variable names
* update multiplier
2024-06-17 16:12:11 -04:00
Adrian T
57b5c33c4b
[Ability] Implement Screen Cleaner ( #2346 )
...
* implement screen cleaner
* add documentation
* add unit tests
* rename arena to arenaTag
2024-06-17 15:37:11 -04:00
schmidtc1
d5ec5c371b
[Move] Fix bug for Spite and fully implement Eerie Spell ( #2244 )
...
* Bug fixes for spite, creates class to extend spite for eerie spell
* Comments for clarity, creates class to extend ReducePpMoveAttr
* Resolve reference error with AttackReducePpMoveAttr
* Shows move failed in a clearer way with showMoveText
* Localization of pp reduction moves
* Fixes issue of eerie spell reducing pp when ratio is 0
* Removes unnecessary phase replacement
* Remove partial implementation from eerie spell
* Adds locale entry for ppReduced to other languages
2024-06-17 15:05:23 -04:00
Frisk17
89eba349c9
[Move] Implemented Magnet Rise ( #2081 )
...
* Partially implemented Magnet Rise
* Implemented Magnet Rise
* Changed pokemon.ts so all TypeImmune tags work instead of just
MagnetRisen
* Magnet Risen is now removed when Gravity is used.
* Magnet Rise is ignored by Thousand Arrows
and Smack Down.
* Fixed a bug where status ground type moves
would also be ignored by Magnet Rise
* Added a message when Magnet Rise is removed
* Inserted TypeImmuneTag check in
getAttackMoveEffectiveness() for the AI
* Created a magnetRiseCondition separately
* Created a test for Magnet Rise
* Bug Fix in Magnet Rise test
* Created Magnet Rise test with Gravity
* Shifted the code from getAttackMoveEffectiveness
and apply into getAttackTypeEffectiveness instead
* Replaced onNextPrompt with doAttack
* Removed redundant runFrom(Phase)
* Replaced magnetRiseCondition with
battlerTags.every anonymous function
* Fixed import errors
* Added an undefined check for summonData
for TypeImmuneTag in getAttackTypeEffectiveness
* Replaced undefined-check with optional chaining
2024-06-17 17:35:06 +02:00
chaosgrimmon
1396aaaa57
[Move] Sappy Seed shouldn't be Making Contact ( #2303 )
...
https://bulbapedia.bulbagarden.net/wiki/Sappy_Seed_(move)
2024-06-16 18:48:42 -04:00
chaosgrimmon
90f6ae7e6d
[Bug] Friendship-based moves have Base Power -1 when Pokemon is wild ( #2291 )
...
Affects RETURN, FRUSTRATION, PIKA_POW, and VEEVEE_VOLLEY.
2024-06-16 18:40:47 -04:00
Madmadness65
cc1b37c097
Correct Iron Jugulis' passive ability
2024-06-16 17:38:32 -05:00
Devin Korb
728ee3809a
Add dependency cruiser command ( #2192 )
...
* add dependency cruiser and fix all default errors
* create svg render of dependencies in command
* move configs to ts files, await font loading
* fix i18n
* fix dependencies...
* fix typedoc generation and tsconfig exclusions
* revert github-pages fix for another pr
* no-circular -> no-circular-at-runtime for type imports (future)
2024-06-16 00:26:37 -04:00
Arxalc
2d254bab96
[Move] Implemented Incinerate and Knock Off ( #1671 )
...
* Implemented Incinerate and Knock Off
* Ran linter
* Removed unnecessary code
2024-06-15 22:26:54 -04:00
Lee ByungHoon
9b8f6f312b
[Localization] Modification some code about battle stat for localization ( #1985 )
...
* [Localization] Modification some code about battle stat for localization.
* Corrections to failed generating typedoc docs.
* [Localization] Modification some code about battle stat for localization.
* Corrections to failed generating typedoc docs.
* Corrections to change localized key for battle stat and level change description.
* Deleted battle-stat.ts file in Deutsch locales.
* Fixed build failure
* Move unit test file into localisation folder from battle folder.
* Fixed localization key
* Fixed build failure
* Fix merge conflict
* Fix merge conflict again
---------
Co-authored-by: Tempoanon <163687446+Tempo-anon@users.noreply.github.com>
Co-authored-by: Temps Ray <temps.ray@gmail.com>
2024-06-15 22:25:18 -04:00
Philippe
bf7eb52f85
[Move] Implement poltergeist ( #1726 )
...
* implement poltergeist
* add comments
* use string interpolation
2024-06-15 22:24:38 -04:00
innerthunder
01435ed0e0
[Ability] Implement Unseen Fist ( #1776 )
...
* Implement Unseen Fist
* Add unit tests for Unseen Fist
* Fix unit test imports
2024-06-15 22:14:49 -04:00
Jannik Tappert
1a8c9d472a
[Localization] Localized the statname in the X Item description ( #2264 )
...
* Localized the statname in the X Item description
* Added french thanks to sangara42
* Changed french by Lugiadrien
2024-06-15 21:54:53 -04:00
Terrorforge
6917db7429
[Balance] give Goomy Regenerator ( #2248 )
2024-06-15 12:23:32 -04:00
Tempoanon
fdf139d529
[Bug] Add rest of trailblaze Pokemon ( #2239 )
2024-06-15 12:18:52 -04:00
Adrian T
dbecb72890
[Bug] add ability revelead for trace, refactor ( #2258 )
2024-06-15 12:13:59 -04:00
Adrian T
0b019d9823
[Ability] Implement Wonder Skin ( #2231 )
...
* implement wonder skin
* add unit tests
* fixes
* move applyPreDefendAbAttrs
2024-06-15 17:06:32 +01:00
Adam Clemons
422a561dfe
[Feature] Add Missing Champion Dialogue ( #2120 )
...
* Add Alder dialogue
* Add Kieran dialogue
* Add line breaks
* typo fix
* Add placeholder dialogue
2024-06-15 16:47:44 +01:00
EmberCM
16084878c3
Remove random trailing commas ( #2245 )
2024-06-15 12:13:54 +02:00
Ei
465d95bbd4
[Bug] Fixed frisk not setting revealedAbility flag ( #2238 )
2024-06-14 20:18:20 -04:00
Madmadness65
df58da32aa
Update Egg Moves ( #2227 )
...
New changes to go along with the passive ability changes.
2024-06-14 17:30:36 -05:00
Blitzy
be20783524
[Balance] Give Slakoth, Archen, and Wimpod Line new hidden abilities like Regigigas ( #2115 )
...
* Give Archen line and Wimpod line new Hidden Abilities
* Add Hidden Ability to Slakoth Line
2024-06-14 17:05:39 -05:00
Madmadness65
069466b05f
Revert Eternatus Passive Change
...
That wasn't supposed to go through.
2024-06-14 17:01:59 -05:00
damocleas
de4025b7d3
[Balance] Passive Changes ( #2226 )
...
* [Balance] Passive Changes
* ADAPTABILITY*
2024-06-14 16:59:02 -05:00
Matthew Olker
f9f69fb0e2
End Freeze Hotfix
2024-06-14 13:12:12 -04:00
Matthew Olker
02d5654be4
Pride Update
2024-06-14 12:42:37 -04:00
Matthew
dc30dd33b2
[QoL] Reorganize Enum Locations ( #2185 )
...
* moving enums
* import updates
* fix tsconfig paths importing (#2184 )
* reverse index.ts addition
---------
Co-authored-by: Devin Korb <meepdarknessmeep@gmail.com>
2024-06-13 18:44:23 -04:00
sirzento
0adddc4aea
Fixes manaphy egg rate back to 1/256 ( #2182 )
2024-06-13 17:06:29 -05:00
schmidtc1
fd3261d8ce
[Move] Partial implementation of Stuff Cheeks ( #2183 )
...
* Partially implements stuff cheeks
* Comment for clarity on partial implementation
Explains why the move is still partially implemented.
2024-06-13 16:24:32 -04:00