Skip to content

Commit

Permalink
Fix Light That Burns the Sky not changing category (#601)
Browse files Browse the repository at this point in the history
The condition was wrongly checking for "Light That Burns /T/he Sky"
  • Loading branch information
Zrp200 authored Mar 1, 2024
1 parent 9cfe899 commit d80e58a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion calc/src/mechanics/gen789.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ export function calculateSMSSSV(
// #region (Special) Attack
const attack = calculateAttackSMSSSV(gen, attacker, defender, move, field, desc, isCritical);
const attackSource = move.named('Foul Play') ? defender : attacker;
if (move.named('Photon Geyser', 'Light That Burns The Sky') ||
if (move.named('Photon Geyser', 'Light That Burns the Sky') ||
(move.named('Tera Blast') && attackSource.teraType)) {
move.category = attackSource.stats.atk > attackSource.stats.spa ? 'Physical' : 'Special';
}
Expand Down

0 comments on commit d80e58a

Please sign in to comment.