summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-11-09 03:45:42 +0100
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2012-02-02 15:35:17 +0100
commit1e562bdd132c4166ca4de2bdb3f241adaa9a7149 (patch)
tree84bca9f39cfd3c05d3a315c8e9cd854b18cb4682 /src/common
parent4cd1957231605e976c5cf001eddea80d5e49272f (diff)
downloadmanaserv-1e562bdd132c4166ca4de2bdb3f241adaa9a7149.tar.gz
manaserv-1e562bdd132c4166ca4de2bdb3f241adaa9a7149.tar.xz
manaserv-1e562bdd132c4166ca4de2bdb3f241adaa9a7149.zip
Added a way to specify the min and max attributes values.
This can now be done in attributes.xml through the minimum and maximum attribute parameters. I also changed the AttributeInfo struct as requested by bjorn. Reviewed-by: Erik Schilling, Thorbjørn Lindeijer
Diffstat (limited to 'src/common')
-rw-r--r--src/common/defines.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/common/defines.h b/src/common/defines.h
index ca59631..3c7d846 100644
--- a/src/common/defines.h
+++ b/src/common/defines.h
@@ -185,36 +185,4 @@ enum
MOB_ATTR_MAG_ATK = 22
};
-/**
- * Stackable types.
- * @todo non-stackable malus layers
- */
-enum StackableType
-{
- Stackable,
- NonStackable,
- NonStackableBonus
-};
-
-/**
- * Attribute augmentation methods.
- */
-enum ModifierEffectType
-{
- Multiplicative,
- Additive
-};
-
-struct AttributeInfoType
-{
- StackableType stackableType;
- ModifierEffectType effectType;
-
- AttributeInfoType(StackableType s,
- ModifierEffectType effect) :
- stackableType(s),
- effectType(effect)
- {}
-};
-
#endif // DEFINES_H