youtube Posted July 19, 2013 Posted July 19, 2013 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. Quote
Capuche Posted July 20, 2013 Posted July 20, 2013 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; Quote
Capuche Posted July 19, 2013 Posted July 19, 2013 Try the multi currency shop of Emistry I believe it works on ea http://rathena.org/board/files/file/2504-multi-currency-shop/ 1 Quote
youtube Posted July 20, 2013 Author Posted July 20, 2013 your script like donation npc need itemi mean point not item master Quote
Question
youtube
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.
3 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.