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/clif.c | |
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/clif.c')
-rw-r--r-- | src/map/clif.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 47d5a1586..847bca096 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -10488,6 +10488,9 @@ void clif_parse_ActionRequest_sub(struct map_session_data *sd, int action_type, return; } + if (sd->block_action.sitstand) // *pcblock script command + break; + if (sd->ud.skilltimer != INVALID_TIMER || (sd->sc.opt1 && sd->sc.opt1 != OPT1_BURNING )) break; @@ -10515,6 +10518,9 @@ void clif_parse_ActionRequest_sub(struct map_session_data *sd, int action_type, return; } + if (sd->block_action.sitstand) // *pcblock script command + break; + pc->update_idle_time(sd, BCIDLE_SIT); pc->setstand(sd); |