Skip to content

Commit

Permalink
ups, eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
ForwardFeed committed Oct 13, 2023
1 parent 2b53d0f commit 4e1e2fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions calc/src/mechanics/gen12.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ export function calculateRBYGSC(

// In Gen 1, Super Fang can hit Ghost types
if (gen.num === 1 && (move.named('Super Fang'))) {
const lostHP = Math.floor(defender.curHP() / 2) || 1;
result.damage = lostHP;
return result;
const lostHP = Math.floor(defender.curHP() / 2) || 1;
result.damage = lostHP;
return result;
}

const type1Effectiveness =
getMoveEffectiveness(gen, move, firstDefenderType, field.defenderSide.isForesight);
const type2Effectiveness = secondDefenderType
Expand Down

0 comments on commit 4e1e2fa

Please sign in to comment.