summaryrefslogtreecommitdiff
path: root/src/net
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
parent857da1b7b4e0a2523947b6ec82746a559543f329 (diff)
downloadmv-9e1c8b7ab5db33f544305c3b160ca65b6972370f.tar.gz
mv-9e1c8b7ab5db33f544305c3b160ca65b6972370f.tar.bz2
mv-9e1c8b7ab5db33f544305c3b160ca65b6972370f.tar.xz
mv-9e1c8b7ab5db33f544305c3b160ca65b6972370f.zip
add ability to show stats from items.xml like strings.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/eathena/generalhandler.cpp12
-rw-r--r--src/net/tmwa/generalhandler.cpp12
2 files changed, 12 insertions, 12 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);
}
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index fa625b76f..ba8f40551 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -102,17 +102,17 @@ GeneralHandler::GeneralHandler() :
std::vector<ItemDB::Stat> stats;
// TRANSLATORS: player stat
- stats.push_back(ItemDB::Stat("str", _("Strength %+d")));
+ stats.push_back(ItemDB::Stat("str", _("Strength %s")));
// TRANSLATORS: player stat
- stats.push_back(ItemDB::Stat("agi", _("Agility %+d")));
+ stats.push_back(ItemDB::Stat("agi", _("Agility %s")));
// TRANSLATORS: player stat
- stats.push_back(ItemDB::Stat("vit", _("Vitality %+d")));
+ stats.push_back(ItemDB::Stat("vit", _("Vitality %s")));
// TRANSLATORS: player stat
- stats.push_back(ItemDB::Stat("int", _("Intelligence %+d")));
+ stats.push_back(ItemDB::Stat("int", _("Intelligence %s")));
// TRANSLATORS: player stat
- stats.push_back(ItemDB::Stat("dex", _("Dexterity %+d")));
+ stats.push_back(ItemDB::Stat("dex", _("Dexterity %s")));
// TRANSLATORS: player stat
- stats.push_back(ItemDB::Stat("luck", _("Luck %+d")));
+ stats.push_back(ItemDB::Stat("luck", _("Luck %s")));
ItemDB::setStatsList(stats);
}