diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-01-10 09:49:01 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-01-10 09:49:01 -0200 |
commit | 350a923922924e0096679e90f722b55356612c57 (patch) | |
tree | 6627fc21b2bcd80314124916de85a0e259a76353 /npc | |
parent | d67bd391745dbd6043fee6f4557a8393aa0bdabf (diff) | |
download | serverdata-350a923922924e0096679e90f722b55356612c57.tar.gz serverdata-350a923922924e0096679e90f722b55356612c57.tar.bz2 serverdata-350a923922924e0096679e90f722b55356612c57.tar.xz serverdata-350a923922924e0096679e90f722b55356612c57.zip |
Experience gain for PVP on: 001-8, 001-10 and 003-13
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/mobpoint.txt | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/npc/functions/mobpoint.txt b/npc/functions/mobpoint.txt index aa1e69436..6b9f92405 100644 --- a/npc/functions/mobpoint.txt +++ b/npc/functions/mobpoint.txt @@ -41,20 +41,26 @@ OnNPCKillEvent: // When you kill a player, some special care is needed // Only a few maps will give you experience for PK: Tulimshar's Guards Arena, -// Frostia Imperial PVP Arena, Call Of Dusty, Arena Quirino Voraz, Terranite Cave. +// Frostia Imperial PVP Arena, Call Of Dusty, Arena Quirino Voraz. OnPCKillEvent: // killedrid - // This is actually just a bunch of tests. - if (is_staff()) { - // First: Assume the killedrid is the actual Account ID - dispbottom l("ID: @@", killedrid); - .@killed$=strcharinfo(0,"error",killedrid); - dispbottom l("You murder @@ in cold blood.", .@killed$); - // Second: Assume the killedrid is actually the Char ID - .@killed$=strcharinfo(0,"error",charid2rid(killedrid)); - dispbottom l("In case of false positive, @@ was murdered.", .@killed$); - // Third: this one may crash - getexp readparam(BaseLevel, killedrid), 0; + .@m$=getmap(); + .@bxp=readparam(BaseLevel, killedrid); + .@jxp=readparam(JobLevel, killedrid); + // Quirino Voraz PVP Arena + if (.@m$ ~= "001-8") { + // You get 5 times killed player level, and 1 time job level + getexp .@bxp*5, .@jxp; + } + // Tulimshar Duel Arena + if (.@m$ ~= "ARENA" || .@m$ ~= "003-13") { + // You get 3 times killed player level, and 2 times job level + getexp .@bxp*3, .@jxp*2; + } + // Call Of Dusty + if (.@m$ ~= "001-10") { + // You get 3 times killed player level, and 3 times job level + getexp .@bxp*3, .@jxp*3; } end; |