Skip to content

Commit

Permalink
Implement Ogerpon's move boost
Browse files Browse the repository at this point in the history
  • Loading branch information
thejetou committed Sep 15, 2023
1 parent 7b4c0da commit 27faea9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion calc/src/mechanics/gen789.ts
Expand Up @@ -1102,7 +1102,10 @@ export function calculateBPModsSMSSSV(
(attacker.hasItem('Soul Dew') &&
attacker.named('Latios', 'Latias', 'Latios-Mega', 'Latias-Mega') &&
move.hasType('Psychic', 'Dragon')) ||
attacker.item && move.hasType(getItemBoostType(attacker.item))
attacker.item && move.hasType(getItemBoostType(attacker.item)) ||
(attacker.name.includes('Ogerpon-Cornerstone') && attacker.hasItem('Cornerstone Mask')) ||
(attacker.name.includes('Ogerpon-Hearthflame') && attacker.hasItem('Hearthflame Mask')) ||
(attacker.name.includes('Ogerpon-Wellspring') && attacker.hasItem('Wellspring Mask'))
) {
bpMods.push(4915);
desc.attackerItem = attacker.item;
Expand Down

0 comments on commit 27faea9

Please sign in to comment.