Skip to content

Commit

Permalink
Terapagos-S's Tera Starstorm will hit Ghost-types
Browse files Browse the repository at this point in the history
  • Loading branch information
shrianshChari committed Jul 28, 2024
1 parent e90a8e5 commit 116fbde
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions calc/src/mechanics/gen789.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,11 @@ export function calculateSMSSSV(
} else if (attacker.name.includes('Ogerpon-Wellspring')) {
type = 'Water';
}
} else if (
move.named('Tera Starstorm') && attacker.name === 'Terapagos-Stellar'
) {
move.target = 'allAdjacentFoes';
type = 'Stellar';
}

let hasAteAbilityTypeChange = false;
Expand Down Expand Up @@ -1030,11 +1035,6 @@ export function calculateBPModsSMSSSV(
move.target = 'allAdjacentFoes';
bpMods.push(6144);
desc.moveBP = basePower * 1.5;
} else if (
move.named('Tera Starstorm') && attacker.name === 'Terapagos-Stellar'
) {
move.target = 'allAdjacentFoes';
move.type = 'Stellar';
} else if ((move.named('Knock Off') && !resistedKnockOffDamage) ||
(move.named('Misty Explosion') && isGrounded(attacker, field) && field.hasTerrain('Misty')) ||
(move.named('Grav Apple') && field.isGravity)
Expand Down

0 comments on commit 116fbde

Please sign in to comment.