summaryrefslogtreecommitdiff
path: root/src/map/mob.t.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/mob.t.hpp')
-rw-r--r--src/map/mob.t.hpp41
1 files changed, 41 insertions, 0 deletions
diff --git a/src/map/mob.t.hpp b/src/map/mob.t.hpp
new file mode 100644
index 0000000..b112c69
--- /dev/null
+++ b/src/map/mob.t.hpp
@@ -0,0 +1,41 @@
+#ifndef MOB_T_HPP
+#define MOB_T_HPP
+
+#include <cstdint>
+
+enum class MobSkillTarget
+{
+ MST_TARGET = 0,
+ MST_SELF,
+};
+
+/// Used as a condition when trying to apply the chosen mob skill.
+enum class MobSkillCondition : uint16_t
+{
+ // used as something that never compares true
+ NEVER_EQUAL = 0xfffe,
+ ANY = 0xffff,
+
+ MSC_ALWAYS = 0x0000,
+ MSC_MYHPLTMAXRATE = 0x0001,
+
+ MSC_NOTINTOWN = 0x0032,
+
+ MSC_SLAVELT = 0x0110,
+ MSC_SLAVELE = 0x0111,
+};
+
+/// Used as a filter when trying to choose a mob skill to use.
+enum class MobSkillState : uint8_t
+{
+ ANY = 0xff,
+
+ MSS_IDLE = 0,
+ MSS_WALK,
+ MSS_ATTACK,
+ MSS_DEAD,
+ MSS_LOOT,
+ MSS_CHASE,
+};
+
+#endif // MOB_T_HPP