summaryrefslogtreecommitdiff
path: root/src/map/script.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-06-02 16:19:59 +0200
committerGitHub <noreply@github.com>2018-06-02 16:19:59 +0200
commitb8cdb8e191f17cb0c8798e0379be9d68c72d6368 (patch)
treed177ea2eccf2207423c8deae85021ef7e5949512 /src/map/script.h
parente6596534654e7ca395c34db5a8d589ebbcaa0a7d (diff)
parent90be2a7937e7552a72d1e7eb632e6bc2d01443ef (diff)
downloadhercules-b8cdb8e191f17cb0c8798e0379be9d68c72d6368.tar.gz
hercules-b8cdb8e191f17cb0c8798e0379be9d68c72d6368.tar.bz2
hercules-b8cdb8e191f17cb0c8798e0379be9d68c72d6368.tar.xz
hercules-b8cdb8e191f17cb0c8798e0379be9d68c72d6368.zip
Merge pull request #842 from AnnieRuru/request_6
Add new *pcblock script command
Diffstat (limited to 'src/map/script.h')
-rw-r--r--src/map/script.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/map/script.h b/src/map/script.h
index 9cd673263..a0cfb7692 100644
--- a/src/map/script.h
+++ b/src/map/script.h
@@ -456,6 +456,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
**/