Jump to content
  • 0

If kill mob can get cashpoint


erryngok

Question


  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/07/16
  • Last Seen:  

I already seach the cashpoint script, but all about pvp and mvp kill can get the cash point. Anyone can share with me script that if kill any monster in akk maps can get cash point ?

 

Thanks advanced and sorry my bad english .

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  350
  • Reputation:   43
  • Joined:  09/07/12
  • Last Seen:  

- script gvubhnji -1,{

OnNPCKillEvent:
#CASHPOINTS = #CASHPOINTS + .@R;

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

end;

OnInit:
set .@R,1; //cashpoints per kill
end;

}

this will add cashpoint for each monster killed

Edited by benching
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  350
  • Reputation:   43
  • Joined:  09/07/12
  • Last Seen:  

search for the use of

OnNPCKillEvent

and
atcommand

that will help you.
 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/07/16
  • Last Seen:  

search for the use of

OnNPCKillEvent

and

atcommand

that will help you.

 

 

I show the example script.. this one if kill mvp / mini bos.. how if if kill all mob on all maps ?

 

 

- 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;

}

Edited by erryngok
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  01/07/16
  • Last Seen:  

- script gvubhnji -1,{

OnNPCKillEvent:
#CASHPOINTS = #CASHPOINTS + .@R;

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

end;

OnInit:
set .@R,1; //cashpoints per kill
end;

}

this will add cashpoint for each monster killed

 

Thanks sir  /no1

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  01/23/21
  • Last Seen:  

On 1/19/2016 at 9:31 AM, erryngok said:

Thanks sir  /no1

what value do you change here to change how much earned per kill?

Link to comment
Share on other sites

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.

×
×
  • Create New...