DB improvement + 2nd job info
Fixed a major performance problem with installing over 10000 threads when a given amount of accounts exists on the DB. Added information for the available 2nd jobs of the Explorers, introducing to the players the gists of each job branch.
This commit is contained in:
@@ -100,7 +100,9 @@ function action(mode, type, selection) {
|
||||
else if (status == 4)
|
||||
cm.sendNextPrev("Now, one more word of warning to you. If you fail in battle from this point on, you will lose a portion of your total EXP. Be extra mindful of this, since you have less HP than most.");
|
||||
else if (status == 5)
|
||||
cm.sendPrev("This is all I can teach you. Good luck on your journey, young Magician.");
|
||||
cm.sendNextPrev("This is all I can teach you. Good luck on your journey, young Magician.");
|
||||
else
|
||||
cm.dispose();
|
||||
} else if(actionx["2ndJob"]){
|
||||
if (status == 0){
|
||||
if (cm.haveItem(4031012))
|
||||
@@ -121,7 +123,14 @@ function action(mode, type, selection) {
|
||||
}
|
||||
}else{
|
||||
if (selection < 3){
|
||||
cm.sendNext("Not done.");
|
||||
if(selection == 0) {
|
||||
cm.sendNext("Magicians that master #rFire/Poison-based magic#k.\r\n\r\n#bWizards#k are a active class that deal magical, elemental damage. These abilities grants them a significant advantage against enemies weak to their element. With their skills #rMeditation#k and #rSlow#k, #bWizards#k can increase their magic attack and reduce the opponent's mobility. #bFire/Poison Wizards#k contains a powerful flame arrow attack and poison attack."); //f/p mage
|
||||
} else if(selection == 1) {
|
||||
cm.sendNext("Magicians that master #rIce/Lightning-based magic#k.\r\n\r\n#bWizards#k are a active class that deal magical, elemental damage. These abilities grants them a significant advantage against enemies weak to their element. With their skills #rMeditation#k and #rSlow#k, #bWizards#k can increase their magic attack and reduce the opponent's mobility. #bIce/Lightning Wizards#k have a freezing ice attack and a striking lightning attack."); //i/l mage
|
||||
} else {
|
||||
cm.sendNext("Magicians that master #rHoly magic#k.\r\n\r\n#bClerics#k are a powerful supportive class, bound to be accepted into any Party. That's because the have the power to #rHeal#k themselves and others in their party. Using #rBless#k, #bClerics#k can buff the attributes and reduce the amount of damage taken. This class is on worth going for if you find it hard to survive. #bClerics#k are especially effective against undead monsters."); //cleric
|
||||
}
|
||||
|
||||
status -= 2;
|
||||
} else
|
||||
cm.sendSimple("Now... have you made up your mind? Please choose the job you'd like to select for your 2nd job advancement. #b\r\n#L0#Wizard (Fire / Poison)\r\n#L1#Wizard (Ice / Lighting)\r\n#L2#Cleric");
|
||||
@@ -145,7 +154,7 @@ function action(mode, type, selection) {
|
||||
else if (status == 5)
|
||||
cm.sendNextPrev("I have also given you a little bit of #bSP#k. Open the #bSkill Menu#k located at the bottomleft corner. you'll be able to boost up the newer acquired 2nd level skills. A word of warning, though. You can't boost them up all at once. Some of the skills are only available after you have learned other skills. Make sure you remember that.");
|
||||
else if (status == 6)
|
||||
cm.sendNextPrev((job == 210 ? "Wizard (Fire / Poison)" : job == 220 ? "Wizard (Ice / Lighting)" : "Cleric") + " need to be strong. But remember that you can't abuse that power and use it on a weaking. Please use your enormous power the right way, because... for you to use that the right way, that is much harden than just getting stronger. Please find me after you have advanced much further. I'll be waiting for you.");
|
||||
cm.sendNextPrev((job == 210 ? "Wizard (Fire / Poison)" : job == 220 ? "Wizard (Ice / Lighting)" : "Cleric") + " need to be strong. But remember that you can't abuse that power and use it on a weakling. Please use your enormous power the right way, because... for you to use that the right way, that is much harden than just getting stronger. Please find me after you have advanced much further. I'll be waiting for you.");
|
||||
} else if (actionx["3thJobI"]){
|
||||
if (status == 0){
|
||||
if (cm.getPlayer().gotPartyQuestItem("JB3")){
|
||||
|
||||
Reference in New Issue
Block a user