Commit Graph

3258 Commits

Author SHA1 Message Date
innerthunder
e521862096
[Bug] Fix Make It Rain applying effects for each target (#2664)
* Fix Make It Rain applying effects for each target

* Revert MoneyAttr change

* Remove RNG from parental bond tests
2024-06-27 15:21:24 -04:00
innerthunder
0d25b2332a
[Bug] Fix multi-hit frenzy moves permanently locking the user (#2662) 2024-06-27 13:33:43 -04:00
Adam Clemons
d8129dae7d
[Bug} Fix Tidy Up buff (for real this time) (#2649)
* Fix Tidy Up buff

* Force pipe rerun...

* Remove whitespace

---------

Co-authored-by: Tempoanon <163687446+Tempo-anon@users.noreply.github.com>
2024-06-27 12:37:57 -04:00
flx-sta
eb77927d4b
[Bug] Fix Tidy-Up boosting stats multiple times right now (#2652)
only apply if user id equals target id. This is necessary because of the  which is necessary for clearing the arena traps
2024-06-27 09:54:36 -04:00
chaosgrimmon
b9fd4273c9
[Bug] More non-contacting physical moves (#2660)
Fixes Raging Fury, Barb Barrage, and Triple Arrows.
2024-06-27 09:37:17 -04:00
innerthunder
f9d8bd6e7d
[Bug] Fix Parental Bond multiplier sometimes applying during first strike (#2653) 2024-06-27 01:59:57 -04:00
NightKev
23a1c461a9
[unittest] Remove more RNG from Dry Skin tests (#2647) 2024-06-27 01:06:16 -04:00
innerthunder
e477fccaab
[Bug] Fix multi-hit early stopping (#2648) 2024-06-27 00:41:31 -04:00
Smewkie
996568ef5b
[Bug] Make it Rain interaction with Multi-Lens (#2638)
Changes make it rain to provide stat changes whenever the move hits multiple times, ie with Multi Lens.
2024-06-26 22:38:31 -04:00
Yonmaru40
59cf02e64b
[localization] Zh_cn type image change (#2639)
* Add files via upload

* Delete public/images/types_zh-CN.png.png

* Add files via upload
2024-06-26 21:33:28 -05:00
Amani H
0e994a7072
Fix Stat Booster Held Items Applying to Party (#2637) 2024-06-27 03:17:22 +01:00
NightKev
8933a9bb05
[Test] Prevent RNG from breaking Dry Skin tests (#2630) 2024-06-26 21:39:35 -04:00
innerthunder
55dd6b5100
[Bug] Fix Multi-Lens/PBond interaction for spread moves (#2633) 2024-06-26 21:05:03 -04:00
damocleas
0d3cd8ab96
[Balance] Quick Adjustments to Rogue Tier Items (#2634) 2024-06-26 19:02:48 -05:00
José Ricardo Fleury Oliveira
4186bd651b
Localization (pt): Added new items' translations (#2627)
* added new items' translations

* forgor
2024-06-26 17:30:38 -05:00
Dmitriy K
576f099243
[Test] Optimize Quick Draw tests (#2625)
* optimize the tests

* add level override in favor of directly changing stats
2024-06-26 17:01:14 -04:00
chaosgrimmon
f3eeb6abea
[Sprite] Fix variant icons from Gen7 (#2624)
* [Sprite] Remove unused icons from 6v

* [Sprite] Fix variant icons from Gen7

* [Sprite] Compress icons_7v
2024-06-26 16:18:28 -04:00
innerthunder
cd92d4d7d3
[Ability] Implement Parental Bond (#2384)
* Parental Bond basic implementation

* Parental Bond unit tests

* ESLint

* PBond AbAttr rework, documentation, and multi-target unit tests

* Update post-target move attribute logic

For Parental Bond interaction.

* AddSecondStrikeAbAttr now uses Constructor util

* Unit tests for PBond + Multi-Lens interaction

* Remove random damage spread in unit test

* Add null checks to PBond AbAttr

* Set player pokemon for unit test

* Fixed Post Target check to account for KO's

* Fix multi-strike moves applying effects at wrong times

* Test cases for updated effect timing

* Add Wake-Up Slap test case

* Fix Fury Cutter/Echoed Voice multi-hit interaction

* Fix Pay Day, Relic Song, and Fury Cutter (again)

* Add early stopping to multi-hit moves

* RecoilAttr now uses lastHitOnly

* Add faint check to last hit logic
2024-06-26 16:03:14 -04:00
Amani H
f7f8988cdb
[Item] Add Light Ball, Thick Club, Metal Powder, and Quick Powder (#1899)
* Add Light Ball, Thick Club, and Metal/Quick Powder

* Fix Typo, Account for Fusions

* Fix Errors with Fusions

* Group Items into Generator

* Refactor Generator and Type, Fix Localization (en)

* Adjust Generator, Add Override Type

* Fix Enum Import

* Localize for de, es, fr, it, ko, zh_CN, zh_TW

* Add Unit Tests

* Add Type

* Fix Items Atlas

* Change Cubone Passive Ability, Adjust Weight
2024-06-26 13:48:10 -05:00
flx-sta
74a7b1bb79
[Bug] fix boss-segment reload persistence: (#2613)
add boss-segments to into pokemon-data & load it in EnemyPokemon constructor
2024-06-26 13:19:24 -04:00
damocleas
29283d81a0
[Balance] General Item Weight Adjustments (#1901)
* [Balance] General Item Weight Adjustments

* temporarily reduce Voucher Plus to 4 -> 2 -> 0 weighting per reroll

* Ultra Ball 12 -> 14

* Various Adjustments

* Various Adjustments to Ultra and Rogue Tier

Super Exp Charm 10 -> 9
Soul Dew 8 -> 7

Big Nugget 10 -> 12
TM Ultra 12 -> 11
Attack Type Booster 10 -> 9

* fixed map conflict

* Voucher Plus 4 -> 3

* Made Form Change Items have scaled weight by wave count.
2024-06-26 12:14:53 -05:00
Tempoanon
f8a15570fa
Fix 2 typos in Cyrus and Lucian en dialogue (#2611) 2024-06-25 22:10:55 -05:00
Enoch
70e1a38403
[Localization] localize reward message (You received ~) (#2556)
* localize reward message (You received ~)

* Update src/locales/zh_CN/battle.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Update src/locales/es/battle.ts

Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>

* Update src/locales/pt_BR/battle.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Update src/locales/de/battle.ts

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Update src/locales/fr/battle.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

---------

Co-authored-by: 송지원 <jiwsong@gmarket.com>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: GoldTra <162721984+GoldTra@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>
2024-06-25 22:13:43 -04:00
Madmadness65
edb4c7e4a2 Add missing shiny icons for legacy UI
This will resolve the error of the graphic being missing when loading the game.
2024-06-25 20:53:06 -05:00
Tempoanon
7e3ff28eaa
Add flooring to ReceivedMoveDamageMultiplierAbAttr (#2606)
* Add flooring to ReceivedMoveDamageMultiplierAbAttr

* Fix merge conflicts for real
2024-06-26 01:08:03 +01:00
Teju Rajbabu
6046b9bfae
[Bug] fixed persistent shinyIcon bug (#2605) 2024-06-25 18:20:40 -04:00
Teju Rajbabu
d2e97979bd
[Bug] Add back saved loadout info (#2604) 2024-06-25 17:25:03 -04:00
Adrian T
fd08983181
[Ability] fix damage taken by disguise (#2601) 2024-06-25 15:32:45 -04:00
Tempoanon
eae2d0a144
[Bug] Fix typo in encore (#2499)
* Fix typo in encore

* I actually did forget the French typo
2024-06-25 19:18:05 +01:00
Teju Rajbabu
c8db3bff4c
[QOL] UI Improvement - Shiny Icon (#2372)
* Test changes to change variant label color based on Tint

* Revert "Test changes to change variant label"

This reverts commit 0ad0f62930.

* minimal recovery changes

* Finalized recovery and implemented ShinyIcon

* add setY in MockSprite

* added back some unintentional removed code

* added shiny_icons

* Initial test for tier change

* implemented Shiny Icon full functionality

* slight setY change for non-Base starters
2024-06-25 13:48:48 -04:00
Hugo Tembremande
8f7f46c6f2
[Localization] Correction of a typo in a french dialogue (#2597)
* [Localization] Correction of a typo in a french dialogue

* fix: typo when playing female char
2024-06-25 13:46:13 -04:00
Corrade
e70113073f
[Bug] Fix Dry Skin and ReceivedMoveDamageMultiplierAbAttr abilities (#2592)
* Dry skin and ReceivedMoveDamageMultiplierAbAttr bug fix: first cut

* Dry skin and ReceivedMoveDamageMultiplierAbAttr bug fix: removed redundant branch

* Dry skin and ReceivedMoveDamageMultiplierAbAttr bug fix: reworded test cases that had typos anyway

* Dry skin and ReceivedMoveDamageMultiplierAbAttr bug fix: renamed PreDefendMovePowerToOneAbAttr (Disguise) to mention damage rather than power

* Dry skin and ReceivedMoveDamageMultiplierAbAttr bug fix: renamed powerMultiplier to damageMultiplier in ReceivedMoveDamageMultiplierAbAttr
2024-06-25 13:23:48 -04:00
sodam
ea510571d4
[Localization] #1761 Korean trainer dialogue (for 3, 7, 9th Elite-4&Champions) (#2594)
* localized elite-4 in hoenn

* added steven's (hoenn champion)

* Update dialogue.ts

* added champion's (8th, 9th)

* added elite-4 (in Alola)
2024-06-25 11:41:15 -04:00
Proxymyr
0320ea3bfa
[Localization(fr)] Fixed typo in infatuation message (#2596) 2024-06-25 11:09:21 -04:00
sirzento
79d29bae85
[BUG] Egg pity should take owned eggs into account if rolled for species (#2584)
* Fixed Bug that causes multiple pity eggs in a row

* Bugfix that eggpity wont be increased if pokemon is not cought but exists as an egg
2024-06-25 10:19:24 -04:00
Puchimono
8e6cbad3fc
[Bug] Legendary pull rate fix from Leg. up machine (#2587) 2024-06-25 10:14:28 -04:00
chaosgrimmon
92791ae27a
[Sprite] Compress Mega Gyarados Palette (#2586)
* [Sprite] Compress Mega Gyarados Common Palette

* [Sprite] Compress Mega Gyarados Variant Palette

* [Sprite] Compress Mega Gyarados Default Palette
2024-06-25 10:12:35 -04:00
José Ricardo Fleury Oliveira
dc64c32470
localization: added eviolite for pt_br (#2590) 2024-06-25 10:09:41 -04:00
Yonmaru40
d1c081e501
[Localization] various zh_cn translation fix 6/25 (#2585)
* Update ability-trigger.ts

* Update battle.ts

* Update bgm-name.ts

* Update egg.ts

* Update achv.ts

* Update menu-ui-handler.ts

* Update menu.ts

* Update starter-select-ui-handler.ts

* Update starter-select-ui-handler.ts

* Update dialogue.ts

* Update trainers.ts

* Update bgm-name.ts

* Update bgm-name.ts

* Update menu-ui-handler.ts

* missing comma

* Update dialogue.ts of Hassel

* Update trainers.ts trailing spaces
2024-06-25 10:05:55 -04:00
flx-sta
3e5ef3e3fb
[Bug] add playerfiled length check for score determination (#2583) 2024-06-25 00:15:11 -04:00
Madmadness65
bbc07e22bf
Add evil team music (#2582) 2024-06-24 22:51:13 -05:00
Tempoanon
dea8e9fa94
Slight tweak to evil boss teams (#2580) 2024-06-24 21:52:09 -05:00
InnocentGameDev
dd7fc7268c
[Localization] dialogue translations for ES for Evil Teams (#2581) 2024-06-24 22:02:01 -04:00
Amani H
136652caa9
[Item] Implement Eviolite Behavior (#2161)
* Add Eviolite with Unit Tests

* Localize for de, es, fr, it, ko, zh_CN, zh_TW

* Adjust German Localization

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>

* Adjust Italian Localization

* Change Multiplier Type

* Adjust Unit Test Import

* Change Constructor

* Make Unit Tests Localized

* Comment Out of Reward Pool

---------

Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
2024-06-24 21:00:59 -05:00
damocleas
ec91d2453a
[Balance] Protean / Libero changed to Gen 6-8 Implementation (#2473)
* Protean / Libero changed to Gen 6-8 Implementation

* take 2

* please just work

* Update protean.test.ts

* Update libero.test.ts
2024-06-24 20:58:50 -05:00
Lugiad
3d43b50c35
[Localization] French Evil Team dialogues (#2578)
* Update French dialogue.ts

* Update dialogue.ts
2024-06-24 21:53:07 -04:00
AJ Fontaine
02cdfc0a7b
Allow gen 8/9 mons to learn Double Team, Hidden Power, Return and Frustration by TM (#2531) 2024-06-24 20:22:17 -05:00
Tempoanon
072755989c
[Feature] Implement evil teams (#2028)
* waveIndex trainer team config generatoin is cursed

* Updated grunt pools

* Removed a comma that was bothering me

* Add locales for es, fr, it, pt, zh for translators

* Update src/locales/zh_CN/dialogue.ts

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Fix lint issue

* Update src/locales/pt_BR/dialogue.ts

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Last min team tweaks

---------

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
2024-06-24 20:00:30 -04:00
Adrian T
2bab7d3778
[Bug] Fix trainer double battle crash (#2573)
* fix double battle crash

* remove !

* fixes crash on double battle
2024-06-24 17:32:21 -04:00
Adrian T
71299a731c
[Bug] Eiscue changing form regardless of previous form on arena reset (#2572)
* fix eiscue (again)

* hardcode eiscue check
2024-06-24 17:05:24 -04:00