summaryrefslogtreecommitdiff
path: root/npc/001-8
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-02-14 16:09:49 -0300
committerJesusaves <cpntb1@ymail.com>2021-02-14 16:09:49 -0300
commitc733872ea010e47facfec2b915acd0873a611bf9 (patch)
tree515a050654921c6995617157328841e825ff27bf /npc/001-8
parent16cf7d67834ab45de67a2dce2ec7406373547816 (diff)
downloadserverdata-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.txt6
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;