mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-10-24 22:15:51 +02:00
* Use BattlerTag for move-disabling effects * Fix RUN command causing freeze * Improve documentation * Clean up and document PokemonMove.isUsable * Fix isMoveDisabled missing return * Tags define the message shown when disabling interrupts a move * Fix -1 duration on Disable effect * Add tests for Disable * En loc and fix message functions * Fix Disable test * Fix broken imports * Fix test * All disable tests passing * Localize remaining strings * Move cancellation logic out of lapse; use use TURN_END for lapse type * Prevent disabling STRUGGLE * Inline struggle check function * Restore RechargingTag docs * Move cancellation logic back to tag Wanted to increase similarity to the existing code base to avoid that stupid hyper beam error but it's still happening here * Fix hyper beam test * Remove erroneous shit * Fill movesets with SPLASH for disable test * More robust condition for disable checking * Remove DisabledTag lapse * Simplify DisablingBattlerTag lapse * Cancel disable-interrupted moves instead of failing them * Avoid disabling virtual moves * Consistent access modifiers across Disable tags * Add abstract function for message when player tries to select the disabled move * Fix syntax mistake * Always disable last-used non-virtual move * Overhaul tests + add tests * Implement loadTag for DisabledTag * Update translations * Update translations * Reimplement phase changes * fix battlertag strings * Fix disable test not running * Update name of base class * Rename "disabling" to "restriction" * Fix sneaky string fuckup * Fix test failure * fix merge problems * fix merge problems * Update tests * rerun RNG test * Properly mock stats in test * Document everything in battlertag * More docs + typo fix * Update tests --------- Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| abilities.ts | ||
| arena-tag-type.ts | ||
| battle-spec.ts | ||
| battle-style.ts | ||
| battler-tag-type.ts | ||
| berry-type.ts | ||
| biome.ts | ||
| buttons.ts | ||
| challenges.ts | ||
| color.ts | ||
| devices.ts | ||
| ease-type.ts | ||
| egg-source-types.ts | ||
| egg-type.ts | ||
| exp-notification.ts | ||
| gacha-types.ts | ||
| game-data-type.ts | ||
| money-format.ts | ||
| moves.ts | ||
| nature.ts | ||
| party-member-strength.ts | ||
| passive.ts | ||
| player-gender.ts | ||
| pokeball.ts | ||
| shop-cursor-target.ts | ||
| species.ts | ||
| stat.ts | ||
| status-effect.ts | ||
| time-of-day.ts | ||
| trainer-type.ts | ||
| ui-theme.ts | ||
| variant-tier.ts | ||
| variant-tiers.ts | ||
| weather-type.ts | ||