Jump to content
  • 0

Modify this Script


SlashGeeGee

Question


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

Hello rAthena. 

 

I've got this freebies script which turns the player into 1st class jobs only. what I want to be modified is when he selected "Swordsman Class" he will be asked again to chose between "Lord Knight" and "Paladin". the same goes for other classes like Merchant Class . to "Blacksmith" or "Creator" and so on. lastly it gives base 99 and job 70 lvl. and the normal skills points for this job.

 

here's my script:

 

 
        mes .@n$;
        mes "Good Luck on your adventure Citizen of Midgard !";
        mes "Which path do you wish to take?";
        switch(select("^76EE00Swordman^000000:^76EE00Archer^000000:^76EE00Magician^000000:^76EE00Acolyte^000000:^76EE00Merchant^000000:^76EE00Thief^000000"))    {
            case 1://Swordsman
            jobchange 4002;
            getitem 12256,1;
            break;
            
            case 2://Archer
            jobchange 4004;
            getitem 12256,1;
            break;
                
            case 3://Mage
            jobchange 4003;
            getitem 12256,1;
            break;
            
            case 4://Acolyte
            jobchange 4005;
            getitem 12256,1;
            break;
            
            case 5://Merchant
            jobchange 4006;
            getitem 12256,1;
            break;
            
            case 6://Thief
            jobchange 4007;
            getitem 12256,1;
            break;
        }
        getitem 12214,5;          // Convex mirror 5pcs.
        getitem 12210,5;      // Bubble gum 5pcs.
        getitem 12263,5;     // Manual 5pcs.
        set baselevel,99;
        set joblevel,50;
        skill 1,9,0;
        set #New_Player,1;
        next;
        mes .@n$;
        mes "Start your awesome journey today.";
        mes "If you need help. Please search for  GM Team. Thank You.";
        cutin "",255;
        close;
    }
    end;


BUMP !

Edited by SlashGeeGee
Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  


prontera,155,180,5 script Sample 757,{

.@job = select( "Swordman","Mage","Archer","Acolyte","Merchant","Thief" );

.@eac = eaclass( .@job );

setarray .@job,roclass( .@eac|EAJL_2_1|EAJL_UPPER ),roclass( .@eac|EAJL_2_2|EAJL_UPPER );

.@i = select( jobname( .@job[0] ),jobname( .@job[1] ) ) - 1;

jobchange .@job[.@i];

BaseLevel = 99;

JobLevel = 70;

SkillPoint = ( 9 + 49 + 69 );

mes "Done";

close;

}

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Refer in db/const.txt for jobchange

Job_Novice_High	4001
Job_Swordman_High	4002
Job_Mage_High	4003
Job_Archer_High	4004
Job_Acolyte_High	4005
Job_Merchant_High	4006
Job_Thief_High	4007
Job_Lord_Knight	4008
Job_High_Priest	4009
Job_High_Wizard	4010
Job_Whitesmith	4011
Job_Sniper	4012
Job_Assassin_Cross	4013
Job_Lord_Knight2	4014
Job_Paladin	4015
Job_Champion	4016
Job_Professor	4017
Job_Stalker	4018
Job_Creator	4019
Job_Clown	4020
Job_Gypsy	4021
Job_Paladin2	4022

 

 

it gives base 99 and job 70 lvl

Refer to

 

atcommand + @lvup

                      and

JobLevel

SkillPoint

 

 

	if ( select("Lord Knight", "Paladin" ) == 2 )
		jobchange Job_Paladin;
	else
		jobchange Job_Lord_Knight;
	atcommand "@lvup 99";
	JobLevel = 70;
	SkillPoint = 69;

~something like that

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

something like this ?

refer post#5

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

something like this ?

.@job = select( "Swordman","Mage","Archer","Acolyte","Merchant","Thief" );
.@eac = eaclass( .@job );
.@job_1 = roclass( .@eac|EAJL_2_1|EAJL_UPPER );
.@job_2 = roclass( .@eac|EAJL_2_2|EAJL_UPPER );
.@i = select( jobname( .@job_1 ),jobname( .@job_2 ) );
jobchange getd( ".@job_"+@i );
BaseLevel = 99;
JobLevel = 70;
SkillPoint = ( 9 + 49 + 69 );
mes "Done"; 

 

How can I integrate this to my script ? If the players select's swordsman. he will be asked again to what job change he want it's either Lord Knight or Paladin.

thanks :D

 

SlashGeeGee

BUMP !

Link to comment
Share on other sites

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.

×
×
  • Create New...