diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-03-14 21:52:47 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-03-14 21:52:47 -0300 |
commit | 3594e03ad08431784654d23f98ad9893c3267a39 (patch) | |
tree | 34dbf4fd57e696580310ff8d17744dd735990a8b | |
parent | 2032d681bfd4f7671a74fc54b9f310de91a98978 (diff) | |
download | serverdata-3594e03ad08431784654d23f98ad9893c3267a39.tar.gz serverdata-3594e03ad08431784654d23f98ad9893c3267a39.tar.bz2 serverdata-3594e03ad08431784654d23f98ad9893c3267a39.tar.xz serverdata-3594e03ad08431784654d23f98ad9893c3267a39.zip |
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!!!
-rw-r--r-- | npc/functions/mobpoint.txt | 8 |
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 |