summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/mobpoint.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt
index 81c2030d7..224515bf1 100644
--- a/npc/functions/mobpoint.txt
+++ b/npc/functions/mobpoint.txt
@@ -89,11 +89,11 @@ OnPCKillEvent:
} else if (compare(.@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);
+ .@bagistr=(readparam2(bAgi, killedrid)*2)+readparam2(bDex, killedrid);
//.@b2=readparam(MaxHp, killedrid);
if (.@bagistr > 20)
- if (rand(0,250) < readparam(bLuk)+readparam(bLuk, killedrid))
- getitem BottledDust, 1;
+ if (rand2(0,250) < readparam2(bLuk)+readparam2(bLuk, killedrid))
+ getitem BottledDust, any(1,1,2);
} else {
// Anywhere else
// You get 0.5 times killed player level, and 0 times job level