diff options
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 d3d3044a5..72232e111 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_ITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, false); + setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, false); specialeffect(60, AREA, getcharid(3)); specialeffect(11, 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_ITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, false); + setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, 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_ITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, false); + setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, false); warp "Save", 0, 0; end; |