summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-10 13:16:13 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-10 13:16:13 -0300
commitb356d2ee2f7522aa1cb6bac755b636ccc53c5dc0 (patch)
treed76446e38ba31b5352bc6a32d17a10f48225d024
parent3428c42f3acbd3e6661d92d988c1cdefaa42264f (diff)
downloadserverdata-b356d2ee2f7522aa1cb6bac755b636ccc53c5dc0.tar.gz
serverdata-b356d2ee2f7522aa1cb6bac755b636ccc53c5dc0.tar.bz2
serverdata-b356d2ee2f7522aa1cb6bac755b636ccc53c5dc0.tar.xz
serverdata-b356d2ee2f7522aa1cb6bac755b636ccc53c5dc0.zip
COD Boss Room PvP: Use readparam2(), give 33% chance to get two bottles.
It's kinda pointless it is being so cooperative :3
-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