From 116fbdecf911e337e9c4cdbe0199d4b8c7a9cf2c Mon Sep 17 00:00:00 2001 From: Shriansh Chari <30420527+shrianshChari@users.noreply.github.com> Date: Sat, 27 Jul 2024 23:06:46 -0700 Subject: [PATCH] Terapagos-S's Tera Starstorm will hit Ghost-types --- calc/src/mechanics/gen789.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/calc/src/mechanics/gen789.ts b/calc/src/mechanics/gen789.ts index be49faaa7..ad48f7fe4 100644 --- a/calc/src/mechanics/gen789.ts +++ b/calc/src/mechanics/gen789.ts @@ -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; @@ -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)