summaryrefslogtreecommitdiff
path: root/src/spellbinder.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/spellbinder.hpp')
-rw-r--r--src/spellbinder.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/spellbinder.hpp b/src/spellbinder.hpp
new file mode 100644
index 00000000..078d9eac
--- /dev/null
+++ b/src/spellbinder.hpp
@@ -0,0 +1,21 @@
+#pragma once
+
+#include "h-basic.h"
+#include <vector>
+
+/**
+ * Spellbinder state
+ */
+struct spellbinder {
+
+ /**
+ * Bound spells.
+ */
+ std::vector<u32b> spell_idxs;
+
+ /**
+ * Trigger condition.
+ */
+ byte trigger = 0;
+
+};