summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnieRuru <jeankofannie2@gmail.com>2019-02-27 02:32:58 +0800
committerAnnieRuru <jeankofannie2@gmail.com>2019-02-27 02:32:58 +0800
commitc85d0d32a3674551a6b2f74029572e8eb6d0a0f4 (patch)
tree796b0a3682e3f3255b7c93f971a45f1982583c1e
parentd496d8963fb4c2eb9015a2911a88299e29644681 (diff)
downloadhercules-c85d0d32a3674551a6b2f74029572e8eb6d0a0f4.tar.gz
hercules-c85d0d32a3674551a6b2f74029572e8eb6d0a0f4.tar.bz2
hercules-c85d0d32a3674551a6b2f74029572e8eb6d0a0f4.tar.xz
hercules-c85d0d32a3674551a6b2f74029572e8eb6d0a0f4.zip
Deprecate UDT_MAPIDXY constant
- use *unitwarp for setunitdata - use *getmapxy for getunitdata
-rw-r--r--db/constants.conf5
-rw-r--r--doc/script_commands.txt2
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)