- script points#pvpmap -1,{
end;
OnPCKillEvent:
if ( strcharinfo(3) == "guild_vs1" || strcharinfo(3) == "guild_vs2" || strcharinfo(3) == "guild_vs3" ){
set @BPOINTS, @BPOINTS +1; // kill points per kill
set #BPOINTS,#BPOINTS+2;
atcommand "@effect 131";
dispbottom "You have gained 2 [Battle Points]. Total is "+#BPOINTS+" Battle Points.";
if(@BPOINTS==5) { //Every 5 Points Gained +1
//special effects
set @BPOINTS,0;
atcommand "@effect 8";
set #BPOINTS,#BPOINTS+1;
dispbottom "You have gained 1 Bonus [Battle Points] from killing 5 Straight. Total is "+#BPOINTS+" Battle Points.";
}
end;
}
OnPCDieEvent:
if ( strcharinfo(3) == "guild_vs1" || strcharinfo(3) == "guild_vs2" || strcharinfo(3) == "guild_vs3" ){
dispbottom "You have gained -2 [Battle Points]. Total is "+#BPOINTS+" Battle Points.";
set #BPOINTS,#BPOINTS-2;
set @BPOINTS, @BPOINTS -1;
atcommand "@effect 170";
end;
}
}