@@ -1888,7 +1930,8 @@ export function DamageCalculatorSection({
Selected Auras
- Selecting an aura adds another row; choose No aura to remove one.
+ Selecting an aura adds another row; choose No aura to remove
+ one.
@@ -1962,7 +2005,9 @@ export function DamageCalculatorSection({
{getCombinedDamageLabel(selectedProfile)}
@@ -2041,7 +2086,8 @@ export function DamageCalculatorSection({
{formatRange(selectedProfile.totalPhysicalDamage)}
- +{selectedProfile.breakdown.physicalBonusPercent.total}% total bonus
+ +{selectedProfile.breakdown.physicalBonusPercent.total}%
+ total bonus
@@ -2099,12 +2145,15 @@ export function DamageCalculatorSection({
),
}}
>
- {formatRange(selectedProfile.damageTotals.overTimeDamage)}
+ {formatRange(
+ selectedProfile.damageTotals.overTimeDamage
+ )}
{selectedProfile.totalPoisonDamage ? (
poison total{" "}
- {selectedProfile.totalPoisonDamage.total.toLocaleString()} over{" "}
+ {selectedProfile.totalPoisonDamage.total.toLocaleString()}{" "}
+ over{" "}
{selectedProfile.totalPoisonDamage.durationSeconds}s
) : null}
@@ -2229,7 +2278,9 @@ export function DamageCalculatorSection({
? "Summon base"
: "Weapon damage"
}
- value={formatRange(selectedProfile.breakdown.weaponDamage)}
+ value={formatRange(
+ selectedProfile.breakdown.weaponDamage
+ )}
color={getRangeColor(
selectedProfile.breakdown.weaponDamage,
STAT_COLORS.physicalDamageReduction
@@ -2237,7 +2288,9 @@ export function DamageCalculatorSection({
/>
@@ -2271,7 +2325,8 @@ export function DamageCalculatorSection({
label="Selected skill"
value={`${selectedProfile.breakdown.physicalBonusPercent.selectedSkill}%`}
color={getPercentColor(
- selectedProfile.breakdown.physicalBonusPercent.selectedSkill,
+ selectedProfile.breakdown.physicalBonusPercent
+ .selectedSkill,
STAT_COLORS.physicalDamageReduction
)}
/>
@@ -2297,7 +2352,8 @@ export function DamageCalculatorSection({
label="Auras"
value={`${selectedProfile.breakdown.physicalBonusPercent.activeAuras}%`}
color={getPercentColor(
- selectedProfile.breakdown.physicalBonusPercent.activeAuras,
+ selectedProfile.breakdown.physicalBonusPercent
+ .activeAuras,
STAT_COLORS.physicalDamageReduction
)}
isLast
@@ -2310,68 +2366,70 @@ export function DamageCalculatorSection({
(selectedProfile.notes.length > 0 ||
Boolean(selectedProfile.damageScope?.note) ||
damageCalculation.notes.length > 0) && (
- <>
-
-
-
-
- Damage model notes
-
-
-
-
-
-
- This calculator is intended to be a close model, not a
- perfect guarantee. If you notice a significant
- difference from the damage you expect,{" "}
-
- make a #bug-report
-
- .
+ <>
+
+
+
+
+ Damage model notes
- {selectedProfile.damageScope?.note ? (
+
+
+
+
- {selectedProfile.damageScope.note}
-
- ) : null}
- {selectedProfile.notes.map((note) => (
-
- {note}
-
- ))}
- {damageCalculation.notes.map((note) => (
-
- {note}
+ This calculator is intended to be a close model, not
+ a perfect guarantee. If you notice a significant
+ difference from the damage you expect,{" "}
+
+ make a #bug-report
+
+ .
- ))}
-
-
-
- >
- )}
+ {selectedProfile.damageScope?.note ? (
+
+ {selectedProfile.damageScope.note}
+
+ ) : null}
+ {selectedProfile.notes.map((note) => (
+
+ {note}
+
+ ))}
+ {damageCalculation.notes.map((note) => (
+
+ {note}
+
+ ))}
+
+
+
+ >
+ )}
>
) : (
diff --git a/web/src/components/character/StatsSection.tsx b/web/src/components/character/StatsSection.tsx
index cc542d8..5816a68 100644
--- a/web/src/components/character/StatsSection.tsx
+++ b/web/src/components/character/StatsSection.tsx
@@ -116,7 +116,7 @@ export function StatsSection({
firePierce: 0,
coldPierce: 0,
lightningPierce: 0,
- poisonPierce: 0
+ poisonPierce: 0,
};
return (
@@ -162,7 +162,12 @@ export function StatsSection({
-
+
{/* Attributes */}
@@ -256,48 +261,142 @@ export function StatsSection({
{/* Speed */}
-
-
-
-
+
+
+
+
{/* Damage Procs */}
-
-
-
-
+
+
+
+
{/* Leech */}
-
-
-
-
+
+
+
+
{/* Elemental Skill Damage */}
-
-
-
-
+
+
+
+
{/* Elemental Pierce */}
-
-
-
-
+
+
+
+
{/* Rewards */}
-
-
+
+
diff --git a/web/src/components/economy/disclaimer.tsx b/web/src/components/economy/disclaimer.tsx
index 5266c15..8250e7b 100644
--- a/web/src/components/economy/disclaimer.tsx
+++ b/web/src/components/economy/disclaimer.tsx
@@ -53,8 +53,8 @@ export default function EconomyDisclaimer() {
Prices may be inaccurate, especially for items with a low amount of
- listings. Use your own discretion when determining item values.
- Only available for softcore.
+ listings. Use your own discretion when determining item values. Only
+ available for softcore.
diff --git a/web/src/components/layout/Footer/index.tsx b/web/src/components/layout/Footer/index.tsx
index 006981a..ea1d2fc 100644
--- a/web/src/components/layout/Footer/index.tsx
+++ b/web/src/components/layout/Footer/index.tsx
@@ -145,7 +145,8 @@ export function Footer() {
- pd2.tools is not affiliated with or endorsed by the Project Diablo 2 team.
+ pd2.tools is not affiliated with or endorsed by the Project Diablo 2
+ team.
diff --git a/web/src/pages/About.tsx b/web/src/pages/About.tsx
index 8d11bc1..f00e2e3 100644
--- a/web/src/pages/About.tsx
+++ b/web/src/pages/About.tsx
@@ -150,8 +150,8 @@ export default function AboutPage() {
fw={600}
>
Project Diablo 2 team
-
- {" "}for making the data that powers the site accessible.
+ {" "}
+ for making the data that powers the site accessible.
Need to contact us? The best way is via our{" "}
diff --git a/web/src/pages/CharacterExport.tsx b/web/src/pages/CharacterExport.tsx
index 728b485..ff0137d 100644
--- a/web/src/pages/CharacterExport.tsx
+++ b/web/src/pages/CharacterExport.tsx
@@ -183,7 +183,12 @@ export default function CharacterExport() {
}}
>