summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/mobpoint.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt
index 3577e1bdb..8ccb7bbf3 100644
--- a/npc/functions/mobpoint.txt
+++ b/npc/functions/mobpoint.txt
@@ -59,6 +59,14 @@ OnPCKillEvent:
// Call Of Dusty
// You get 3 times killed player level, and 3 times job level
getexp .@bxp*3, .@jxp*3;
+ } else if (.@m$ ~= "001-10-1") {
+ // Call Of Dusty Boss Room
+ // You _may_ get a Bottled Dusty at random, but dead player status affect
+ .@bagistr=(readparam(bAgi, killedrid)*2)+readparam(bDex, killedrid);
+ //.@b2=readparam(MaxHp, killedrid);
+ if (.@bagistr > 20)
+ if (rand(0,250) < readparam(bLuk)+readparam(bLuk, killedrid))
+ getitem BottledDust, 1;
} else {
// Anywhere else
// You get 0.5 times killed player level, and 0 times job level