From dbe5f2237cada6a261e297b60857dc305860a88d Mon Sep 17 00:00:00 2001 From: AnnieRuru Date: Tue, 17 Nov 2015 00:10:26 +0800 Subject: 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 --- db/const.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'db') 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 -- cgit v1.2.3-60-g2f50