summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnieRuru <jeankofannie2@gmail.com>2019-02-27 02:34:07 +0800
committerAnnieRuru <jeankofannie2@gmail.com>2019-02-27 02:34:07 +0800
commit94db964dab27c4572671aa1b486398573e86cce5 (patch)
treebd5dc8b3610b339d42d9fb540bcf35f14c3e384c
parentc85d0d32a3674551a6b2f74029572e8eb6d0a0f4 (diff)
downloadhercules-94db964dab27c4572671aa1b486398573e86cce5.tar.gz
hercules-94db964dab27c4572671aa1b486398573e86cce5.tar.bz2
hercules-94db964dab27c4572671aa1b486398573e86cce5.tar.xz
hercules-94db964dab27c4572671aa1b486398573e86cce5.zip
Deprecate UDT_WALKTOXY constant
- this constant only used by *setunitdata, now has to use *unitwalk
-rw-r--r--db/constants.conf5
-rw-r--r--doc/script_commands.txt1
2 files changed, 4 insertions, 2 deletions
diff --git a/db/constants.conf b/db/constants.conf
index 6b541c9de..2e379cb14 100644
--- a/db/constants.conf
+++ b/db/constants.conf
@@ -3857,7 +3857,10 @@ constants_db: {
Value: 9
Deprecated: true // for setunitdata use *unitwarp, for getunitdata use *getmapxy
}
- UDT_WALKTOXY: 10
+ UDT_WALKTOXY: {
+ Value: 10
+ Deprecated: true // use *unitwalk
+ }
UDT_SPEED: 11
UDT_MODE: 12
UDT_AI: 13
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index a0fac8f9b..cc8ff6fe5 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_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)
UDT_AI: Unit AI Type (see doc/constants.md for Unit AI Types)