From 350a923922924e0096679e90f722b55356612c57 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 10 Jan 2019 09:49:01 -0200 Subject: Experience gain for PVP on: 001-8, 001-10 and 003-13 --- npc/functions/mobpoint.txt | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to 'npc/functions/mobpoint.txt') 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; -- cgit v1.2.3-60-g2f50