From 4b3695dd6f25a36937177e40c3180df7ac63a8db Mon Sep 17 00:00:00 2001 From: Daan Vanden Bosch Date: Thu, 20 Jun 2019 18:20:04 +0200 Subject: [PATCH] Basic damage calculations are done for DPS calculator. --- src/ui/dps-calc/DpsCalcComponent.tsx | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/ui/dps-calc/DpsCalcComponent.tsx b/src/ui/dps-calc/DpsCalcComponent.tsx index 2b5230f4..ad757b47 100644 --- a/src/ui/dps-calc/DpsCalcComponent.tsx +++ b/src/ui/dps-calc/DpsCalcComponent.tsx @@ -33,6 +33,12 @@ export class DpsCalcComponent extends React.Component { Shifta ATP Final Min. ATP Final Max. ATP + Min. Normal Damage + Max. Normal Damage + Avg. Normal Damage + Min. Heavy Damage + Max. Heavy Damage + Avg. Heavy Damage @@ -52,9 +58,15 @@ export class DpsCalcComponent extends React.Component { /> {weapon.item.grindAtp} - {weapon.shiftaAtp} - {weapon.finalMinAtp} - {weapon.finalMaxAtp} + {weapon.shiftaAtp.toFixed(1)} + {weapon.finalMinAtp.toFixed(1)} + {weapon.finalMaxAtp.toFixed(1)} + {weapon.minNormalDamage.toFixed(1)} + {weapon.maxNormalDamage.toFixed(1)} + {weapon.avgNormalDamage.toFixed(1)} + {weapon.minHeavyDamage.toFixed(1)} + {weapon.maxHeavyDamage.toFixed(1)} + {weapon.avgHeavyDamage.toFixed(1)} ))}