Skip to content

Commit

Permalink
ADV: Fix multihit moves
Browse files Browse the repository at this point in the history
  • Loading branch information
thejetou committed Jan 27, 2025
1 parent 2b07c2c commit 640d2d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calc/src/mechanics/gen3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ export function calculateADV(
Math.floor((Math.floor((2 * lv) / 5 + 2) * newAt * newBp) / df) / 50
);
newBaseDmg = calculateFinalModsADV(newBaseDmg, attacker, move, field, desc, isCritical);
newBaseDmg = Math.floor(baseDamage * type1Effectiveness);
newBaseDmg = Math.floor(baseDamage * type2Effectiveness);
newBaseDmg = Math.floor(newBaseDmg * type1Effectiveness);
newBaseDmg = Math.floor(newBaseDmg * type2Effectiveness);

let damageMultiplier = 85;
result.damage = result.damage.map(affectedAmount => {
Expand Down

0 comments on commit 640d2d4

Please sign in to comment.