Jump to content
  • 0

MVP Kill Points


Question

Posted

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

  • 0
Posted
-	script	MonsterKill	-1,{
OnNPCKillEvent:
	if( getmonsterinfo(killedrid, MOB_MVPEXP) ){
	set #MVPPoint,#MVPPoint+1;
	dispbottom "Gained 1 MVP Points. Total : "+ #MVPPoint +" MVP Points.";
	}
}

 

  • Upvote 1
  • 0
Posted

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

  • 0
Posted

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.";
	}
}

 

  • 0
Posted
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 :)

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