Update move.ts documentation

This commit is contained in:
Bertie690 2025-07-12 14:37:45 +02:00 committed by GitHub
parent 0f6474f288
commit 4d7af523cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3160,7 +3160,7 @@ export class DelayedAttackAttr extends OverrideMoveEffectAttr {
// Display the move animation to foresee an attack
globalScene.phaseManager.unshiftNew("MoveAnimPhase", new MoveChargeAnim(this.chargeAnim, move.id, user));
globalScene.phaseManager.queueMessage(i18next.t(this.chargeText,
// uncomment if any new delayed moves actually use target in the move text.
// uncomment if any new delayed moves actually use target in the move text
{pokemonName: getPokemonNameWithAffix(user)/*, targetName: getPokemonNameWithAffix(target) */}))
user.pushMoveHistory({move: move.id, targets: [target.getBattlerIndex()], result: MoveResult.OTHER, useMode: useMode, turn: globalScene.currentBattle.turn})
@ -9235,7 +9235,9 @@ export function initMoves() {
.ignoresProtect()
/*
* Should not apply abilities or held items if user is off the field
* Triggered move phase occurs after Electrify tag is removed
* Not affected by Electrify (queued phase activates after Electrify tag is removed)
* Should not apply Shell Bell recovery
* Should not apply post faint attributes if user is not on field
*/
.edgeCase(),
new AttackMove(MoveId.ROCK_SMASH, PokemonType.FIGHTING, MoveCategory.PHYSICAL, 40, 100, 15, 50, 0, 2)
@ -9575,10 +9577,7 @@ export function initMoves() {
new AttackMove(MoveId.DOOM_DESIRE, PokemonType.STEEL, MoveCategory.SPECIAL, 140, 100, 5, -1, 0, 3)
.attr(DelayedAttackAttr, ChargeAnim.DOOM_DESIRE_CHARGING, "moveTriggers:choseDoomDesireAsDestiny")
.ignoresProtect()
/*
* Should not apply abilities or held items if user is off the field
* Triggered move phase occurs after Electrify tag is removed
*/
/* See Future Sight for full list of bugs */
.edgeCase(),
new AttackMove(MoveId.PSYCHO_BOOST, PokemonType.PSYCHIC, MoveCategory.SPECIAL, 140, 90, 5, -1, 0, 3)
.attr(StatStageChangeAttr, [ Stat.SPATK ], -2, true),