skymia Posted September 19, 2017 Posted September 19, 2017 Hello Sir, any one have a script like this? Every time you kill a MVP monster you will have 1 MVP points and if you kill 50 MVP thats 50 MVP pts. you can exchange MVP pts into NPC.. you can exchange for items example: 1 VIP Tickets= 20 MVP pts Custom Old Card Album = 10 MVP pts 1 Credits(Zeny) = 1 MVP pts Hope someone have this script already.. TIA Quote
0 Syzygy Posted September 19, 2017 Posted September 19, 2017 - script MonsterKill -1,{ OnNPCKillEvent: if( getmonsterinfo(killedrid, MOB_MVPEXP) ){ set #MVPPoint,#MVPPoint+1; dispbottom "Gained 1 MVP Points. Total : "+ #MVPPoint +" MVP Points."; } } 1 Quote
0 skymia Posted September 19, 2017 Author Posted September 19, 2017 How to make npc that can exchange MVP pts into Items. you can exchange for items example: 1 VIP Tickets= 20 MVP pts Custom Old Card Album = 10 MVP pts 1 Credits(Zeny) = 1 MVP pts Quote
0 SpiritD Posted September 19, 2017 Posted September 19, 2017 You have to set up your coordinates and your prizes item ID. Otherwise, this should work well MAP,X,Y,Z script MVP Points#spiritD SPRITE,{ if (#MVPPoint < 1){ mes "You don't have any MVP Points."; close; } mes "You have "+#MVPPoint+" MVP Points."; mes "Would you like to purchase items?"; switch(select("No thanks:Yes please")){ case 1: close; case 2: switch(select("Cancel:1 VIP Ticket (20 pts):Old Card Album (10 pts):50k Zeny (1 pt)")){ case 1: close; case 2: if (#MVPPoint >= 20) { #MVPPoint = #MVPPoint - 20; getitem <YOUR_ITEM>,1; //VIP TICKET end; } else { mes "You don't have enough points"; close; } case 3: if (#MVPPoint >= 10) { #MVPPoint = #MVPPoint - 10; getitem <YOUR_ITEM>,1; //OLD CARD ALB end; } else { mes "You don't have enough points"; close; } case 4: if (#MVPPoint >= 1) { #MVPPoint = #MVPPoint - 1; Zeny = Zeny + 50000; end; } else { mes "You don't have enough points"; close; } } } } - script MonsterKill -1,{ OnNPCKillEvent: if( getmonsterinfo(killedrid, MOB_MVPEXP) ){ set #MVPPoint,#MVPPoint+1; dispbottom "Gained 1 MVP Points. Total : "+ #MVPPoint +" MVP Points."; } } Quote
0 skymia Posted September 19, 2017 Author Posted September 19, 2017 3 hours ago, SpiritD said: You have to set up your coordinates and your prizes item ID. Otherwise, this should work well MAP,X,Y,Z script MVP Points#spiritD SPRITE,{ if (#MVPPoint < 1){ mes "You don't have any MVP Points."; close; } mes "You have "+#MVPPoint+" MVP Points."; mes "Would you like to purchase items?"; switch(select("No thanks:Yes please")){ case 1: close; case 2: switch(select("Cancel:1 VIP Ticket (20 pts):Old Card Album (10 pts):50k Zeny (1 pt)")){ case 1: close; case 2: if (#MVPPoint >= 20) { #MVPPoint = #MVPPoint - 20; getitem <YOUR_ITEM>,1; //VIP TICKET end; } else { mes "You don't have enough points"; close; } case 3: if (#MVPPoint >= 10) { #MVPPoint = #MVPPoint - 10; getitem <YOUR_ITEM>,1; //OLD CARD ALB end; } else { mes "You don't have enough points"; close; } case 4: if (#MVPPoint >= 1) { #MVPPoint = #MVPPoint - 1; Zeny = Zeny + 50000; end; } else { mes "You don't have enough points"; close; } } } } - script MonsterKill -1,{ OnNPCKillEvent: if( getmonsterinfo(killedrid, MOB_MVPEXP) ){ set #MVPPoint,#MVPPoint+1; dispbottom "Gained 1 MVP Points. Total : "+ #MVPPoint +" MVP Points."; } } thanks sir i would try this later after work Quote
Question
skymia
Hello Sir,
any one have a script like this?
Every time you kill a MVP monster you will have 1 MVP points and if you kill 50 MVP thats 50 MVP pts.
you can exchange MVP pts into NPC..
you can exchange for items example:
1 VIP Tickets= 20 MVP pts
Custom Old Card Album = 10 MVP pts
1 Credits(Zeny) = 1 MVP pts
Hope someone have this script already.. TIA
5 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.