summaryrefslogtreecommitdiff
path: root/server/scripts/constants.md
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-25 23:14:27 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-25 23:14:27 +0300
commit9cb7d5b2620e4d2f976dbae366860a6c41690198 (patch)
tree5ef28c490219443cd797a86a04c0b15cdaa2b93c /server/scripts/constants.md
parent3746f02c4cb4a87a0bfca1319656a9d067c90c2b (diff)
downloaddocs-9cb7d5b2620e4d2f976dbae366860a6c41690198.tar.gz
docs-9cb7d5b2620e4d2f976dbae366860a6c41690198.tar.bz2
docs-9cb7d5b2620e4d2f976dbae366860a6c41690198.tar.xz
docs-9cb7d5b2620e4d2f976dbae366860a6c41690198.zip
Update constants and scripts documentation from hercules.
Diffstat (limited to 'server/scripts/constants.md')
-rw-r--r--server/scripts/constants.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/server/scripts/constants.md b/server/scripts/constants.md
index 0ecb527..40d9a26 100644
--- a/server/scripts/constants.md
+++ b/server/scripts/constants.md
@@ -3948,6 +3948,13 @@
- `BL_CHAR`: 539
- `BL_ALL`: 4095
+### Refine Chance Types
+
+- `REFINE_CHANCE_TYPE_NORMAL`: 0
+- `REFINE_CHANCE_TYPE_ENRICHED`: 1
+- `REFINE_CHANCE_TYPE_E_NORMAL`: 2
+- `REFINE_CHANCE_TYPE_E_ENRICHED`: 3
+
### Player permissions
- `PERM_TRADE`: 1
@@ -3977,6 +3984,16 @@
- `PERM_DISABLE_EXP`: 33554432
- `PERM_DISABLE_SKILL_USAGE`: 67108864
+### Data types
+
+- `DATATYPE_NIL`: 128
+- `DATATYPE_STR`: 256
+- `DATATYPE_INT`: 512
+- `DATATYPE_CONST`: 1024
+- `DATATYPE_PARAM`: 2048
+- `DATATYPE_VAR`: 4096
+- `DATATYPE_LABEL`: 8192
+
### Renewal
- `RENEWAL`: 1