Where does this exemption token code go?
Quote:
Hey,
These are the original dialogues of the npc in retail co, I will be updating this post with more functions of the npc and I will be working on the complete quest too.
[ExemptionToken]
[TheNPC]Code:[COLOR="Red"]#region ExemptionToken case 723701: { if (Reborns == 1) { if (Level > 120) { CanSecondReborn = true; MyClient.AddSend(Packets.ChatMessage(0, "SYSTEM", Name, "[SYSTEM] You used the ExemptionToken, please continue at Alex(436, 311) at ApeCity to Second reborn.", 2005, Mesh)); } else { MyClient.AddSend(Packets.ChatMessage(0, "SYSTEM", Name, "[SYSTEM] You have to reach level 120 to second reborn.", 2005, Mesh)); } } else if (Reborns == 0) { MyClient.AddSend(Packets.ChatMessage(0, "SYSTEM", Name, "[SYSTEM] You aren't first reborn yet.", 2005, Mesh)); } break; } #endregion[/COLOR]
Code:#region Alex case 3600:// Alex { if (Control == 0) { Text("You are eligible for second rebirth, but you need to complete a great quest to", GC); Text("eliminate the evil and save the Sorrowfoul souls in EvilAbyss first. After second", GC); Text("rebirth, you can learn Bless and and bear unique aura, and enjoy many benefits", GC); Link("What quest", 1, GC); Link("I've got the exemptiontoken", 3, GC); Link("I dont wan't second rebirth.", 255, GC); End(GC); } else if (Control == 1) { Text("You need to go through many tests in Evil Abyss. It is a very dangerous quest, moreover, after you complete your second rebirth, you ", GC); Text("will start a new and pay trible efforts to level up. You had better think it over before you make such vital decisions.", GC); Link("I decide to take this quest", 2, GC); Link("I don't want to risk my life.", 255, GC); End(GC); } else if (Control == 2) { GC.MyChar.Teleport(1700, 609, 643); End(GC); } else if (Control == 3) { if (GC.MyChar.CanSecondReborn) { if (GC.MyChar.Level > 120) { Text("While going through the rebirth you can change your class if you'd like.", GC); Text("What class would you like to reborn to?", GC); Link("Trojan", 11, GC); Link("Warrior", 21, GC); Link("Archer", 41, GC); Link("Water Taoist", 132, GC); Link("Fire Taoist", 142, GC); Link("Ninja", 51, GC); End(GC); } else { Text("You have to reach level 120 first, before you can second reborn.", GC); End(GC); } } else { Text("You have to use the ExemptionToken first.", GC); Link("I see.", 255, GC); End(GC); } } else if (Control > 11 && Control == 144) { int job = Control; GC.MyChar.RebornCharacter((byte)job); } } break; #endregion
Press thanks if it helped.