summaryrefslogtreecommitdiff
path: root/src/net/eathena/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-08 13:46:07 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-08 13:46:07 +0300
commit9e1c8b7ab5db33f544305c3b160ca65b6972370f (patch)
tree1bd1f627d3d58a874953149de001a770f7d9ea9e /src/net/eathena/generalhandler.cpp
parent857da1b7b4e0a2523947b6ec82746a559543f329 (diff)
downloadplus-9e1c8b7ab5db33f544305c3b160ca65b6972370f.tar.gz
plus-9e1c8b7ab5db33f544305c3b160ca65b6972370f.tar.bz2
plus-9e1c8b7ab5db33f544305c3b160ca65b6972370f.tar.xz
plus-9e1c8b7ab5db33f544305c3b160ca65b6972370f.zip
add ability to show stats from items.xml like strings.
Diffstat (limited to 'src/net/eathena/generalhandler.cpp')
-rw-r--r--src/net/eathena/generalhandler.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index b75044bb3..029b7fcd4 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -99,12 +99,12 @@ GeneralHandler::GeneralHandler() :
generalHandler = this;
std::vector<ItemDB::Stat> stats;
- stats.push_back(ItemDB::Stat("str", _("Strength %+d")));
- stats.push_back(ItemDB::Stat("agi", _("Agility %+d")));
- stats.push_back(ItemDB::Stat("vit", _("Vitality %+d")));
- stats.push_back(ItemDB::Stat("int", _("Intelligence %+d")));
- stats.push_back(ItemDB::Stat("dex", _("Dexterity %+d")));
- stats.push_back(ItemDB::Stat("luck", _("Luck %+d")));
+ stats.push_back(ItemDB::Stat("str", _("Strength %s")));
+ stats.push_back(ItemDB::Stat("agi", _("Agility %s")));
+ stats.push_back(ItemDB::Stat("vit", _("Vitality %s")));
+ stats.push_back(ItemDB::Stat("int", _("Intelligence %s")));
+ stats.push_back(ItemDB::Stat("dex", _("Dexterity %s")));
+ stats.push_back(ItemDB::Stat("luck", _("Luck %s")));
ItemDB::setStatsList(stats);
}