From 3594e03ad08431784654d23f98ad9893c3267a39 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 14 Mar 2019 21:52:47 -0300 Subject: Estimulate PK on CoD by allowing BottledDust drop from PK'ed players. A check for kills on "defenseless" chars (status-based) is performed. The % chance to get is based on Luck of you and the target. You could get 10 bottles by exploiting this. ¡¡¡Only applies on boss room!!! MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- npc/functions/mobpoint.txt | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'npc/functions') 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 -- cgit v1.2.3-60-g2f50