summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2008-01-07 22:07:36 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2008-01-07 22:07:36 +0000
commit162beeaffe4791829e4c0227502847b557cede03 (patch)
treee5f352cbe894a3ff5b4f7829c4dce56d4e0bcf38 /src/localplayer.h
parent1f2b8d3d4c36c3cf30187633e4cf5bb5d0012e7c (diff)
downloadmana-client-162beeaffe4791829e4c0227502847b557cede03.tar.gz
mana-client-162beeaffe4791829e4c0227502847b557cede03.tar.bz2
mana-client-162beeaffe4791829e4c0227502847b557cede03.tar.xz
mana-client-162beeaffe4791829e4c0227502847b557cede03.zip
Implemented new attribute enumerations of server update. Reformated the items.xml file for easier editing. Added item types and attribute modifiers to equipment- and heal items for troubleshooting the equipment system. Added a set of attribute-enhancing rings for troubleshooting basic attribute modifiers.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index b72438da..9deb2475 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -40,13 +40,16 @@ class Item;
*/
enum
{
- BASE_ATTR_BEGIN = 0,
- BASE_ATTR_PHY_ATK = BASE_ATTR_BEGIN,
- BASE_ATTR_MAG_ATK,
- BASE_ATTR_PHY_RES,
- BASE_ATTR_MAG_RES,
- BASE_ATTR_EVADE,
- BASE_ATTR_HP,
+BASE_ATTR_BEGIN = 0,
+ BASE_ATTR_PHY_ATK_MIN = BASE_ATTR_BEGIN,
+ BASE_ATTR_PHY_ATK_DELTA,
+ /**< Physical attack power. */
+ BASE_ATTR_MAG_ATK, /**< Magical attack power. */
+ BASE_ATTR_PHY_RES, /**< Resistance to physical damage. */
+ BASE_ATTR_MAG_RES, /**< Resistance to magical damage. */
+ BASE_ATTR_EVADE, /**< Ability to avoid hits. */
+ BASE_ATTR_HIT, /**< Ability to hit stuff. */
+ BASE_ATTR_HP, /**< Hit Points (Base value: maximum, Modded value: current) */
BASE_ATTR_END,
BASE_ATTR_NB = BASE_ATTR_END - BASE_ATTR_BEGIN,