Loke Posted April 1, 2021 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 174 Reputation: 6 Joined: 12/20/11 Last Seen: July 20, 2024 Share 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 Link to comment Share on other sites More sharing options...
Question
Loke
I want to give points for each mvp killed in desired map. Thanks in advance.
Use a codebox
Link to comment
Share on other sites
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.