Skip to content

Commit

Permalink
Change Revelation Dance's type when attacker has Terastallized
Browse files Browse the repository at this point in the history
  • Loading branch information
shrianshChari committed Jul 27, 2023
1 parent 5f9239f commit 8c70755
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion calc/src/mechanics/gen789.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,11 @@ export function calculateSMSSSV(
desc.terrain = field.terrain;
desc.moveType = type;
} else if (move.named('Revelation Dance')) {
type = attacker.types[0];
if (attacker.teraType) {
type = attacker.teraType;
} else {
type = attacker.types[0];
}
} else if (move.named('Aura Wheel')) {
if (attacker.named('Morpeko')) {
type = 'Electric';
Expand Down

0 comments on commit 8c70755

Please sign in to comment.