Jump to content
  • 0

Skill point seller + switch class + reset skill


Question

Posted (edited)

can i request an npc that has this type of function :



menu "Buy / Sell Skill Point" - "Switch Class" - "Reset Skill"


buy skill points - 1m per 1 skill points
sell skill points - 100k per 1 skill points

switch class - 

#1 only trans and expanded job can use this one ( LK, Stalk, HP, HW, Ninja, Star Glad, Soul Linker, Gunslinger and Supernovice and ETC. ) -->> no taekwon/2nd class/1st class/novice

#2 if you bought 10 extra skill points from the 1st option. you get it when you switch class.

like for example :
LK(127 skill points = default ) + bought 10 extra skill points -->> switching to gunslinger.

after the switch i get the default skill points for the gunslinger which is 78 and my extra 10 skill points so that makes a total of 88.

now if during on my gunslinger time i decided to sell my 5 skill points. when i switch to stalker i would get the 127 default skill points + the 5 skill points.

 

reset skill -

if i reset my skill i need to still have the extra skill points i bought. =3

Edited by caspa

7 answers to this question

Recommended Posts

Posted


prontera,150,150,5 script Test 123,{

set .buy,1000000;

set .sell,100000;

set .reset,5000;

switch(select("Buy Skill Points:Sell Skill Points:Reset Skill")){

case 1:

mes "How many skill points you want to buy?";

input @amt,0,Zeny/.buy;

if( @amt == 0 ) close;

next;

mes "Gained "+@amt+" Skill Points.";

set SkillPoint,SkillPoint + @amt;

set Zeny, Zeny - ( @amt * .buy );

close;

case 2:

mes "How many skill points you want to sell?";

input @amt,0,SkillPoint;

if( @amt == 0 ) close;

next;

mes "There you go!";

set SkillPoint,SkillPoint - @amt;

set Zeny, Zeny + ( @amt * .sell );

close;

case 3:

mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";

set Zeny, Zeny - ( .reset );

ResetSkill;

close;

}

}

Posted
prontera,150,150,5	script	Test	123,{
set .buy,1000000;
set .sell,100000;
set .reset,5000;
switch(select("Buy Skill Points:Sell Skill Points:Reset Skill")){
	case 1:
		mes "How many skill points you want to buy?";
		input @amt,0,Zeny/.buy;
		if( @amt == 0 ) close;
		next;
		mes "Gained "+@amt+" Skill Points.";
		set SkillPoint,SkillPoint + @amt;
		set Zeny, Zeny - ( @amt * .buy );
		close;
	case 2:
		mes "How many skill points you want to sell?";
		input @amt,0,SkillPoint;
		if( @amt == 0 ) close;
		next;
		mes "There you go!";
		set SkillPoint,SkillPoint - @amt;
		set Zeny, Zeny + ( @amt * .sell );
		close;
		
	case 3:
		mes "Alright, here we go now.. Remember, changes won't take effect until you log back on!";
		set Zeny, Zeny - ( .reset );
		ResetSkill;
		close;
	
	}
}

Thank you for fast reply but that's not what i'm looking for.

Posted

what about the switch class boss em? is there a way you cAn implement the extra skill points i bought from the skill point sell into switching? 


this is your switch class script from long ago

mes "[ Job Support ]";
mes "Please select what job.";
next;
setarray .JobLists[0],4008,4009,4010,4011,4012,4013,4015,4016,4017,4018,4019,( Sex )?"4020":"4021";
for( set .@i,0; .@i < getarraysize( .JobLists ); set .@i,.@i + 1 ){
  set .@Menu$,.@Menu$ + (( Class != .JobLists[.@i] )?jobname( .JobLists[.@i] ):"")+":";
  }
set .@i,select( .@Menu$ ) - 1;
 
jobchange .JobLists[.@i];
resetskill;
set JobLevel,70;
set SkillPoint,127;
mes "[ Job Support ]";
set Zeny,zeny-3000000;
mes "You switch into a ^FF0000"+jobname( Class )+"^000000 Class.";
}
close;


not sure is it like this the way you want..

i didnt try the script..

http://pastebin.com/raw.php?i=sPXVYeps

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