Remove unused selfStatLowerMoves array
This commit is contained in:
parent
93a4a6da77
commit
68a7639375
|
@ -8261,8 +8261,6 @@ export const allMoves: Move[] = [
|
|||
new SelfStatusMove(Moves.NONE, PokemonType.NORMAL, MoveCategory.STATUS, -1, -1, 0, 1),
|
||||
];
|
||||
|
||||
export const selfStatLowerMoves: Moves[] = [];
|
||||
|
||||
export function initMoves() {
|
||||
allMoves.push(
|
||||
new AttackMove(Moves.POUND, PokemonType.NORMAL, MoveCategory.PHYSICAL, 40, 100, 35, -1, 0, 1),
|
||||
|
@ -11248,9 +11246,4 @@ export function initMoves() {
|
|||
new AttackMove(Moves.MALIGNANT_CHAIN, PokemonType.POISON, MoveCategory.SPECIAL, 100, 100, 5, 50, 0, 9)
|
||||
.attr(StatusEffectAttr, StatusEffect.TOXIC)
|
||||
);
|
||||
allMoves.map(m => {
|
||||
if (m.getAttrs(StatStageChangeAttr).some(a => a.selfTarget && a.stages < 0)) {
|
||||
selfStatLowerMoves.push(m.id);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue