Loke Posted April 1, 2021 Posted April 1, 2021 (edited) I want to give points for each mvp killed in desired map. Thanks in advance. //================== Ragnarok====================== //==================Bossnia Points================== - script Point_Bossnia -1,{ OnNPCKillEvent: if ( getmonsterinfo( killedrid, MOB_MVPEXP ) && (strcharinfo(3) == "bossnia_01" || strcharinfo(3) == "bossnia_02" || strcharinfo(3) == "bossnia_03 || strcharinfo(3) == "bossnia_04")) { set #BOSSNIAPOINTS, #BOSSNIAPOINTS + 1; dispbottom "You gained "+ #BOSSNIAPOINTS +" Bossnia Points."; end; } OnCheckPoint: dispbottom "You currently have " + #BOSSNIAPOINTS + " Bossnia Points."; end; OnInit: bindatcmd "bpoints", strnpcinfo(0) + "::OnCheckPoint"; end; } Edited April 1, 2021 by Mael Use a codebox Quote
Question
Loke
I want to give points for each mvp killed in desired map. Thanks in advance.
Use a codebox
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.