mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 22:55:35 +00:00
Merge pull request #354 from EDCD/feature/caustic
Bug fixes introduced with caustic damage calculation
This commit is contained in:
@@ -63,6 +63,7 @@ export default class ShipSummaryTable extends TranslatedComponent {
|
||||
shieldColour
|
||||
};
|
||||
return <div id='summary'>
|
||||
<div style={{display: "table", width: "100%"}}>
|
||||
<div style={{display: "table-row"}}>
|
||||
<table className={'summaryTable'}>
|
||||
<thead>
|
||||
@@ -205,7 +206,7 @@ export default class ShipSummaryTable extends TranslatedComponent {
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -659,7 +659,7 @@ export function armourMetrics(ship) {
|
||||
let armourCausDmg = diminishDamageMult(0.7, 1 - ship.bulkheads.m.getCausticResistance());
|
||||
let armourReinforcedCausDmg = diminishDamageMult(0.7, (1 - ship.bulkheads.m.getCausticResistance()) * hullCausDmg);
|
||||
armour.caustic = {
|
||||
bulkeads: armourCausDmg,
|
||||
bulkheads: armourCausDmg,
|
||||
reinforcement: armourReinforcedCausDmg / armourCausDmg,
|
||||
total: armourReinforcedCausDmg,
|
||||
res: 1 - armourReinforcedCausDmg,
|
||||
|
||||
Reference in New Issue
Block a user