diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-07-08 13:46:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-07-08 13:46:07 +0300 |
commit | 9e1c8b7ab5db33f544305c3b160ca65b6972370f (patch) | |
tree | 1bd1f627d3d58a874953149de001a770f7d9ea9e /src/net/eathena/generalhandler.cpp | |
parent | 857da1b7b4e0a2523947b6ec82746a559543f329 (diff) | |
download | plus-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.cpp | 12 |
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); } |