feat(statistics): show alpha strike damage and with(out)-reload DPS (#73)
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
"typescript-plugin-css-modules": "^5.0.2"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@eveshipfit/dogma-engine": "^2.6.0",
|
||||
"@eveshipfit/dogma-engine": "^3.0.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
},
|
||||
|
||||
@@ -7,6 +7,8 @@ const iconMapping = {
|
||||
"armor-hp": "texture/classes/fitting/statsicons/armorhp.png",
|
||||
"armor-repair-rate": "texture/classes/fitting/statsicons/armorrepairrate.png",
|
||||
"cargo-hold": "texture/windowicons/ships.png",
|
||||
"damage-alpha": "texture/classes/fitting/statsicons/alphastrike.png",
|
||||
"damage-dps": "texture/classes/fitting/statsicons/turretdps.png",
|
||||
"drone-bay": "texture/windowicons/dronebay.png",
|
||||
"em-resistance": "texture/classes/fitting/statsicons/emresistance.png",
|
||||
"explosive-resistance": "texture/classes/fitting/statsicons/explosiveresistance.png",
|
||||
|
||||
@@ -67,10 +67,32 @@ export const ShipStatistics = () => {
|
||||
</CategoryLine>
|
||||
</Category>
|
||||
|
||||
<Category headerLabel="Offense" headerContent={<span>? dps</span>}>
|
||||
<Category
|
||||
headerLabel="Offense"
|
||||
headerContent={
|
||||
<span>
|
||||
<ShipAttribute name="damageWithoutReloadDps" fixed={1} /> dps
|
||||
</span>
|
||||
}
|
||||
>
|
||||
<CategoryLine>
|
||||
<span>? dps</span>
|
||||
<span>? HP</span>
|
||||
<span title="Damage Per Second" className={styles.statistic}>
|
||||
<span>
|
||||
<Icon name="damage-dps" size={24} />
|
||||
</span>
|
||||
<span>
|
||||
<ShipAttribute name="damageWithoutReloadDps" fixed={1} /> dps (
|
||||
<ShipAttribute name="damageWithReloadDps" fixed={1} /> dps)
|
||||
</span>
|
||||
</span>
|
||||
<span title="Alpha Strike" className={styles.statistic}>
|
||||
<span>
|
||||
<Icon name="damage-alpha" size={24} />
|
||||
</span>
|
||||
<span>
|
||||
<ShipAttribute name="damageAlphaHp" fixed={0} /> HP
|
||||
</span>
|
||||
</span>
|
||||
</CategoryLine>
|
||||
</Category>
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const defaultDataUrl = "https://data.eveship.fit/v7.2-20240227/";
|
||||
export const defaultDataUrl = "https://data.eveship.fit/v8.0-20240227/";
|
||||
|
||||
Reference in New Issue
Block a user