diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-05-03 23:43:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-05-03 23:43:29 +0300 |
commit | e3bc4c8ee86e3474cf8ec29cde9154f2f5fec166 (patch) | |
tree | e34f391caf04771ca31b3754118a0249792c897d /server | |
parent | 44099f464c40e8a270a340875c6399df0c519fc4 (diff) | |
download | docs-e3bc4c8ee86e3474cf8ec29cde9154f2f5fec166.tar.gz docs-e3bc4c8ee86e3474cf8ec29cde9154f2f5fec166.tar.bz2 docs-e3bc4c8ee86e3474cf8ec29cde9154f2f5fec166.tar.xz docs-e3bc4c8ee86e3474cf8ec29cde9154f2f5fec166.zip |
Update from hercules.s20180518
Add new constants.
Diffstat (limited to 'server')
-rw-r--r-- | server/items/item_db.txt | 4 | ||||
-rw-r--r-- | server/scripts/constants.md | 57 |
2 files changed, 59 insertions, 2 deletions
diff --git a/server/items/item_db.txt b/server/items/item_db.txt index 16eca2e..4ada106 100644 --- a/server/items/item_db.txt +++ b/server/items/item_db.txt @@ -371,8 +371,8 @@ Inherit: This can be used only in item_db2.conf, and if set to true, and the item already exists in item_db.conf, all the missing fields will be inherited from there rather than using their default values. -ShowDropEffect: Allow showing an effect when the item dropped by a monster. [ZERO client only] -DropEffectMode: Set attribute for ShowDropEffect. [ZERO client only] +ShowDropEffect: Allow showing an effect when the item dropped by a monster. [ZERO client or PACKETVER >= 20180418] +DropEffectMode: Set attribute for ShowDropEffect. [ZERO client or PACKETVER >= 20180418] 0 - Client Based (itemInfo EffectID) 1 - White effect 2 - Blue effect diff --git a/server/scripts/constants.md b/server/scripts/constants.md index 978cc7e..7ed53c4 100644 --- a/server/scripts/constants.md +++ b/server/scripts/constants.md @@ -4162,6 +4162,63 @@ - `ITEMINFO_MATK`: 15 - `ITEMINFO_VIEWSPRITE`: 16 +### monster skill states + +- `MSS_ANY`: -1 +- `MSS_IDLE`: 0 +- `MSS_WALK`: 1 +- `MSS_LOOT`: 2 +- `MSS_DEAD`: 3 +- `MSS_BERSERK`: 4 +- `MSS_ANGRY`: 5 +- `MSS_RUSH`: 6 +- `MSS_FOLLOW`: 7 +- `MSS_ANYTARGET`: 8 + +### monster skill conditions + +- `MSC_ANY`: -1 +- `MSC_ALWAYS`: 0 +- `MSC_MYHPLTMAXRATE`: 1 +- `MSC_MYHPINRATE`: 2 +- `MSC_FRIENDHPLTMAXRATE`: 3 +- `MSC_FRIENDHPINRATE`: 4 +- `MSC_MYSTATUSON`: 5 +- `MSC_MYSTATUSOFF`: 6 +- `MSC_FRIENDSTATUSON`: 7 +- `MSC_FRIENDSTATUSOFF`: 8 +- `MSC_ATTACKPCGT`: 9 +- `MSC_ATTACKPCGE`: 10 +- `MSC_SLAVELT`: 11 +- `MSC_SLAVELE`: 12 +- `MSC_CLOSEDATTACKED`: 13 +- `MSC_LONGRANGEATTACKED`: 14 +- `MSC_SKILLUSED`: 16 +- `MSC_AFTERSKILL`: 15 +- `MSC_CASTTARGETED`: 17 +- `MSC_RUDEATTACKED`: 18 +- `MSC_MASTERHPLTMAXRATE`: 19 +- `MSC_MASTERATTACKED`: 20 +- `MSC_ALCHEMIST`: 21 +- `MSC_SPAWN`: 22 + +### monster skill targets + +- `MST_TARGET`: 0 +- `MST_RANDOM`: 1 +- `MST_SELF`: 2 +- `MST_FRIEND`: 3 +- `MST_MASTER`: 4 +- `MST_AROUND5`: 5 +- `MST_AROUND6`: 6 +- `MST_AROUND7`: 7 +- `MST_AROUND8`: 8 +- `MST_AROUND1`: 9 +- `MST_AROUND2`: 10 +- `MST_AROUND3`: 11 +- `MST_AROUND4`: 12 +- `MST_AROUND`: 12 + ### Renewal - `RENEWAL`: 1 |