From c85d0d32a3674551a6b2f74029572e8eb6d0a0f4 Mon Sep 17 00:00:00 2001 From: AnnieRuru Date: Wed, 27 Feb 2019 02:32:58 +0800 Subject: Deprecate UDT_MAPIDXY constant - use *unitwarp for setunitdata - use *getmapxy for getunitdata --- db/constants.conf | 5 ++++- doc/script_commands.txt | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/db/constants.conf b/db/constants.conf index 598bc89c4..6b541c9de 100644 --- a/db/constants.conf +++ b/db/constants.conf @@ -3853,7 +3853,10 @@ constants_db: { UDT_MAXSP: 6 UDT_MASTERAID: 7 UDT_MASTERCID: 8 - UDT_MAPIDXY: 9 + UDT_MAPIDXY: { + Value: 9 + Deprecated: true // for setunitdata use *unitwarp, for getunitdata use *getmapxy + } UDT_WALKTOXY: 10 UDT_SPEED: 11 UDT_MODE: 12 diff --git a/doc/script_commands.txt b/doc/script_commands.txt index db851128f..a0fac8f9b 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -10048,7 +10048,6 @@ Applicable Data Types (available as constants) - UDT_MAXSP: MAX SP (int) UDT_MASTERAID: Master Account ID (for Summons) (int) UDT_MASTERCID: Master Char ID (for Summons) (int) - UDT_MAPIDXY: Warp a Unit to a map. (Val1 = (string) MapName, Val2 = (int) x, Val3 = (int) y) UDT_WALKTOXY: Make a unit walk to certain co-ordinates. (Val1 = (int) x, Val2 = (int) y) UDT_SPEED: Unit Speed. (int) UDT_MODE: Mode (Mobs only) (int) @@ -10114,7 +10113,6 @@ Applicable Data types (available as constants) - UDT_MAXSP: MAX SP (int) UDT_MASTERAID: Master Account ID (for Summons) (int) UDT_MASTERCID: Master Char ID (for Summons) (int) - UDT_MAPIDXY: Warp a Unit to a map. (Val1 = (string) MapName, Val2 = (int) x, Val3 = (int) y) UDT_SPEED: Unit Speed. (int) UDT_MODE: Mode (Mobs only) (int) UDT_AI: Unit AI Type (see doc/constants.md for Unit AI Types) -- cgit v1.2.3-70-g09d2