Jump to content
  • 0

Mini and MVP Boss CashPoint


Question

Posted

request a script please.

a script that when you kill a mini or mvp boss you can gain a cashpoint and its a random for every MINIBOSS can gain around 50-150 and then every MMVP can gain around 100-500

6 answers to this question

Recommended Posts

Posted
-    script    gvubhnji    -1,{
OnNPCKillEvent:
   if( killedrid && ( getmonsterinfo(killedrid, 21) & 0x0020 ) && ( killedrid <= 3000 ) ) {
       if( getmonsterinfo(killedrid, 22) )
           .@R = rand( 100, 500 );//-- MVP
       else
           .@R = rand( 50, 150 );//-- MINIBOSS
       #CASHPOINTS = #CASHPOINTS + .@R;
       dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points."; }
   end;
}

  • 2
Posted


- script gvubhnji -1,{

OnNPCKillEvent:

if( getmonsterinfo(killedrid, 21) & 0x0020 ) {

if( getmonsterinfo(killedrid, 22) )

.@R = rand( 100, 500 );//-- MVP

else

.@R = rand( 50, 150 );//-- MINIBOSS

}

else

.@R = rand( 10,100 );//-- normal monster

#CASHPOINTS = #CASHPOINTS + .@R;

dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points.";

end;

}

  • Upvote 1
  • -1
Posted
On 10/20/2013 at 9:23 PM, Capuche said:

 



 

- script gvubhnji -1,{

OnNPCKillEvent:

if( getmonsterinfo(killedrid, 21) & 0x0020 ) {

if( getmonsterinfo(killedrid, 22) )

.@R = rand( 100, 500 );//-- MVP

else

.@R = rand( 50, 150 );//-- MINIBOSS

}

else

.@R = rand( 10,100 );//-- normal monster

#CASHPOINTS = #CASHPOINTS + .@R;

dispbottom "Gained : "+ .@R +" points. Total : "+ #CASHPOINTS +" points.";

end;

}

 

capuche how to include 1 party in your script??

Join the conversation

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

Guest
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...