mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-06 00:12:16 +02:00
Apply suggestions from code review
Added spacing inside of function calls Co-authored-by: schmidtc1 <62030095+schmidtc1@users.noreply.github.com>
This commit is contained in:
parent
8a53784453
commit
256ebc4c62
@ -220,7 +220,7 @@ export class RageTag extends BattlerTag {
|
||||
if (lapseType === BattlerTagLapseType.MOVE_EFFECT) {
|
||||
return (pokemon.scene.getCurrentPhase() as MovePhase).move.getMove().id === Moves.RAGE;
|
||||
} else if (lapseType === BattlerTagLapseType.CUSTOM) {
|
||||
pokemon.scene.unshiftPhase(new StatChangePhase(pokemon.scene,pokemon.getBattlerIndex(),true,[BattleStat.ATK],1,false));
|
||||
pokemon.scene.unshiftPhase(new StatChangePhase(pokemon.scene, pokemon.getBattlerIndex(), true, [BattleStat.ATK], 1, false));
|
||||
pokemon.scene.queueMessage(i18next.t("battlerTags:rageOnHit", {
|
||||
pokemonNameWithAffix: getPokemonNameWithAffix(pokemon)}));
|
||||
return true;
|
||||
|
@ -6450,7 +6450,7 @@ export function initMoves() {
|
||||
.attr(StatChangeAttr, BattleStat.SPD, 2, true),
|
||||
new AttackMove(Moves.QUICK_ATTACK, Type.NORMAL, MoveCategory.PHYSICAL, 40, 100, 30, -1, 1, 1),
|
||||
new AttackMove(Moves.RAGE, Type.NORMAL, MoveCategory.PHYSICAL, 20, 100, 20, -1, 0, 1)
|
||||
.attr(AddBattlerTagAttr,BattlerTagType.RAGE,true,false,0,0,false,true),
|
||||
.attr(AddBattlerTagAttr, BattlerTagType.RAGE, true, false, 0, 0, false, true),
|
||||
new SelfStatusMove(Moves.TELEPORT, Type.PSYCHIC, -1, 20, -1, -6, 1)
|
||||
.attr(ForceSwitchOutAttr, true)
|
||||
.hidesUser(),
|
||||
|
Loading…
Reference in New Issue
Block a user