diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-21 23:41:45 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-21 23:41:45 -0300 |
commit | 18a5a44ad2500d202caa7cbec86371d084d9dac8 (patch) | |
tree | cd90dc6421ece6ca7c561af0b3c83a2f91e7369a /npc/functions/mobpoint.txt | |
parent | 97d0666d9444922b4c35d2f8e22d01bc95f8520e (diff) | |
download | serverdata-18a5a44ad2500d202caa7cbec86371d084d9dac8.tar.gz serverdata-18a5a44ad2500d202caa7cbec86371d084d9dac8.tar.bz2 serverdata-18a5a44ad2500d202caa7cbec86371d084d9dac8.tar.xz serverdata-18a5a44ad2500d202caa7cbec86371d084d9dac8.zip |
Hotfix
Diffstat (limited to 'npc/functions/mobpoint.txt')
-rw-r--r-- | npc/functions/mobpoint.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt index 8ccb7bbf3..54276f40b 100644 --- a/npc/functions/mobpoint.txt +++ b/npc/functions/mobpoint.txt @@ -19,6 +19,11 @@ function script mobpoint { 000-0,0,0,0 script #mobptsys NPC_HIDDEN,{ end; +OnUnlock: + if (checkpcblock() & PCBLOCK_ATTACK) + setpcblock(PCBLOCK_ATTACK|PCBLOCK_SKILL|PCBLOCK_ITEM|PCBLOCK_MOVE|PCBLOCK_COMMANDS, false); + end; + OnNPCKillEvent: if (killedrid == MonsterKing) { announce "An illusionary monster king was killed.", bc_all | bc_pc; @@ -72,7 +77,6 @@ OnPCKillEvent: // You get 0.5 times killed player level, and 0 times job level getexp (.@bxp/2), 0; } - end; } |