From 162beeaffe4791829e4c0227502847b557cede03 Mon Sep 17 00:00:00 2001 From: Philipp Sehmisch Date: Mon, 7 Jan 2008 22:07:36 +0000 Subject: 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. --- src/localplayer.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'src/localplayer.h') 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, -- cgit v1.2.3-70-g09d2