diff --git a/app/src/components/BossInfo.tsx b/app/src/components/BossInfo.tsx index a771a27..eede405 100644 --- a/app/src/components/BossInfo.tsx +++ b/app/src/components/BossInfo.tsx @@ -81,9 +81,9 @@ const BossInfo = () => { }, [balance, army?.profit_per_second, player?.last_raided_at, boss?.level]) return
{bossToName[variant]} Moloch (lvl {boss ? boss.level + 1 : 0})
-{formatUnits(bossToReward[boss?.level || 0], 18)} RGCVII reward
+{parseFloat(parseFloat(formatUnits(bossToReward[boss?.level || 0], 18).toString()).toFixed(4))} RGCVII reward
- {chanceToDefeat.current * 100} % to slay{" "} + {parseFloat((chanceToDefeat.current * 100).toFixed(2))} % to slay{" "} {chanceToDefeat.current == maxChance ? (MAXED) : (Max {maxChance * 100}%)}
Writing contract ...
+Spinning the chain ...
}