Jump to content
  • 0

MVP Points


I want to give points for each mvp killed in desired map. Thanks in advance.

//================== Ragnarok======================

//==================Bossnia Points==================

-    script    Point_Bossnia    -1,{

        if ( getmonsterinfo( killedrid, MOB_MVPEXP ) && (strcharinfo(3) == "bossnia_01" || strcharinfo(3) == "bossnia_02" || strcharinfo(3) == "bossnia_03 || strcharinfo(3) == "bossnia_04")) {
        dispbottom "You gained "+ #BOSSNIAPOINTS +" Bossnia Points.";

        dispbottom "You currently have " + #BOSSNIAPOINTS + " Bossnia Points.";
        bindatcmd "bpoints", strnpcinfo(0) + "::OnCheckPoint";


Edited by Mael
Use a codebox
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.