diff options
author | AnnieRuru <jeankof@ymail.com> | 2018-05-04 15:11:44 +0800 |
---|---|---|
committer | AnnieRuru <jeankof@ymail.com> | 2018-05-04 15:11:44 +0800 |
commit | 90be2a7937e7552a72d1e7eb632e6bc2d01443ef (patch) | |
tree | a620df93dbac0e1e1a210cce677c1d7046ad51dd /src/map/script.h | |
parent | 0622261073b6f4f0160cb0df150d3e07483d9b1b (diff) | |
download | hercules-90be2a7937e7552a72d1e7eb632e6bc2d01443ef.tar.gz hercules-90be2a7937e7552a72d1e7eb632e6bc2d01443ef.tar.bz2 hercules-90be2a7937e7552a72d1e7eb632e6bc2d01443ef.tar.xz hercules-90be2a7937e7552a72d1e7eb632e6bc2d01443ef.zip |
Add setpcblock & checkpcblock script commands
thanks to @MishimaHaruna for the updated syntax
Diffstat (limited to 'src/map/script.h')
-rw-r--r-- | src/map/script.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h index ede786481..7bf20a741 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -454,6 +454,22 @@ enum script_iteminfo_types { }; /** + * Player blocking actions related flags. + */ +enum pcblock_action_flag { + PCBLOCK_NONE = 0x00, + PCBLOCK_MOVE = 0x01, + PCBLOCK_ATTACK = 0x02, + PCBLOCK_SKILL = 0x04, + PCBLOCK_USEITEM = 0x08, + PCBLOCK_CHAT = 0x10, + PCBLOCK_IMMUNE = 0x20, + PCBLOCK_SITSTAND = 0x40, + PCBLOCK_COMMANDS = 0x80, + PCBLOCK_ALL = 0xFF, +}; + +/** * Structures **/ |