aboutsummaryrefslogtreecommitdiffstats
path: root/include/components.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/components.hpp')
-rw-r--r--include/components.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/components.hpp b/include/components.hpp
index 20a1419..dafb859 100644
--- a/include/components.hpp
+++ b/include/components.hpp
@@ -611,10 +611,11 @@ struct Aggro : public Component {
};
struct Hit : public Component {
- Hit(int d)
- : damage(d) {}
+ Hit(int d, bool p = false)
+ : damage(d), pierce(p) {}
int damage;
+ bool pierce;
void fromXML(XMLElement* imp, XMLElement* def) final {
(void)imp;