summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-29 20:45:25 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-30 00:03:19 +0300
commit12a8d0a76439f0e5a0c548fbe2752fcb144b10be (patch)
treee81f2333d549f98f7998d10a8b2e181eb61e1136 /src/net/tmwa
parentbd10eec0009a0b90b246b07829d176a360d7bccb (diff)
downloadplus-12a8d0a76439f0e5a0c548fbe2752fcb144b10be.tar.gz
plus-12a8d0a76439f0e5a0c548fbe2752fcb144b10be.tar.bz2
plus-12a8d0a76439f0e5a0c548fbe2752fcb144b10be.tar.xz
plus-12a8d0a76439f0e5a0c548fbe2752fcb144b10be.zip
Move basic skill definition fro net into statdb.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/generalhandler.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index 4fef79f57..390c2d021 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -71,9 +71,6 @@
#include "net/tmwa/vendinghandler.h"
#endif
-#include "resources/db/itemdbstat.h"
-#include "resources/db/statdb.h"
-
#include "utils/delete2.h"
#include "utils/gettext.h"
@@ -125,22 +122,6 @@ GeneralHandler::GeneralHandler() :
#endif
{
generalHandler = this;
-
- std::vector<ItemDB::Stat> stats;
- // TRANSLATORS: player stat
- stats.push_back(ItemDB::Stat("str", _("Strength %s")));
- // TRANSLATORS: player stat
- stats.push_back(ItemDB::Stat("agi", _("Agility %s")));
- // TRANSLATORS: player stat
- stats.push_back(ItemDB::Stat("vit", _("Vitality %s")));
- // TRANSLATORS: player stat
- stats.push_back(ItemDB::Stat("int", _("Intelligence %s")));
- // TRANSLATORS: player stat
- stats.push_back(ItemDB::Stat("dex", _("Dexterity %s")));
- // TRANSLATORS: player stat
- stats.push_back(ItemDB::Stat("luck", _("Luck %s")));
-
- StatDb::setStatsList(stats);
}
GeneralHandler::~GeneralHandler()