Jump to content
  • 0
Sign in to follow this  
syedbam

Changebase Job NPC

Question

hello hercules

i like to request npc change suit example like this script

but i just want make 2nd class to baby job example 

proffessor can change to baby sage

high wizard can change to baby wizard

paladin can change to baby crusader

for ninja,taekwondo,star gladiator,soulinker and gunslinger they can change to super baby

please help

 


 
// Settings
set .mode, 1; // Set it as following: 0 - Transcendent 2nd to 3rd class suits ; 1 - Transcendent 2nd to normal and baby 3rd class, also 3rd to baby 3rd; 2 - Transcendent 2nd to 3rd class suits and xmas, summer suits; 3 - 2nd to normal and baby 3rd class, also normal 3rd to baby 3rd plus xmas,summer.
 
if (.mode == 0) goto normal;
if (.mode == 1) goto babies;
if (.mode == 2) goto misc;
if (.mode == 3) goto babymisc;
 
normal:
mes "[suit Provider]";
mes "So, wanna change your appearance?";
menu "Change to 3rd class suit",thirdclass,"Reset appearance",reset;
 
babies:
mes "[suit Provider]";
mes "So, wanna change your appearance?";
menu "Change to 3rd class suit",thirdclass,"Change to 3rd class baby suit",babythirdclass,"Reset appearance",reset;
 
misc:
mes "[suit Provider]";
mes "So, wanna change your appearance?";
menu "Change to class suit",thirdclass,"Extra suits",miscsuits,"Reset appearance",reset;
 
babymisc:
mes "[suit Provider]";
mes "So, wanna change your appearance?";
menu "Change to class suit",thirdclass,"Change to 3rd class baby suit",babythirdclass,"Extra suits",miscsuits,"Reset appearance",reset;
 
thirdclass:
if(class == Job_Lord_Knight) { changebase 4060; close; end; }
if(class == Job_Assassin_Cross) { changebase 4065; close; end; }
if(class == Job_Paladin) { changebase 4073; close; end; }
if(class == Job_Whitesmith) { changebase 4064; close; end; }
if(class == Job_Creator) { changebase 4078; close; end; }
if(class == Job_Stalker) { changebase 4079; close; end; }
if(class == Job_Professor) { changebase 4074; close; end; }
if(class == Job_Gypsy) { changebase 4076; close; end; }
if(class == Job_Champion) { changebase 4077; close; end; }
if(class == Job_Sniper) { changebase 4062; close; end; }
if(class == Job_Clown) { changebase 4075; close; end; }
if(class == Job_High_Wizard) { changebase 4061; close; end; }
if(class == Job_High_Priest) { changebase 4063; close; end; }
else { next; mes "[suit Provider]"; mes "I'm sorry, but your class is not supported."; close; end; }
 
babythirdclass:
if(class == Job_Lord_Knight) { changebase 4096; close; end; }
if(class == Job_Assassin_Cross) { changebase 4101; close; end; }
if(class == Job_Paladin) { changebase 4102; close; end; }
if(class == Job_Whitesmith) { changebase 4100; close; end; }
if(class == Job_Creator) { changebase 4107; close; end; }
if(class == Job_Stalker) { changebase 4108; close; end; }
if(class == Job_Professor) { changebase 4103; close; end; }
if(class == Job_Gypsy) { changebase 4105; close; end; }
if(class == Job_Champion) { changebase 4106; close; end; }
if(class == Job_Sniper) { changebase 4098; close; end; }
if(class == Job_Clown) { changebase 4104; close; end; }
if(class == Job_High_Wizard) { changebase 4097; close; end; }
if(class == Job_High_Priest) { changebase 4099; close; end; }
if(class == Job_Rune_Knight_T) { changebase 4096; close; end; }
if(class == Job_Guillotine_Cross_T) { changebase 4101; close; end; }
if(class == Job_Royal_Guard_T) { changebase 4102; close; end; }
if(class == Job_Mechanic_T) { changebase 4100; close; end; }
if(class == Job_Genetic_T) { changebase 4107; close; end; }
if(class == Job_Shadow_Chaser_T) { changebase 4108; close; end; }
if(class == Job_Sorcerer_T) { changebase 4103; close; end; }
if(class == Job_Wanderer_T) { changebase 4105; close; end; }
if(class == Job_Sura_T) { changebase 4106; close; end; }
if(class == Job_Ranger_T) { changebase 4098; close; end; }
if(class == Job_Minstrel_T) { changebase 4104; close; end; }
if(class == Job_Warlock_T) { changebase 4097; close; end; }
if(class == Job_Arch_Bishop_T) { changebase 4099; close; end; }
else { next; mes "[suit Provider]"; mes "I'm sorry, but your class is not supported."; close; end; }
 
reset:
changebase Class;
close;
end;
 
miscsuits:
next;
mes "[suit Provider]";
mes "Which of the suits would you like to use?";
menu "Xmas suit",xmas,"Summer suit",summer;
 
xmas:
changebase 26;
close;
end;
 
summer:
changebase 27;
close;
end;
 
}
Edited by syedbam

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.