Code:
/*
* prestige
*/
case 3000:
sendNpcChat2("Hi. I'm the master of prestige.", "What can I help you with?", c.npcType, "Prestige Master");
c.nextChat = 3001;
break;
case 3001:
sendOption4("What is 'prestige'?", "What are the rewards for prestige?", "I'd like to prestige.", "Open Prestige Shop");
c.dialogueAction = 3001;
break;
case 3002:
sendNpcChat4("Prestige is an optional choice you can", "make once you reach 99 in @whi@Prayer, @dbl@Magic, @dre@Range, @red@HP,",
"@bla@and all @or2@Melee@bla@ stats, however, it will reset all of those stats", "in exchange for a level. You also cant be a rookie mode account.", c.npcType, "Prestige Master");
c.nextChat = 3001;
break;
case 3003:
sendNpcChat4("The rewards for prestige are a", "prestige title, the ability to access", "my prestige shop, and a 0.3%",
"better drop rate from monsters.",
c.npcType, "Prestige Master");
c.nextChat = 3001;
break;
case 3004:
sendNpcChat2("So you want to prestige?", "Very well, let me check if you're eligible.", c.npcType, "Prestige Master");
c.nextChat = 3005;
break;
case 3005:
c.checkCBPrestigeReq();
if (!c.isMaxed)
sendDialogues(3006, c.npcType);
else
sendDialogues(3007, c.npcType);
if (c.prestigeLevel >= 100)
sendDialogues(3012, c.npcType);
break;
case 3006:
sendNpcChat2("Unfortunately, you're not eligible for prestige.", "Come back when you have the required 99s, and is not a rookie.", c.npcType, "Prestige Master");
c.nextChat = 3001;
break;
case 3007:
sendNpcChat3("It looks like you're eligible to prestige.", "Are you @red@sure@bla@ you want to prestige?", "Your account's combat stat's @red@will@bla@ get reseted.", c.npcType, "Prestige Master");
c.nextChat = 3008;
break;
case 3008:
c.dialogueAction = 3008;
sendOption2("Yes, I'd like to prestige.", "No, not at this time.");
break;
case 3009:
if (c.getItems().hasEquipment()) {
c.sendMessage("Please remove all equipment before prestiging!");
sendDialogues(3010, c.npcType);
}
if (!c.getItems().hasEquipment()) {
c.getPA().enterPrestige();
}
break;
case 3010:
sendNpcChat2("Please remove all equipment before prestiging.", "After you do, talk to me again.", c.npcType, "Prestige Master");
c.nextChat = 0;
break;
case 3011:
sendNpcChat2("You've prestiged.", "Your prestige level is now "+c.prestigeLevel+".", c.npcType, "Prestige Master");
c.nextChat = 0;
break;
case 3012:
sendNpcChat2("Unfortunately, you cannot prestige. You have achieved", "the maximum amount of prestige levels.", c.npcType, "Prestige Master");
c.nextChat = 0;