diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-06-03 16:37:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-06-03 16:37:30 -0300 |
commit | 594c661e6d2342adbac146d418458d7872bac662 (patch) | |
tree | b772adceb60d42368d3dbbebe1b23c2b5ae54054 /npc/functions | |
parent | 45ca4be7791975f0e008a8fb60aeadabec2a21c7 (diff) | |
download | serverdata-594c661e6d2342adbac146d418458d7872bac662.tar.gz serverdata-594c661e6d2342adbac146d418458d7872bac662.tar.bz2 serverdata-594c661e6d2342adbac146d418458d7872bac662.tar.xz serverdata-594c661e6d2342adbac146d418458d7872bac662.zip |
Cutscene + several pcblock fixes
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/hub.txt | 4 | ||||
-rw-r--r-- | npc/functions/mobpoint.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 2c178da98..168823cf4 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -38,7 +38,7 @@ function script HUB_Logout { // Logout while donating blood if (getq(HurnscaldQuest_BloodDonor) == 2) { slide 35, 28; - setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_ITEM|PCBLOCK_MOVE, false); + setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_MOVE, false); setq HurnscaldQuest_BloodDonor, 0, gettimetick(2)+3600; // one hour penalty } // Logout/Death on Nard's ship hold @@ -91,7 +91,7 @@ function script HUB_Logout { .@trueid=getcharid(3); //detachrid(); attachrid(killerrid); - setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_ITEM|PCBLOCK_COMMANDS, true); + setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_COMMANDS, true); sc_start SC_WALKSPEED,120000,50; sc_end SC_CASH_PLUSEXP; sc_end SC_OVERLAPEXPUP; diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt index 2054b5493..eec6166a1 100644 --- a/npc/functions/mobpoint.txt +++ b/npc/functions/mobpoint.txt @@ -21,7 +21,7 @@ function script mobpoint { OnUnlock: 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); end; OnNPCKillEvent: |