Jump to content
  • 0

instant job changer per char


Question

1 answer to this question

Recommended Posts

  • 0
Posted

Just edit this thing. It should be able to do what you want to do, just modify it as you see fit.

 

//Level Ticket
//Modified by Panda

prontera,165,163,3	script	Novice Enchantress	521,{


cutin "shaloshi04.bmp",2;

if( Class != 0 ){ mes "[ ^FF0000Novice Enchantress^000000 ]"; mes "You are UGLY!"; mes "I only talk to cute little novices!"; close2; cutin "",255; }
if(countitem(30027) < 1){
	mes "[ ^FF0000Novice Enchantress^000000 ]";
	mes "Do you wish to level up instantly?";
	mes "Do you want to purchase our ^FF0000Level Ticket^000000?";
	next;
	mes "[ ^FF0000Novice Enchantress^000000 ]";
	mes "One ticket costs 150 Flake Points.";
	mes "Proceed with purchase?";
	menu "Yes",-;
		if(#FKPoints < 150){ mes "You don't have enough Flake Points."; close2; cutin "",255; end;}
	next;
	mes "[ ^FF0000Novice Enchantress^000000 ]";
	mes "Perfect!";
	mes "Here you are!";
	mes "Thank you for your purchase.";
	set #FKPoints,#FKPoints - 150;
	getitem 30027,1;
	close2;
	cutin "",255;
	end;
}

mes "[ ^FF0000Novice Enchantress^000000 ]";
mes "Welcome to ^FF0000FlakesRO^000000";
mes "I am here to assist you.";
mes "Choose your class and join the adventure.";
next;
	.@i = select( .Menu$ ) - 1;
	if( select( "Change to "+jobname( .JobList[.@i] )+"?:Cancel" ) == 1 ){
		jobchange .JobList[.@i];
		BaseLevel = .BaseLevel;
		JobLevel = .JobLevel;
		resetskill;
		resetstatus;
		set SkillPoint, 107;
		mes "[ ^FF0000Novice Enchantress^000000 ]";
		mes "Thank you for purchasing our Level Ticket.";
		mes "Talk to me again to change your class.";
		delitem 30027,1;
		close2;
		cutin "",255;
	}
end;

OnInit:
setarray .JobList[0],7,8,9,10,11,12,14,15,16,17,18,19,20;
.BaseLevel = 99;
.JobLevel = 50;

.@size = getarraysize( .JobList );
for( .@i = 0; .@i < .@size; .@i++ )
	.Menu$ = .Menu$ + jobname( .JobList[.@i] )+":";
	
waitingroom "Disabled",0;
	
/*
	reload:
	delwaitingroom;
	waitingroom "Want Instant Level?",0;
	sleep2 3000;
	delwaitingroom;
	waitingroom "Grab our Level Tickets!",0;
	sleep2 3000;
	delwaitingroom;
	waitingroom "Purchase them now!",0;
	sleep2 3000;
	goto reload;
*/
	
end;

}

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