From 4e691b479667df67d1d6b45894d6bbdc178f13a9 Mon Sep 17 00:00:00 2001 From: grape tylenol Date: Wed, 29 Nov 2023 22:20:21 -0500 Subject: [PATCH] should probably floor decimal --- calc/src/mechanics/gen3.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calc/src/mechanics/gen3.ts b/calc/src/mechanics/gen3.ts index 726a581c4..df10e445d 100644 --- a/calc/src/mechanics/gen3.ts +++ b/calc/src/mechanics/gen3.ts @@ -184,7 +184,7 @@ export function calculateADV( } if (!attacker.hasItem('Sea Incense') && move.hasType(getItemBoostType(attacker.item))) { - bp = bp * 1.1; + bp = Math.floor(bp * 1.1); desc.attackerItem = attacker.item; } else if (attacker.hasItem('Sea Incense') && move.hasType('Water')) { at = Math.floor(at * 1.05);