summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2015-11-17 00:10:26 +0800
committerHaru <haru@dotalux.com>2015-12-18 05:53:48 +0100
commitdbe5f2237cada6a261e297b60857dc305860a88d (patch)
treec72148660232824579acd8890a7e98696093f50a /db
parentc4f7383a3657a8937b589df4c35673f863cd775e (diff)
downloadhercules-dbe5f2237cada6a261e297b60857dc305860a88d.tar.gz
hercules-dbe5f2237cada6a261e297b60857dc305860a88d.tar.bz2
hercules-dbe5f2237cada6a261e297b60857dc305860a88d.tar.xz
hercules-dbe5f2237cada6a261e297b60857dc305860a88d.zip
Add *getunittype and update *getmapxy
- unlike rathena, hercules' getunittype use the value from getmapxy - getmapxy now can search object position using GID Closes #871 as merged Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'db')
-rw-r--r--db/const.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/const.txt b/db/const.txt
index a338d300d..56437d2e2 100644
--- a/db/const.txt
+++ b/db/const.txt
@@ -3539,3 +3539,11 @@ SEPTEMBER 9
OCTOBER 10
NOVEMBER 11
DECEMBER 12
+
+UNITTYPE_PC 0
+UNITTYPE_NPC 1
+UNITTYPE_PET 2
+UNITTYPE_MOB 3
+UNITTYPE_HOM 4
+UNITTYPE_MER 5
+UNITTYPE_ELEM 6