summaryrefslogtreecommitdiff
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
parent1f2b8d3d4c36c3cf30187633e4cf5bb5d0012e7c (diff)
downloadmana-162beeaffe4791829e4c0227502847b557cede03.tar.gz
mana-162beeaffe4791829e4c0227502847b557cede03.tar.bz2
mana-162beeaffe4791829e4c0227502847b557cede03.tar.xz
mana-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.
-rw-r--r--ChangeLog17
-rw-r--r--src/localplayer.h17
-rw-r--r--tmw.cbp1
3 files changed, 28 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index aca00a69..6cf30bd1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2007-01-07 Philipp Sehmisch <tmw@crushnet.org>
+
+ * src/localplayer.h: Implemented new attribute enumerations of
+ last server update.
+ * data/items.xml: Added item types and attribute modifiers to
+ items for troubleshooting the equipment system. Reformated the
+ file for easier editing.
+ * data/graphics/items/armor-ring-agility-rough.png,
+ data/graphics/items/armor-ring-dexterity-rough.png,
+ data/graphics/items/armor-ring-intelligence-rough.png,
+ data/graphics/items/armor-ring-strength-rough.png,
+ data/graphics/items/armor-ring-willpower-rough.png,
+ data/graphics/items/armor-ring-vitality-rough.png:
+ Added basic attribute-enhancing rings for troubleshooting
+ basic attribute modifiers.
+ * tmw.cbp: Updated Code::Blocks project file to include libintl.
+
2007-12-18 Philipp Sehmisch <tmw@crushnet.org>
* src/gui/char_select.cpp, src/gui/char_select.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,
diff --git a/tmw.cbp b/tmw.cbp
index e4a6e20a..524edea3 100644
--- a/tmw.cbp
+++ b/tmw.cbp
@@ -42,6 +42,7 @@
<Add library="winmm"/>
<Add library="intl.dll"/>
<Add library="SDL_ttf"/>
+ <Add library="intl"/>
</Linker>
</Target>
</Build>