summaryrefslogtreecommitdiff
path: root/npc/functions
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/functions
parent16cf7d67834ab45de67a2dce2ec7406373547816 (diff)
downloadserverdata-c733872ea010e47facfec2b915acd0873a611bf9.tar.gz
serverdata-c733872ea010e47facfec2b915acd0873a611bf9.tar.bz2
serverdata-c733872ea010e47facfec2b915acd0873a611bf9.tar.xz
serverdata-c733872ea010e47facfec2b915acd0873a611bf9.zip
Update PCBLOCK
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt4
-rw-r--r--npc/functions/mobpoint.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 5cfe99373..e478b3014 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -78,7 +78,7 @@ function script HUB_Logout {
// Logout while donating blood
if (getq(HurnscaldQuest_BloodDonor) == 2) {
slide 35, 28;
- setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_MOVE, false);
+ setpcblock(PCBLOCK_SOFT, false);
setq HurnscaldQuest_BloodDonor, 0, gettimetick(2)+3600; // one hour penalty
}
// Logout/Death on Nard's ship hold
@@ -194,7 +194,7 @@ function script HUB_Logout {
.@trueid=getcharid(3);
//detachrid();
attachrid(killerrid);
- setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_COMMANDS, true);
+ setpcblock(PCBLOCK_SOFT, 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 2ac276f43..15b3a65f3 100644
--- a/npc/functions/mobpoint.txt
+++ b/npc/functions/mobpoint.txt
@@ -48,7 +48,7 @@ function script mobpoint {
OnUnlock:
if (checkpcblock() & PCBLOCK_ATTACK)
- setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_USEITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, false);
+ setpcblock(PCBLOCK_HARD, false);
end;
OnNPCKillEvent: