Jump to content
  • 0

MVP cashPoint


youtube

Question


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  171
  • Reputation:   0
  • Joined:  06/19/13
  • Last Seen:  

OnNpcKillEvent:
    if ( getmonsterinfo(killedrid,MOB_MVPEXP) > 0 ) { // Mob MVP exp > 0 means MvP
        dispbottom "You killed "+rid2name(killedrid)+"!";
        set #MVPPOINTS, #MVPPOINTS + 1; // +1 MVP Points if you kill a MVP.
        end;
    }

 

how can create a npc point. for MVP point every killed MVP got 1 point then can trade the point to item.

im usang EA Svn.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

you can trade some points vs some item with the script

// Menu Selection
select("Shop 1","Shop 2","Shop 3");

replace to

// Menu Selection
select("","","Shop 3");

 

and in case 3 set your items vs varaible

		Case 3:
			// Currency [ Item ID / Variable Name ]
			set @Currency$,"#CASHPOINTS";
			// Item ID Lists
			setarray @ItemLists[0],2306,2302,2303,2304,2305,2301;
			// Item Price
			setarray @ItemCost[0],20,22,34,445,52,641;
			break;

replace to

		Case 3:
			// Currency [ Item ID / Variable Name ]
			set @Currency$,"#MVPPOINTS";// your variable need
			// Item ID Lists
			setarray @ItemLists[0],2306,2302,2303,2304,2305,2301;
			// Item Price
			setarray @ItemCost[0],20,22,34,445,52,641;
			break;
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Try the multi currency shop of Emistry I believe it works on ea

http://rathena.org/board/files/file/2504-multi-currency-shop/

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  74
  • Topics Per Day:  0.02
  • Content Count:  171
  • Reputation:   0
  • Joined:  06/19/13
  • Last Seen:  

your script like donation npc need item
i mean point not item master

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