summaryrefslogtreecommitdiff
path: root/hercules
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-08-07 01:36:30 +0300
committerAndrei Karas <akaras@inbox.ru>2016-08-07 01:36:30 +0300
commit2501d34911eef17530666ed51081aa7d76e76e45 (patch)
tree8a67581e18d3285d6656de7013e52eb3a2828dbf /hercules
parent274db028df208773377e0f8826918f34e1ce79bb (diff)
downloadtools-2501d34911eef17530666ed51081aa7d76e76e45.tar.gz
tools-2501d34911eef17530666ed51081aa7d76e76e45.tar.bz2
tools-2501d34911eef17530666ed51081aa7d76e76e45.tar.xz
tools-2501d34911eef17530666ed51081aa7d76e76e45.zip
hercules: from custom db conversion remove equipped items from players.
Diffstat (limited to 'hercules')
-rw-r--r--hercules/code/server/db/char.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/hercules/code/server/db/char.py b/hercules/code/server/db/char.py
index eaf9df5..c1bb4a8 100644
--- a/hercules/code/server/db/char.py
+++ b/hercules/code/server/db/char.py
@@ -156,11 +156,11 @@ def saveCharTableCustom(users):
hair_color = user.hair_color,
clothes_color = user.clothes_color,
body = 0,
- weapon = user.weapon,
- shield = user.shield,
- head_top = user.head_top,
- head_mid = user.head_mid,
- head_bottom = user.head_bottom,
+ weapon = 0,
+ shield = 0,
+ head_top = 0,
+ head_mid = 0,
+ head_bottom = 0,
robe = "0",
last_map = "000-2-1",
last_x = 50,