pokerogue/src
innerthunder a760022c77
[Move] Refactor Conditional Protection and Protect interactions (#2731)
* Refactor protection moves

* Revert Protected move result change

* Fix typo in documentation

* Fix merge conflicts in integration tests

* Improve readability of apply function

* Fix effects applying through Protect

* Fix typos in `src/data/egg.ts` comments

* [Localization(it)] Added Honey Gather translation (#2301)

* Update ability.ts [Localization(it)]

* Update ability.ts [Localization(it)]

Fixed capitalization

* Hitting into protect now records a move as failed

* Add check for move success before applying additional effects (Stone Axe)

* `Overrides` should be capitalized

* Add fail conditions for `RechargeAttr` and Jaw Lock

* Update protect test

* Add check for protect in Glaive Rush

* Update tests to use new overrides helpers

* Account for Mat Block and add protect test for Glaive Rush

---------

Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>

* Crafty Shield now blocks ALL protect-ignoring moves

* Crafty Shield test + Fix blocking ally-target moves

* ESLint

* Mat Block and Wide Guard integration tests

* Fix strict-null errors in integration tests

* Fix strict-null issue in arena-tag

* Fix strict-null in unrelated test :pikamad:

* Fix conflicting AbAttr

---------

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
Co-authored-by: Niccolò <123510358+NicusPulcis@users.noreply.github.com>
2024-08-13 21:47:32 +01:00
..
@types [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
configs/inputs [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
data [Move] Refactor Conditional Protection and Protect interactions (#2731) 2024-08-13 21:47:32 +01:00
enums [Move] Implement Shell Trap (#3500) 2024-08-13 21:47:05 +01:00
events [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
field [Move] Refactor Conditional Protection and Protect interactions (#2731) 2024-08-13 21:47:32 +01:00
interfaces [Localization] localized status-effect.ts and translate. (#2528) 2024-07-02 10:22:46 -04:00
locales [Move] Implement Shell Trap (#3500) 2024-08-13 21:47:05 +01:00
modifier Skip useless rewards in wave 199 (#3522) 2024-08-13 21:43:59 +01:00
pipelines [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
plugins Updating locale folder from ca-ES to ca_ES (#3429) 2024-08-08 13:55:56 +01:00
system [Feature] Move touch controls configuration (Reopened) (#3256) 2024-08-10 14:17:04 +01:00
test [Move] Refactor Conditional Protection and Protect interactions (#2731) 2024-08-13 21:47:32 +01:00
ui [Pokemon/Form/Item] Ultra Necrozma (#3514) 2024-08-13 21:40:16 +01:00
account.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
battle-scene.ts [Pokemon/Form/Item] Ultra Necrozma (#3514) 2024-08-13 21:40:16 +01:00
battle.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
debug.js ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
egg-hatch-phase.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
evolution-phase.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
form-change-phase.ts [Move] Fully Implement Gulp Missile (#3438) 2024-08-08 14:23:11 -04:00
game-mode.ts [Bug] Some fresh start fixes (#3420) 2024-08-12 01:34:53 -04:00
inputs-controller.ts [Feature] Move touch controls configuration (Reopened) (#3256) 2024-08-10 14:17:04 +01:00
loading-scene.ts [Enhancement] Add favorite filter in Starter UI (#3431) 2024-08-09 10:32:30 -04:00
main.ts more specific font unicode ranges and add unifont to existing families (#2459) 2024-06-20 11:28:47 -04:00
messages.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
overrides.ts [Refactor/Bug] Overhaul & Document Item/Modifier Overrides (#2320) 2024-08-12 11:54:52 +01:00
phase.ts ESLint - The Essential Linter and Formatter for JavaScript and TypeScript (#1224) 2024-05-23 11:03:10 -04:00
phases.ts [Move] Refactor Conditional Protection and Protect interactions (#2731) 2024-08-13 21:47:32 +01:00
scene-base.ts [UI] Update Challenge UI (#2393) 2024-06-19 20:40:08 +01:00
timed-event-manager.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
touch-controls.ts [Feature] Move touch controls configuration (Reopened) (#3256) 2024-08-10 14:17:04 +01:00
tutorial.ts [Refactor] I18n Cleaning (#2348) 2024-06-17 17:05:33 -04:00
ui-inputs.ts [Enhancement] Add go filter shortcut (#3345) 2024-08-08 20:34:20 +01:00
utils.test.ts [Testing] Flexible Testing Wrapper for Phaser-Based Battle-Scenes (#1908) 2024-06-07 18:33:45 -04:00
utils.ts [Refactor] use typescript strict-null (#3259) 2024-08-07 17:23:12 +01:00
vite.env.d.ts Beta Merge 27/07 (#3141) 2024-07-28 00:47:00 +01:00