From 95992d882d6d4feb3470f04104515a9a92917811 Mon Sep 17 00:00:00 2001 From: Jake Magier Date: Sat, 27 Mar 2021 22:30:02 -0400 Subject: [PATCH] fixed Dauntless Shield Bug (#436) --- calc/src/mechanics/gen78.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calc/src/mechanics/gen78.ts b/calc/src/mechanics/gen78.ts index c5dd7d8c8..b952fe9c9 100644 --- a/calc/src/mechanics/gen78.ts +++ b/calc/src/mechanics/gen78.ts @@ -58,6 +58,8 @@ export function calculateSMSS( checkKlutz(defender); checkSeedBoost(attacker, field); checkSeedBoost(defender, field); + checkDauntlessShield(attacker); + checkDauntlessShield(defender); computeFinalStats(gen, attacker, defender, field, 'def', 'spd', 'spe'); @@ -67,8 +69,6 @@ export function calculateSMSS( checkDownload(defender, attacker); checkIntrepidSword(attacker); checkIntrepidSword(defender); - checkDauntlessShield(attacker); - checkDauntlessShield(defender); computeFinalStats(gen, attacker, defender, field, 'atk', 'spa');