Bertie690
6757893877
Update battle-anims.ts
...
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-30 07:56:24 -04:00
Bertie690
2d87a2b318
Update move.ts
...
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-30 07:56:15 -04:00
Bertie690
681c06862c
Update move.ts
...
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-30 07:55:40 -04:00
Bertie690
bd9f34643b
Update move.ts
...
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-30 07:55:34 -04:00
Bertie690
89269cfa29
Update ability.ts
...
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-30 07:55:27 -04:00
Bertie690
ffa51715f3
Update the-winstrate-challenge-encounter.ts
...
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-29 23:14:54 -04:00
Bertie690
efb079c58e
Merge branch 'beta' into waveData
2025-04-29 18:14:30 -04:00
AJ Fontaine
9a9759d31c
[Balance] Fix Basculin white stripe moveset ( #5729 )
...
* Fix Basculin moveset and TMs
2025-04-29 17:27:40 -04:00
Bertie690
25446f3d1e
Added tests for Last Resort regarding moveHistory
2025-04-29 17:08:14 -04:00
Bertie690
c34fd10ccb
Removed unnecessary null checks for turnData and co.
...
I explicitly made them initialized by default for this very reason
2025-04-29 14:06:12 -04:00
Bertie690
f82d3529ad
Applied review comments, cleaned up code a bit
2025-04-29 10:04:38 -04:00
Bertie690
4c3447c851
Added utility function randSeedFloat
...
basically just `Phaser.math.RND.realInRange(0, 1)`
2025-04-29 09:37:28 -04:00
Sirz Benjie
34670fd921
[Bug] Only moves will show the explicit status immunity effect ( #5728 )
...
* Add quiet parameter to trySetStatus
* Make quiet default to false
2025-04-28 23:53:01 -04:00
Bertie690
0afb7849bf
Update ability.ts
...
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-28 21:34:11 -04:00
Bertie690
cbcc07a267
Update ability.ts
...
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-28 21:34:04 -04:00
Blitzy
69df76dd88
[Balance] Elite 4 tweaks ( #5706 )
...
* Update trainer-config.ts
* Update signature-species.ts
* Update trainer-config.ts
* Fix Notes
---------
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-04-28 15:40:58 -05:00
Bertie690
d1e5cd7067
Merge remote-tracking branch 'upstream/beta' into waveData
2025-04-27 11:34:26 -04:00
NightKev
89a9d55d3c
[Dev] Add enemy pokemon level to encounter logging ( #5718 )
2025-04-27 01:22:56 -05:00
Dean
ab7d010a17
[Bug] Fix message for StatusEffectImmunityAbAttr ( #5701 )
...
Use class var for getTriggerMessage
2025-04-26 20:32:49 +00:00
Xavion3
38d75897bb
[Balance] Remove Dynamax Cannon being a discouraged move for AI ( #5708 )
...
Remove dynamax cannon from being discouraged on Eternatus Phase 2
2025-04-26 01:28:52 +00:00
Inês Simões
75400a39ed
[Bug] [UI/UX] Status moves now play a No Effect Message Against Immune Type Pokemon ( #5533 )
...
* Fix #5085 Moves dont play a No Effect Message Against Immune Type
When using non-volatile status move like: Will-O-Wisp, Thunder
Wave, Toxic, or Poison Gas against a Pokémon whose type is immune
to that Status condition, no "It doesn't affect" message plays.
My proposed fixes:
In move.ts:
Removed a redudant if statement in StatusEffectAttr class
In pokemon.ts:
Renamed the "messageIsImmune" function to "queueImmuneMessage"
2025-04-23 21:29:44 +00:00
AJ Fontaine
5de567a3db
[Balance] Wave 90 gym leader has 5 mons ( #5699 )
...
5 mons on wave 90
2025-04-23 21:18:03 +00:00
Blitzy
c7265543bd
[Balance] Update Transistor to Gen IX version ( #5700 )
...
Update ability.ts
2025-04-23 17:15:45 -04:00
AJ Fontaine
b49c994d2d
[Balance][Refactor] Move fixed boss waves enum to file, adjust GL templates ( #5689 )
...
* Move fixed boss waves enum to file, adjust GL templates
* Move post return to default case
* Address comment
---------
Co-authored-by: Wlowscha <54003515+Wlowscha@users.noreply.github.com>
2025-04-23 14:48:04 -05:00
Jimmybald1
b848777880
[Bug][Misc] Moved SelectBiomePhase in front of NewBattlePhase ( #5694 )
...
* Moved SelectBiomePhase in front of NewBattlePhase
* disguise test now has to go to QuietFormChangePhase
---------
Co-authored-by: Jimmybald1 <147992650+IBBCalc@users.noreply.github.com>
2025-04-23 10:54:43 -07:00
Bertie690
18567a2ad6
Fixed tests
2025-04-22 20:40:59 -04:00
Bertie690
3876ba93be
Merge branch 'beta' into waveData
2025-04-22 20:23:24 -04:00
Sirz Benjie
110fd2f0a1
[Refactor][Move] Refactor move effect phase ( #5678 )
...
* Add enum for hit check result
Co-authored-by: innerthunder <brandonerickson98@gmail.com>
* Refactor parameter list for pokemon#getBaseDamage and pokemon#getAttackDamage
* Rewrite move phase
Co-authored-by: innerthunder <brandonerickson98@gmail.com>
* Update tests to reflect move effect phase changes
Co-authored-by: innerthunder <brandonerickson98@gmail.com>
* Fix pluck / bug bite
Co-authored-by: innerthunder <brandonerickson98@gmail.com>
* Fix reviver seed ohko, remove leftover dead code
Co-authored-by: innerthunder <brandonerickson98@gmail.com>
* Cleanup jsdoc comments
* Remove hitsSubstitute check from postDefend abilities
* Fix improper i18nkey in moveEffectPhase#applyToTargets
* Cleanup comments
* Fix type issue with substitute test
* Move MYSTERY_ENCOUNTER_WAVES to constants.ts
* Update linkcode in damageparams to use proper tsdoc syntax
---------
Co-authored-by: innerthunder <brandonerickson98@gmail.com>
2025-04-23 00:10:27 +00:00
AJ Fontaine
aadb57ab75
[Balance] [Mystery] Salesman ME offers mons from event encounter pool ( #5674 )
...
* Initial event commit
* Salesman odds
* Clean up imports
* globalScene shiny rate getter, fix reroll, remove placeholder event
* Rerolling shiny also tries rerolling for better variant
* Shiny reroll affects 'trainer' mons too
---------
Co-authored-by: damocleas <damocleas25@gmail.com>
Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
2025-04-23 00:03:49 +00:00
Bertie690
68adbcbe83
Fixed migrate script, re-added deprecated attributes out of necessity
2025-04-22 11:29:47 -04:00
Bertie690
9e65d0a07b
added commented out console.log statement
...
uncomment to see new berry data
2025-04-21 23:55:44 -04:00
Bertie690
82572b263d
Hopefully fixed bug
...
my sanity and homework are paying the price for this lol
2025-04-21 23:54:48 -04:00
Bertie690
5a9fbd13f0
Merge branch 'beta' into waveData
2025-04-21 18:15:00 -04:00
Bertie690
02b6bf732b
Fixed summondata being cleared inside summonPhase, removed summonDataPrimer
...
like seriously how come no-one checked this
2025-04-21 18:14:43 -04:00
Sirz Benjie
be6a117b1e
[Bug][Sprite] Fix variants not using recolors for back sprite ( #5691 )
...
Fix variants not showing back recolors with exp
2025-04-21 14:52:08 -05:00
Bertie690
024b413611
Fixed tests
2025-04-21 15:27:01 -04:00
Sirz Benjie
0da56cda9f
[Bug][Sprite] Fix variant loading console spam ( #5690 )
2025-04-21 13:46:32 -05:00
Bertie690
102554cdb7
Moved empty moveset verification mapping thing to upgrade script bc i wanted to
2025-04-21 12:51:28 -04:00
Bertie690
2746a658df
Fixed constructor (maybe), moved deepCopy and deepMergeSpriteData to own file
...
`common.ts` is hella bloated so seems legit
2025-04-21 10:42:58 -04:00
Bertie690
169789f25e
Fied a few
2025-04-21 09:07:00 -04:00
Bertie690
a7b5a4d2e1
fixed formattign
2025-04-20 23:30:35 -04:00
Bertie690
079d50e2e0
Added version migrator for rage fist data + deepMergeSpriteData tests
2025-04-20 23:23:11 -04:00
Bertie690
c3db9e3532
Merge remote-tracking branch 'upstream/beta' into waveData
2025-04-20 17:37:28 -04:00
Bertie690
14b47c0eef
Grabbed reverted changes from stuff
2025-04-20 17:17:25 -04:00
Dean
2cf0b51299
[Bug] Properly handle suppression with Illusion ( #5671 )
...
* Remove extra attributes on neutralizing gas
* Add IllusionBreakAbAttr to applyOnLose
* Add test case
2025-04-20 11:14:19 -07:00
Blitzy
8515cadd77
[Balance] Update Gym Leader Teams and Teras ( #5670 )
...
* Update Gym Leader Teams
* Set Tera slots for Gym Leaders
* Change Giovanni's Specialty Type to Ground
---
Co-authored-by: damocleas <damocleas25@gmail.com>
2025-04-20 00:20:07 -05:00
Sirz Benjie
65294f408e
[Bug][UI/UX] Fix type hint after enemy disappears ( #5677 )
...
* Fix type hint after enemy disappears
* Add automated test for type hint bugfix
* Make onField default to true
* Replace reference to Mode with UiMode and battleType with BattleStyle
2025-04-19 08:04:19 -07:00
Sirz Benjie
5854b21da0
[Refactor] Remove circular imports part 1 ( #5663 )
...
* Extract Mode enum out of UI and into its own file
Reduces circular imports from 909 to 773
* Move around utility files
Reduces cyclical dependencies from 773 to 765
* Remove starterColors and bypassLogin from battle-scene
Reduces cyclical dependencies from 765 to 623
* Fix test runner error
* Update import for bypassLogin in test
* Update mocks for utils in tests
* Fix broken tests
* Update selectWithTera override
* Update path for utils in ab-attr.ts
* Update path for utils in ability-class.ts
* Fix utils import path in healer.test.ts
2025-04-19 11:57:03 +00:00
damocleas
a6e87c8438
[Bug] [Move] Supercell Slam now hits Minimized targets for double damage and can't miss ( #5680 )
...
Added AlwaysHitMinimizeAttr and HitsTagForDoubleDamageAttr to Supercell Slam for Minimize
2025-04-18 22:25:05 -04:00
Sirz Benjie
54ce58411b
[Bug] Fix forced switch bugs in enemy partner trainer battles ( #5644 )
...
* Add isPartner method to trainer class
* Ensure force switches cannot pull pokemon from the wrong trainer
* Add override for battle type
* Fixup tests and broken assumptions
* Make move fail override semi-invuln check
Bandaid fix because move effect phase does not allow for the move to fail if all of its conditions fail
* Restore overrides
* Apply kev's suggestions from code review
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
* Fix illusion test battle type invocation
* Update struggle and healer tests to use battleStyle
---------
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
2025-04-18 09:35:46 +00:00