diff options
Diffstat (limited to 'npc/functions/mobpoint.txt')
-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; |