summaryrefslogtreecommitdiff
path: root/src/common/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/defines.h')
-rw-r--r--src/common/defines.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/common/defines.h b/src/common/defines.h
index c14aca50..140a6929 100644
--- a/src/common/defines.h
+++ b/src/common/defines.h
@@ -126,6 +126,17 @@ enum Element
};
/**
+ * Damage type, used to know how to compute them.
+ */
+enum DamageType
+{
+ DAMAGE_PHYSICAL = 0,
+ DAMAGE_MAGICAL,
+ DAMAGE_DIRECT,
+ DAMAGE_OTHER = -1
+};
+
+/**
* A series of hardcoded attributes that must be defined.
* FIXME: Much of these serve only to indicate derivatives, and so would not be
* needed once this is no longer a hardcoded system.