NxKarim
8e64eaea3f
Some Fixes (HPRatio, Hustle, Imposter, Sleep Talk) ( #353 )
...
* Some Fixes
- HP ratio related checks (`getHpRatio`): Added rounding to 2 decimals for non-precise option.
- Hustle (`BattleStatMultiplierAbAttr`): added optional condition; Hustle now works only for physical attacks.
- Imposter (`PostSummonTransformAbAttr`): Switch in a double battle after both foes have been defeated no longer crashes the game.
- Sleep Talk (`RandomMovesetMoveAttr`): Single target moves no longer target allies.
* Formatting changes for consistency
---------
Co-authored-by: Flashfyre <flashfireex@gmail.com>
2024-04-30 11:47:10 -04:00
Xavion3
ad5efdf4f9
Refactor overrides
2024-04-30 09:12:19 -04:00
Flashfyre
9641d77bba
Re-add shiny override EXCEPT FALSE THIS TIME
2024-04-28 22:03:29 -04:00
Flashfyre
57ece2c1d7
Revert "Add shiny and variant debug override"
...
This reverts commit 21482a641b
.
2024-04-28 20:41:38 -04:00
Flashfyre
0b438d0ff4
Revert "Add temporary double wild shiny chance"
...
This reverts commit 4607782578
.
2024-04-28 20:30:12 -04:00
Flashfyre
21482a641b
Add shiny and variant debug override
2024-04-28 20:30:03 -04:00
Flashfyre
00150fd0bb
Fix using wrong variant value when fusing
2024-04-26 20:11:37 -04:00
Flashfyre
4607782578
Add temporary double wild shiny chance
2024-04-26 19:57:38 -04:00
Flashfyre
f281605146
Fix wild shiny luck generation
2024-04-26 19:36:27 -04:00
Flashfyre
6b9542511f
Add fusion luck as a separate field
2024-04-26 18:27:00 -04:00
Flashfyre
bf2a83993c
Make luck independent from shininess and variant
2024-04-26 17:32:28 -04:00
Flashfyre
5e7356636e
Update shiny luck mechanics and count both fusion components
2024-04-26 11:31:39 -04:00
Xavion3
46227d65f2
Fix mind blown/explosion moves
2024-04-26 08:33:29 -04:00
Flashfyre
ef552c7ffd
Fix crash with certain animated variant sprites
2024-04-26 02:00:58 -04:00
InfernoVulpix
d4c265443f
Assurance effect implementation
...
Theoretically implemented for all use cases but only tested for regular damage so far.
2024-04-25 23:03:00 -04:00
AJ Fontaine
9f3bef0142
Implemented explosive moves and Damp ( #290 )
...
* Implemented explosives
* Add Aftermath and Magic Guard interactions
* Adjust AI score for Mind Blown/Steel Beam
2024-04-25 21:42:41 -04:00
Flashfyre
728512cf7d
Fix Baton Pass not working
2024-04-25 20:52:52 -04:00
Flashfyre
ba71d2750b
Load files from manifest for caching
2024-04-23 22:00:23 -04:00
Xavion3
049fa306b9
Add dynamax buffs
2024-04-23 12:02:09 -04:00
Flashfyre
4950dd0e73
Fix shiny variant back sprite color mapping not working
2024-04-22 00:31:33 -04:00
Flashfyre
4fc194295b
Remove event shiny bonus
2024-04-21 19:58:55 -04:00
Xavion3
c3eaa0506f
Make it so you can't freeze in sun
2024-04-21 00:41:33 -04:00
Flashfyre
9b03d6f8d3
Fix crash related to fusion sprites
2024-04-20 16:08:33 -04:00
Flashfyre
f0ac060466
Add temporary shiny rate increase for event
2024-04-19 19:49:58 -04:00
Xavion3
9dfd5a1e6e
Implement Soak, Forest's Curse, and Trick-or-Treat
...
Updates the UI and type effectiveness to support three types, and makes old moves that change types update the UI.
2024-04-19 13:47:40 -04:00
Temps Ray
e94b17bbf5
Implement getAttackTypeEffectiveness check
2024-04-19 13:11:41 -04:00
Flashfyre
bd80281859
Fix various shiny checks for palettes
2024-04-19 11:11:19 -04:00
Flashfyre
7ed8dba46a
Fix undefined variant for existing shinies in runs
2024-04-19 01:44:51 -04:00
Flashfyre
6220165315
Fix issue with undefined variant
2024-04-19 01:25:19 -04:00
Flashfyre
3f9e7b4839
Working fix to shiny crash issue
2024-04-19 00:58:59 -04:00
Flashfyre
c76f8c5e7e
Add tiered shiny variants
2024-04-18 22:52:26 -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
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
Xavion3
420d7fbade
Fix paralysis speed drop
...
Should only be 0.5x
2024-04-16 12:25:41 -04:00
Flashfyre
05bb384934
Update crit chance to gen 7 odds
2024-04-16 12:14:33 -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
0196cf8310
Add snow as a weather
2024-04-15 17:45:52 -04:00
LaukkaE
2a5351e2f6
impl Priority immunity abilities ( #137 )
2024-04-15 12:48:33 -04:00
Xavion3
6881246d17
Implement check functions for abilities
2024-04-15 01:11:27 -04: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
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
Flashfyre
99aa7854c0
Prevent replacing learnset when species is overridden
2024-04-14 20:23:51 -04:00
surniki
208279ce77
Copies the moveset of the evolving Nincada to the newly generated pokemon for Shedinja.
2024-04-14 20:09:58 -04:00
Flashfyre
669bc367e5
Fix Super Luck working on the wrong side
2024-04-14 18:19:35 -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
Flashfyre
75ce0e8f73
Fix transform and imposter not copying ability
2024-04-14 12:23:49 -04:00
Xavion3
cc20d24afa
Implement sucker punch ( #121 )
...
* Implement sucker punch
* Fix variable name
2024-04-14 11:54:46 -04:00
Flashfyre
824a73ef71
Add candy system for passives and value reductions
2024-04-13 18:59:58 -04:00