summaryrefslogtreecommitdiff
path: root/sim/include
diff options
context:
space:
mode:
Diffstat (limited to 'sim/include')
-rw-r--r--sim/include/kurator/sim/HitPoints.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sim/include/kurator/sim/HitPoints.h b/sim/include/kurator/sim/HitPoints.h
index 0004999..7cd82f3 100644
--- a/sim/include/kurator/sim/HitPoints.h
+++ b/sim/include/kurator/sim/HitPoints.h
@@ -1,5 +1,7 @@
#pragma once
+#include <kurator/universe/ShipType.h>
+
namespace kurator
{
@@ -9,12 +11,12 @@ namespace sim
struct HitPoints
{
- HitPoints(double base_shield, double base_armour, double base_structure);
+ HitPoints(const universe::ShipType& def);
struct Layer
{
double points;
- double resists = 0.7;
+ double resists = 0.3;
double consume(double& damage);
};