summaryrefslogtreecommitdiff
path: root/src/map/pc.h
diff options
context:
space:
mode:
authorAnnieRuru <jeankof@ymail.com>2018-05-04 15:11:44 +0800
committerAnnieRuru <jeankof@ymail.com>2018-05-04 15:11:44 +0800
commit90be2a7937e7552a72d1e7eb632e6bc2d01443ef (patch)
treea620df93dbac0e1e1a210cce677c1d7046ad51dd /src/map/pc.h
parent0622261073b6f4f0160cb0df150d3e07483d9b1b (diff)
downloadhercules-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/pc.h')
-rw-r--r--src/map/pc.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/map/pc.h b/src/map/pc.h
index 49c102206..768bd4255 100644
--- a/src/map/pc.h
+++ b/src/map/pc.h
@@ -201,10 +201,8 @@ struct map_session_data {
unsigned int noask :1; // [LuzZza]
unsigned int trading :1; //[Skotlex] is 1 only after a trade has started.
unsigned int deal_locked :2; //1: Clicked on OK. 2: Clicked on TRADE
- unsigned int monster_ignore :1; // for monsters to ignore a character [Valaris] [zzo]
unsigned int size :2; // for tiny/large types
unsigned int night :1; //Holds whether or not the player currently has the SI_NIGHT effect on. [Skotlex]
- unsigned int blockedmove :1;
unsigned int using_fake_npc :1;
unsigned int rewarp :1; //Signals that a player should warp as soon as he is done loading a map. [Skotlex]
unsigned int killer : 1;
@@ -621,6 +619,16 @@ END_ZEROED_BLOCK;
// HatEffect
VECTOR_DECL(int) hatEffectId;
+ struct {
+ unsigned move : 1;
+ unsigned attack : 1;
+ unsigned skill : 1;
+ unsigned useitem : 1;
+ unsigned chat : 1;
+ unsigned immune : 1;
+ unsigned sitstand : 1;
+ unsigned commands : 1;
+ } block_action;
};
#define EQP_WEAPON EQP_HAND_R