From 90be2a7937e7552a72d1e7eb632e6bc2d01443ef Mon Sep 17 00:00:00 2001 From: AnnieRuru Date: Fri, 4 May 2018 15:11:44 +0800 Subject: Add setpcblock & checkpcblock script commands thanks to @MishimaHaruna for the updated syntax --- src/map/status.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index 972d1eca9..030a45793 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -1761,6 +1761,9 @@ int status_check_skilluse(struct block_list *src, struct block_list *target, uin if (src != NULL && src->type != BL_PC && status->isdead(src)) return 0; + if (sd != NULL && sd->block_action.skill && skill_id) // *pcblock script command + return 0; + if (!skill_id) { //Normal attack checks. if (!(st->mode&MD_CANATTACK)) return 0; //This mode is only needed for melee attacking. -- cgit v1.2.3-60-g2f50