The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
Specific Job Changer
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Light
Hi Guys, Need your help
[spoiler=Script]iz_ac01,100,39,4 script Captain Joe 470,{
if (BaseJob != Job_Swordman) {
if (BaseJob == Job_Knight) {
mes "Ah, a member of our Chivalry.";
mes "I hope you are living up to my expectations. We have vowed to be strong for our kingdom, even if death is upon us...";
mes "What brings you here?";
next;
switch(select("I want to change my job to a Knight.:Just visiting.")) {
case 1:
mes "[Captain Joe]";
mes "I see.";
mes "A Knight?, you say?";
mes "You've come to the right place, "+((Sex)?"lad":"lass")+".";
mes "but you dont need any quest if you want to become one!";
mes "I sense great honor and pride in you so I can change you now into a knight.";
next;
callfunc "Job_Change",Job_Knight;
callfunc "F_ClearJobVar"; // Clears all job variables for the current player
mes "[Captain Joe]";
mes "I hereby declare";
mes "you a member of";
mes "the Prontera Chivalry.";
mes "Protect the weak and";
mes "live with honor.";
next;
getitem 656,7; //Awakening_Potion
mes "[Captain Herman]";
mes "Oh...";
mes "We have prepared a small gift to congratulate you on your job change. Please use it when you are in battle as you honorably protect others.";
next;
mes "[Captain Herman]";
mes "Go forth!";
mes "The future of";
mes "Rune-Midgard";
mes "rests on your";
mes "shoulders!";
close;
case 2:
mes "[Captain Herman]";
mes "Ah, I see you can look around here for some quest in the mean time";
mes "Good luck, Honorable Knight.";
close;
}
else (BaseClass == Job_Novice) {
mes "Welcome,";
mes "this is the";
mes "Prontera Chivalry.";
mes "What brings you here?";
next;
switch(select("I want to change my job to Swordman.:I want to change my job to a Knight.:Just visiting.")) {
case 1:
mes "[Captain Joe]";
mes "I see.";
mes "A Swordman, you say?";
mes "You've come to the right place, "+((Sex)?"lad":"lass")+".";
mes "but you dont need any quest if you want to become one!";
mes "I sense great honor and pride in you so I can change you now into a swordsman.";
next;
callfunc "Job_Change",Job_Swordsman;
callfunc "F_ClearJobVar"; // Clears all job variables for the current player
mes "[Captain Joe]";
mes "I hereby declare";
mes "you a member of";
mes "the Prontera Chivalry.";
mes "Protect the weak and";
mes "live with honor.";
next;
getitem 656,7; //Awakening_Potion
mes "[Captain Herman]";
mes "Oh...";
mes "We have prepared a small gift to congratulate you on your job change. Please use it when you are in battle as you honorably protect others.";
next;
mes "[Captain Herman]";
mes "Go forth!";
mes "The future of";
mes "Rune-Midgard";
mes "rests on your";
mes "shoulders!";
close;
case 2:
mes "[Captain Herman]";
mes "Ah, I see that you have great ambition. But you must first become a Swordman before becoming";
mes "a Knight. One step at a time...";
next;
mes "[Captain Herman]";
mes "First, visit the Swordman guild in Izlude. Then, come visit us again once you have become a well experienced Swordman.";
close;
case 3:
mes "[Captain Herman]";
mes "Aha~";
mes "You must have lots of free time. Why don't you go hunt some monsters instead of wandering about aimlessly?";
close;
}
}
else {
mes "Welcome. We, the proud Knights of the Prontera Chivalry, will give our lives for king and country! Please enjoy your stay.";
close;
}
}
}
}
Clicking the NPC doesnt do anything. Help thanks in advance
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.