viewing paste PvP Points [DaemonSpade E | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
-   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;
    }
    }
Viewed 568 times, submitted by Guest.