diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-02-14 16:09:49 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-02-14 16:09:49 -0300 |
commit | c733872ea010e47facfec2b915acd0873a611bf9 (patch) | |
tree | 515a050654921c6995617157328841e825ff27bf /npc/001-8 | |
parent | 16cf7d67834ab45de67a2dce2ec7406373547816 (diff) | |
download | serverdata-c733872ea010e47facfec2b915acd0873a611bf9.tar.gz serverdata-c733872ea010e47facfec2b915acd0873a611bf9.tar.bz2 serverdata-c733872ea010e47facfec2b915acd0873a611bf9.tar.xz serverdata-c733872ea010e47facfec2b915acd0873a611bf9.zip |
Update PCBLOCK
Diffstat (limited to 'npc/001-8')
-rw-r--r-- | npc/001-8/hub.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/001-8/hub.txt b/npc/001-8/hub.txt index 6e19000d6..0b5aa5370 100644 --- a/npc/001-8/hub.txt +++ b/npc/001-8/hub.txt @@ -171,7 +171,7 @@ OnBegin: // Free player, let's start! delcells "qhubN"; delcells "qhubS"; - setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, false); + setpcblock(PCBLOCK_SOFT, false); specialeffect(FX_MGSHIELD, AREA, getcharid(3)); specialeffect(FX_CRITICAL, AREA, getcharid(3)); dispbottom col(l("Run! Event started!"), 1); @@ -344,7 +344,7 @@ OnPCLogoutEvent: // } Deal with the player { clearitem(); if (checkpcblock() & PCBLOCK_ATTACK) - setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, false); + setpcblock(PCBLOCK_SOFT, false); // Check if to reduce clearitem() efficiency you've used the cart in an illegal way. getcartinventorylist(); @@ -386,7 +386,7 @@ OnPCLogoutEvent: end; OnCancel: - setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, false); + setpcblock(PCBLOCK_SOFT, false); warp "Save", 0, 0; end; |