منتدي اكواد

منتدي اكواد (https://code.vpscairo.com/index.php)
-   تطوير سيرفرات كونكر (https://code.vpscairo.com/forumdisplay.php?f=11)
-   -   npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا (https://code.vpscairo.com/showthread.php?t=3513)

ElSaher 2020-01-30 02:16 AM

npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 

بسم الله الرحمان الراحيم

النهردا معانا npc بيعمل ابدين للشخصيه ويديك الاسكلات ويعملك رسترت بوينتس ويديك ليفل 140

صورة للتوضيح

عفواً لايمكن عرض الروابط إلا بعد الرد على الموضوع

نخش علي الاضافت

كود PHP:

                #region GiveSkill

                
case 59556:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("This Npcs Help You for Give Skills Or Updgard Class Mr.ElSaher Here");
                                    
dialog.Text("Well, anything I can help you with?");
                                    
dialog.Option("Level 140."25);
                                    
dialog.Option("Upgrade Class."22);
                                    
dialog.Option("LearnSkill."6);
                                    
dialog.Option("UpgradeStarWeapon."7);
                                    
dialog.Option("Reallot my Attribute Points."50);
                                    
dialog.Option("Restart Points."4);
                                    
dialog.Option("Just Passing By."255);
                                    
dialog.Avatar(51);
                                    
dialog.Send();
                                    break;
                                }
                            
#region Restart Point
                            
case 4:
                                {
                                    
dialog.Text("Hello " client.Entity.Name " I will help you to add your points in the Strength , Vitality , Agility , Spirit");
                                    
dialog.Text("you have to be level 140 and 2nd Reborn and Please chose your own class and leave the rest for me");
                                    
dialog.Option("Monk"88);
                                    
dialog.Option("Ninja"72);
                                    
dialog.Option("Taoist (Water/Fire)"73);
                                    
dialog.Option("WindWallker"79);
                                    
dialog.Option("Archer"74);
                                    
dialog.Option("Wariorr"75);
                                    
dialog.Option("Trojan"76);
                                    
dialog.Option("Pirate"77);
                                    
dialog.Option("Full HP"78);
                                    
dialog.Option("Full Agility"80);
                                    
dialog.Option("Wait a minute."255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
88:
                                {
                                    if (
client.Entity.Level == 140 && client.Entity.Reborn == 2)
                                    {
                                        
client.Entity.Strength 0;
                                        
client.Entity.Vitality 502;
                                        
client.Entity.Agility 36;
                                        
client.Entity.Spirit 0;
                                        
client.Entity.Atributes 0;
                                        
client.CalculateStatBonus();
                                        
client.CalculateHPBonus();
                                    }
                                    else
                                    {

                                        
dialog.Text("you have to be level 140 and 2nd Reborn ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
72:
                                {
                                    if (
client.Entity.Level == 140 && client.Entity.Reborn == 2)
                                    {
                                        
client.Entity.Strength 0;
                                        
client.Entity.Vitality 262;
                                        
client.Entity.Agility 276;
                                        
client.Entity.Spirit 0;
                                        
client.Entity.Atributes 0;
                                        
client.CalculateStatBonus();
                                        
client.CalculateHPBonus();
                                    }
                                    else
                                    {

                                        
dialog.Text("you have to be level 140 and 2nd Reborn ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
73:
                                {
                                    if (
client.Entity.Level == 140 && client.Entity.Reborn == 2)
                                    {
                                        
client.Entity.Strength 0;
                                        
client.Entity.Vitality 438;
                                        
client.Entity.Agility 0;
                                        
client.Entity.Spirit 100;
                                        
client.Entity.Atributes 0;
                                        
client.CalculateStatBonus();
                                        
client.CalculateHPBonus();
                                    }
                                    else
                                    {

                                        
dialog.Text("you have to be level 140 and 2nd Reborn ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }

                            case 
79:
                                {
                                    if (
client.Entity.Level == 140 && client.Entity.Reborn == 2)
                                    {
                                        
client.Entity.Strength 0;
                                        
client.Entity.Vitality 502;
                                        
client.Entity.Agility 36;
                                        
client.Entity.Spirit 0;
                                        
client.Entity.Atributes 0;
                                        
client.CalculateStatBonus();
                                        
client.CalculateHPBonus();
                                    }
                                    else
                                    {

                                        
dialog.Text("you have to be level 140 and 2nd Reborn ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
74:
                                {
                                    if (
client.Entity.Level == 140 && client.Entity.Reborn == 2)
                                    {
                                        
client.Entity.Strength 0;
                                        
client.Entity.Vitality 418;
                                        
client.Entity.Agility 120;
                                        
client.Entity.Spirit 0;
                                        
client.Entity.Atributes 0;
                                        
client.CalculateStatBonus();
                                        
client.CalculateHPBonus();
                                    }
                                    else
                                    {

                                        
dialog.Text("you have to be level 140 and 2nd Reborn ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
75:
                                {
                                    if (
client.Entity.Level == 140 && client.Entity.Reborn == 2)
                                    {
                                        
client.Entity.Strength 176;
                                        
client.Entity.Vitality 362;
                                        
client.Entity.Agility 0;
                                        
client.Entity.Spirit 0;
                                        
client.Entity.Atributes 0;
                                        
client.CalculateStatBonus();
                                        
client.CalculateHPBonus();
                                    }
                                    else
                                    {

                                        
dialog.Text("you have to be level 140 and 2nd Reborn ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
76:
                                {
                                    if (
client.Entity.Level == 140 && client.Entity.Reborn == 2)
                                    {
                                        
client.Entity.Strength 176;
                                        
client.Entity.Vitality 362;
                                        
client.Entity.Agility 0;
                                        
client.Entity.Spirit 0;
                                        
client.Entity.Atributes 0;
                                        
client.CalculateStatBonus();
                                        
client.CalculateHPBonus();
                                    }
                                    else
                                    {

                                        
dialog.Text("you have to be level 140 and 2nd Reborn ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
77:
                                {
                                    if (
client.Entity.Level == 140 && client.Entity.Reborn == 2)
                                    {
                                        
client.Entity.Strength 0;
                                        
client.Entity.Vitality 502;
                                        
client.Entity.Agility 36;
                                        
client.Entity.Spirit 0;
                                        
client.Entity.Atributes 0;
                                        
client.CalculateStatBonus();
                                        
client.CalculateHPBonus();
                                    }
                                    else
                                    {

                                        
dialog.Text("you have to be level 140 and 2nd Reborn ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
78:
                                {
                                    if (
client.Entity.Level == 140 && client.Entity.Reborn == 2)
                                    {
                                        
client.Entity.Strength 0;
                                        
client.Entity.Vitality 538;
                                        
client.Entity.Agility 0;
                                        
client.Entity.Spirit 0;
                                        
client.Entity.Atributes 0;
                                        
client.CalculateStatBonus();
                                        
client.CalculateHPBonus();
                                        
// client.Disconnect();
                                    
}
                                    else
                                    {

                                        
dialog.Text("you have to be level 140 and 2nd Reborn ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
80:
                                {
                                    if (
client.Entity.Level == 140 && client.Entity.Reborn == 2)
                                    {
                                        
client.Entity.Strength 0;
                                        
client.Entity.Vitality 0;
                                        
client.Entity.Agility 538;
                                        
client.Entity.Spirit 0;
                                        
client.Entity.Atributes 0;
                                        
client.CalculateStatBonus();
                                        
client.CalculateHPBonus();
                                        
//client.Disconnect();
                                    
}
                                    else
                                    {

                                        
dialog.Text("you have to be level 140 and 2nd Reborn ");
                                        
dialog.Option("I see."255);
                                        
dialog.Avatar(116);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            
#endregion
                            
case 1:
                                {
                                    
dialog.Text("Hello conqueror. You know,  there are ancient stories about a second life and many people chose not  to believe it. Even so, there are some people that believe in it, and  that inspired me to learn about it. In my study, I found out how to  reborn someone. But, in this quest, a CelestialStone may be needed. To  get one, talk with Celestine(TwinCity 365, 92).");
                                    
dialog.Option("Tell me more about it."10);
                                    
dialog.Option("Reborn me."12);
                                    
dialog.Option("Nothing thank you."255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
25:
                                {
                                    
dialog.Text("Do You Went Up Level 140.");
                                    
dialog.Option("Yes Plees."120);
                                    
dialog.Option("Nothing thank you."255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
120:
                                {
                                    {
                                        
client.Entity.Level 140;
                                    }
                                    break;
                                }
                            case 
7:
                                {
                                    if (
client.Entity.Class >= 10 && client.Entity.Class <= 15)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade StarWeapon ?.");
                                        
dialog.Option("Trojan !!"30);
                                        
//   dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 50 && client.Entity.Class <= 55)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade StarWeapon ?.");
                                        
dialog.Option("Ninja !!"31);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 40 && client.Entity.Class <= 45)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade StarWeapon ?.");
                                        
dialog.Option("Archer !!"32);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade StarWeapon ?.");
                                        
dialog.Option("Warrior !!"33);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 130 && client.Entity.Class <= 145)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade StarWeapon ?.");
                                        
dialog.Option("WaterTaoist-Fire !!"34);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 60 && client.Entity.Class <= 65)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade StarWeapon ?.");
                                        
dialog.Option("Monk !!"35);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade StarWeapon ?.");
                                        
dialog.Option("Pirate !!"36);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 80 && client.Entity.Class <= 85)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade StarWeapon ?.");
                                        
dialog.Option("Dragon-Warrior !!"37);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade StarWeapon ?.");
                                        
dialog.Option("WindWalker !!"38);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
30:
                                {
                                    if (
client.Entity.Class >= 10 && client.Entity.Class <= 15)
                                    {
                                        
SetWeaponProf(client480"NirvanaClub ");
                                        
SetWeaponProf(client410"Blade ");
                                        
SetWeaponProf(client561"Wind ");
                                        
SetWeaponProf(client420"Sword ");
                                        
SetWeaponProf(client490"Dagger ");
                                    }
                                    break;
                                }
                            case 
31:
                                {
                                    if (
client.Entity.Class >= 50 && client.Entity.Class <= 55)
                                    {
                                        
SetWeaponProf(client601"Katana");
                                        
SetWeaponProf(client561"Wind ");
                                        
SetWeaponProf(client511"Scythe");
                                        
SetWeaponProf(client410"Blade ");
                                        
SetWeaponProf(client420"Sword ");
                                    }
                                    break;
                                }
                            case 
32:
                                {
                                    if (
client.Entity.Class >= 40 && client.Entity.Class <= 45)
                                    {
                                        
SetWeaponProf(client613"KnifeArcher");
                                        
SetWeaponProf(client500"Bow");
                                        
SetWeaponProf(client561"Wind ");
                                        
SetWeaponProf(client410"Blade ");
                                        
SetWeaponProf(client420"Sword ");
                                    }
                                    break;
                                }
                            case 
33:
                                {
                                    if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                    {
                                        
SetWeaponProf(client410"Blade ");
                                        
SetWeaponProf(client420"Sword ");
                                        
SetWeaponProf(client561"Wind ");
                                        
SetWeaponProf(client624"Fist ");
                                        
SetWeaponProf(client560"Spear ");
                                    }
                                    break;
                                }
                            case 
34:
                                {
                                    if (
client.Entity.Class >= 132 && client.Entity.Class <= 135)
                                    {
                                        
SetWeaponProf(client420"Sword ");
                                        
SetWeaponProf(client561"Wind ");
                                        
SetWeaponProf(client410"Blade ");
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
35:
                                {
                                    if (
client.Entity.Class >= 60 && client.Entity.Class <= 65)
                                    {
                                        
SetWeaponProf(client610"Beads ");
                                        
SetWeaponProf(client561"Wind ");
                                        
SetWeaponProf(client410"Blade ");
                                        
SetWeaponProf(client420"Sword ");
                                    }
                                    break;
                                }
                            case 
36:
                                {
                                    if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)
                                    {
                                        
SetWeaponProf(client612"pistol");
                                        
SetWeaponProf(client611"Rapier ");
                                        
SetWeaponProf(client410"Blade ");
                                        
SetWeaponProf(client561"Wind ");
                                        
SetWeaponProf(client420"Sword ");
                                    }
                                    break;
                                }
                            case 
37:
                                {
                                    if (
client.Entity.Class >= 80 && client.Entity.Class <= 85)
                                    {
                                        
SetWeaponProf(client617"LeeLong ");
                                        
SetWeaponProf(client561"Wind ");
                                        
SetWeaponProf(client410"Blade ");
                                        
SetWeaponProf(client420"Sword ");
                                    }
                                    break;
                                }
                            case 
38:
                                {
                                    if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                    {
                                        
SetWeaponProf(client626"WindwalkerFan");
                                        
SetWeaponProf(client410"Blade ");
                                        
SetWeaponProf(client420"Sword ");
                                        
SetWeaponProf(client561"Wind ");
                                    }
                                    break;
                                }
                            case 
6:
                                {
                                    if (
client.Entity.Class >= 10 && client.Entity.Class <= 15)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("Trojan !!"200);
                                        
//   dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 50 && client.Entity.Class <= 55 && client.Entity.FirstRebornClass == 55 && client.Entity.SecondRebornClass >= 55)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("XFull~Ninja !!"201);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.SecondRebornClass == 55 && client.Entity.Class >= 50 && client.Entity.Class <= 55)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("Full~Ninja !!"213);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 50 && client.Entity.Class <= 55)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("Ninja !!"214);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 40 && client.Entity.Class <= 45)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("Archer !!"202);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("Warrior !!"203);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 132 && client.Entity.Class <= 135)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("WaterTaoist !!"204);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.SecondRebornClass == 135 && client.Entity.FirstRebornClass == 135 && client.Entity.Class >= 132 && client.Entity.Class <= 135)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("Full~WaterTaoist !!"210);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 142 && client.Entity.Class <= 145)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("FireTaoist !!"205);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 142 && client.Entity.Class <= 145 && client.Entity.FirstRebornClass == 145 && client.Entity.SecondRebornClass >= 145)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("Full~FireTaoist !!"211);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 60 && client.Entity.Class <= 65)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("Monk !!"206);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 60 && client.Entity.Class <= 65 && client.Entity.FirstRebornClass == 65 && client.Entity.SecondRebornClass >= 65)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("Full~Monk !!"221);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade Class ?.");
                                        
dialog.Option("Pirate !!"207);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 80 && client.Entity.Class <= 85)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade Class ?.");
                                        
dialog.Option("Dragon-Warrior !!"208);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 80 && client.Entity.Class <= 85 && client.Entity.FirstRebornClass == 85 && client.Entity.SecondRebornClass >= 85)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("Full~Dragon-Warrior !!"212);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("WindWalker !!"209);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class == 100)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to LearnSkill Class ?.");
                                        
dialog.Option("Plesse Upgrade Class First!!"22);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
200:
                                {
                                    if (
client.Entity.Class >= 10 && client.Entity.Class <= 15)
                                    {
                                        
client.AddSpell(LearnableSpell(1110));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(1015));
                                        
client.AddSpell(LearnableSpell(1045));
                                        
client.AddSpell(LearnableSpell(1046));
                                        
client.AddSpell(LearnableSpell(11970));
                                        
client.AddSpell(LearnableSpell(11990));
                                        
client.AddSpell(LearnableSpell(11980));
                                        
client.AddSpell(LearnableSpell(11960));
                                        
client.AddSpell(LearnableSpell(1115));
                                        
client.AddSpell(LearnableSpell(1270));
                                        
client.AddSpell(LearnableSpell(1190));

                                    }
                                    break;
                                }
                            case 
201:
                                {
                                    if (
client.Entity.Class >= 50 && client.Entity.Class <= 55 && client.Entity.FirstRebornClass == 55 && client.Entity.SecondRebornClass >= 55)
                                    {
                                        
client.AddSpell(LearnableSpell(12070));
                                        
client.AddSpell(LearnableSpell(12080));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(12090));
                                        
client.AddSpell(LearnableSpell(12110));
                                        
client.AddSpell(LearnableSpell(11230));
                                        
client.AddSpell(LearnableSpell(11170));
                                        
client.AddSpell(LearnableSpell(6011));
                                        
client.AddSpell(LearnableSpell(6002));
                                        
client.AddSpell(LearnableSpell(6003));
                                        
client.AddSpell(LearnableSpell(6010));
                                        
client.AddSpell(LearnableSpell(6001));
                                        
client.AddSpell(LearnableSpell(11180));
                                        
client.AddSpell(LearnableSpell(6004));
                                        
client.AddSpell(LearnableSpell(6000));

                                    }
                                    break;
                                }
                            case 
213:
                                {
                                    if (
client.Entity.SecondRebornClass == 55 && client.Entity.Class >= 50 && client.Entity.Class <= 55)
                                    {
                                        
client.AddSpell(LearnableSpell(12070));
                                        
client.AddSpell(LearnableSpell(12080));
                                        
client.AddSpell(LearnableSpell(12090));
                                        
client.AddSpell(LearnableSpell(12110));
                                        
client.AddSpell(LearnableSpell(11230));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(11170));
                                        
client.AddSpell(LearnableSpell(6011));
                                        
client.AddSpell(LearnableSpell(6002));
                                        
client.AddSpell(LearnableSpell(6010));
                                        
client.AddSpell(LearnableSpell(6001));
                                        
client.AddSpell(LearnableSpell(11180));
                                        
client.AddSpell(LearnableSpell(6004));
                                        
client.AddSpell(LearnableSpell(6000));

                                    }
                                    break;
                                }
                            case 
214:
                                {
                                    if (
client.Entity.Class >= 50 && client.Entity.Class <= 55)
                                    {
                                        
client.AddSpell(LearnableSpell(12070));
                                        
client.AddSpell(LearnableSpell(12080));
                                        
client.AddSpell(LearnableSpell(12090));
                                        
client.AddSpell(LearnableSpell(12110));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(11230));
                                        
client.AddSpell(LearnableSpell(11170));
                                        
client.AddSpell(LearnableSpell(6011));
                                        
client.AddSpell(LearnableSpell(6010));
                                        
client.AddSpell(LearnableSpell(6001));
                                        
client.AddSpell(LearnableSpell(11180));
                                        
client.AddSpell(LearnableSpell(6004));
                                        
client.AddSpell(LearnableSpell(6000));

                                    }
                                    break;
                                }
                            case 
202:
                                {
                                    if (
client.Entity.Class >= 40 && client.Entity.Class <= 45)
                                    {
                                        
client.AddSpell(LearnableSpell(11590));//thepower
                                        
client.AddSpell(LearnableSpell(11600));
                                        
client.AddSpell(LearnableSpell(11620));
                                        
client.AddSpell(LearnableSpell(11610));
                                        
client.AddSpell(LearnableSpell(11650));
                                        
client.AddSpell(LearnableSpell(8002));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(8003));
                                        
client.AddSpell(LearnableSpell(11660));
                                        
client.AddSpell(LearnableSpell(11670));


                                    }
                                    break;
                                }
                            case 
203:
                                {
                                    if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                    {
                                        
client.AddSpell(LearnableSpell(12670));
                                        
client.AddSpell(LearnableSpell(12770));
                                        
client.AddSpell(LearnableSpell(12690));
                                        
client.AddSpell(LearnableSpell(12700));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(12660));
                                        
client.AddSpell(LearnableSpell(1045));
                                        
client.AddSpell(LearnableSpell(12680));
                                        
client.AddSpell(LearnableSpell(1046));
                                        
client.AddSpell(LearnableSpell(1020));
                                        
client.AddSpell(LearnableSpell(11200));
                                        
client.AddSpell(LearnableSpell(10470));
                                        
client.AddSpell(LearnableSpell(1025));
                                        
client.AddSpell(LearnableSpell(11160));

                                    }
                                    break;
                                }
                            case 
204:
                                {
                                    if (
client.Entity.Class >= 132 && client.Entity.Class <= 135)
                                    {
                                        
client.AddSpell(LearnableSpell(1055));
                                        
client.AddSpell(LearnableSpell(1075));
                                        
client.AddSpell(LearnableSpell(1085));
                                        
client.AddSpell(LearnableSpell(1090));
                                        
client.AddSpell(LearnableSpell(1095));
                                        
client.AddSpell(LearnableSpell(1100));
                                        
client.AddSpell(LearnableSpell(1175));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(1170));
                                        
client.AddSpell(LearnableSpell(1050));
                                        
client.AddSpell(LearnableSpell(1000));
                                        
client.AddSpell(LearnableSpell(1005));
                                        
client.AddSpell(LearnableSpell(12370));
                                        
client.AddSpell(LearnableSpell(12390));

                                    }
                                    break;
                                }
                            case 
205:
                                {
                                    if (
client.Entity.Class >= 142 && client.Entity.Class <= 145)
                                    {
                                        
client.AddSpell(LearnableSpell(1150));
                                        
client.AddSpell(LearnableSpell(1180));
                                        
client.AddSpell(LearnableSpell(1120));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(1165));
                                        
client.AddSpell(LearnableSpell(1160));
                                        
client.AddSpell(LearnableSpell(1002));
                                        
client.AddSpell(LearnableSpell(1125));
                                        
client.AddSpell(LearnableSpell(1010));
                                        
client.AddSpell(LearnableSpell(5001));
                                        
client.AddSpell(LearnableSpell(10309));
                                        
client.AddSpell(LearnableSpell(12400));
                                        
client.AddSpell(LearnableSpell(12380));

                                    }
                                    break;
                                }
                            case 
210:
                                {
                                    if (
client.Entity.SecondRebornClass == 135 && client.Entity.FirstRebornClass == 135 && client.Entity.Class >= 132 && client.Entity.Class <= 135)
                                    {
                                        
client.AddSpell(LearnableSpell(1055));
                                        
client.AddSpell(LearnableSpell(1075));
                                        
client.AddSpell(LearnableSpell(30000));
                                        
client.AddSpell(LearnableSpell(1085));
                                        
client.AddSpell(LearnableSpell(1090));
                                        
client.AddSpell(LearnableSpell(1095));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(1100));
                                        
client.AddSpell(LearnableSpell(1175));
                                        
client.AddSpell(LearnableSpell(1170));
                                        
client.AddSpell(LearnableSpell(1050));
                                        
client.AddSpell(LearnableSpell(1000));
                                        
client.AddSpell(LearnableSpell(1005));
                                        
client.AddSpell(LearnableSpell(12370));
                                        
client.AddSpell(LearnableSpell(12390));

                                    }
                                    break;
                                }
                            case 
211:
                                {
                                    if (
client.Entity.Class >= 142 && client.Entity.Class <= 145 && client.Entity.FirstRebornClass == 145 && client.Entity.SecondRebornClass >= 145)
                                    {
                                        
client.AddSpell(LearnableSpell(1150));
                                        
client.AddSpell(LearnableSpell(1180));
                                        
client.AddSpell(LearnableSpell(1120));
                                        
client.AddSpell(LearnableSpell(10310));
                                        
client.AddSpell(LearnableSpell(1165));
                                        
client.AddSpell(LearnableSpell(1160));
                                        
client.AddSpell(LearnableSpell(1002));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(1125));
                                        
client.AddSpell(LearnableSpell(1010));
                                        
client.AddSpell(LearnableSpell(5001));
                                        
client.AddSpell(LearnableSpell(10309));
                                        
client.AddSpell(LearnableSpell(12400));
                                        
client.AddSpell(LearnableSpell(12380));

                                    }
                                    break;
                                }
                            case 
206:
                                {
                                    if (
client.Entity.Class >= 60 && client.Entity.Class <= 65)
                                    {
                                        
client.AddSpell(LearnableSpell(10490));
                                        
client.AddSpell(LearnableSpell(10395));
                                        
client.AddSpell(LearnableSpell(10410));
                                        
client.AddSpell(LearnableSpell(12550));
                                        
client.AddSpell(LearnableSpell(12560));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(12570));
                                        
client.AddSpell(LearnableSpell(10390));
                                        
client.AddSpell(LearnableSpell(10415));
                                        
client.AddSpell(LearnableSpell(10381));
                                        
client.AddSpell(LearnableSpell(10400));
                                        
client.AddSpell(LearnableSpell(10425));
                                        
client.AddSpell(LearnableSpell(10430));

                                    }
                                    break;
                                }
                            case 
221:
                                {
                                    if (
client.Entity.Class >= 60 && client.Entity.Class <= 65 && client.Entity.FirstRebornClass == 65 && client.Entity.SecondRebornClass >= 65)
                                    {
                                        
client.AddSpell(LearnableSpell(10490));
                                        
client.AddSpell(LearnableSpell(10405));
                                        
client.AddSpell(LearnableSpell(10395));
                                        
client.AddSpell(LearnableSpell(10410));
                                        
client.AddSpell(LearnableSpell(12550));
                                        
client.AddSpell(LearnableSpell(12560));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(12570));
                                        
client.AddSpell(LearnableSpell(10390));
                                        
client.AddSpell(LearnableSpell(10415));
                                        
client.AddSpell(LearnableSpell(10381));
                                        
client.AddSpell(LearnableSpell(10400));
                                        
client.AddSpell(LearnableSpell(10425));
                                        
client.AddSpell(LearnableSpell(10430));

                                    }
                                    break;
                                }
                            case 
207:
                                {
                                    if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)
                                    {
                                        
client.AddSpell(LearnableSpell(11060));
                                        
client.AddSpell(LearnableSpell(11110));
                                        
client.AddSpell(LearnableSpell(14710));
                                        
client.AddSpell(LearnableSpell(14680));
                                        
client.AddSpell(LearnableSpell(11030));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(11070));
                                        
client.AddSpell(LearnableSpell(11130));
                                        
client.AddSpell(LearnableSpell(11100));
                                        
client.AddSpell(LearnableSpell(11050));
                                        
client.AddSpell(LearnableSpell(11140));
                                        
client.AddSpell(LearnableSpell(11120));

                                    }
                                    break;
                                }
                            case 
208:
                                {
                                    if (
client.Entity.Class >= 80 && client.Entity.Class <= 85)
                                    {
                                        
client.AddSpell(LearnableSpell(12240));
                                        
client.AddSpell(LearnableSpell(12220));
                                        
client.AddSpell(LearnableSpell(12290));
                                        
client.AddSpell(LearnableSpell(12320));
                                        
client.AddSpell(LearnableSpell(12340));
                                        
client.AddSpell(LearnableSpell(12210));
                                        
client.AddSpell(LearnableSpell(12130));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(12120));
                                        
client.AddSpell(LearnableSpell(12270));
                                        
client.AddSpell(LearnableSpell(12330));
                                        
client.AddSpell(LearnableSpell(12170));
                                        
client.AddSpell(LearnableSpell(12160));
                                        
client.AddSpell(LearnableSpell(12350));
                                        
client.AddSpell(LearnableSpell(12140));
                                        
client.AddSpell(LearnableSpell(12280));
                                        
//client.AddSpell(LearnableSpell(11960));
                                        
client.AddSpell(LearnableSpell(12200));

                                    }
                                    break;
                                }
                            case 
212:
                                {
                                    if (
client.Entity.Class >= 80 && client.Entity.Class <= 85 && client.Entity.FirstRebornClass == 85 && client.Entity.SecondRebornClass >= 85)
                                    {
                                        
client.AddSpell(LearnableSpell(12240));
                                        
client.AddSpell(LearnableSpell(12300));
                                        
client.AddSpell(LearnableSpell(12220));
                                        
client.AddSpell(LearnableSpell(12290));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(12320));
                                        
client.AddSpell(LearnableSpell(12340));
                                        
client.AddSpell(LearnableSpell(12210));
                                        
client.AddSpell(LearnableSpell(12130));
                                        
client.AddSpell(LearnableSpell(12120));
                                        
client.AddSpell(LearnableSpell(12270));
                                        
client.AddSpell(LearnableSpell(12330));
                                        
client.AddSpell(LearnableSpell(12170));
                                        
client.AddSpell(LearnableSpell(12160));
                                        
client.AddSpell(LearnableSpell(12350));
                                        
client.AddSpell(LearnableSpell(12140));
                                        
client.AddSpell(LearnableSpell(12280));
                                        
// client.AddSpell(LearnableSpell(11960));
                                        
client.AddSpell(LearnableSpell(12200));

                                    }
                                    break;
                                }
                            case 
209:
                                {
                                    if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                    {
                                        
client.AddSpell(LearnableSpell(12980));
                                        
client.AddSpell(LearnableSpell(12950));
                                        
client.AddSpell(LearnableSpell(12930));
                                        
client.AddSpell(LearnableSpell(12990));
                                        
client.AddSpell(LearnableSpell(12960));
                                        
client.AddSpell(LearnableSpell(13000));
                                        
client.AddSpell(LearnableSpell(13030));
                                        
client.AddSpell(LearnableSpell(8001));
                                        
client.AddSpell(LearnableSpell(13020));
                                        
client.AddSpell(LearnableSpell(12890));
                                        
client.AddSpell(LearnableSpell(13090));
                                        
client.AddSpell(LearnableSpell(12850));
                                        
client.AddSpell(LearnableSpell(12840));
                                        
client.AddSpell(LearnableSpell(12970));
                                        
client.AddSpell(LearnableSpell(12940));
                                        
client.AddSpell(LearnableSpell(12830));
                                        
client.AddSpell(LearnableSpell(12860));
                                        
client.AddSpell(LearnableSpell(12870));

                                    }
                                    break;
                                }
                            case 
22:
                                {
                                    if (
client.Entity.Class >= 10 && client.Entity.Class <= 15)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade Class ?.");
                                        
dialog.Option("Trojan !!"100);
                                        
//   dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 50 && client.Entity.Class <= 55)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade Class ?.");
                                        
dialog.Option("Ninja !!"101);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 40 && client.Entity.Class <= 45)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade Class ?.");
                                        
dialog.Option("Archer !!"102);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade Class ?.");
                                        
dialog.Option("Warrior !!"103);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 132 && client.Entity.Class <= 135)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade Class ?.");
                                        
dialog.Option("WaterTaoist !!"104);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class == 100)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade Class ?.");
                                        
dialog.Option("WaterTaoist !!"115);
                                        
dialog.Option("FireTaoist !!"116);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 142 && client.Entity.Class <= 145)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade Class ?.");
                                        
dialog.Option("FireTaoist !!"105);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 60 && client.Entity.Class <= 65)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade Class ?.");
                                        
dialog.Option("Monk !!"106);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade Class ?.");
                                        
dialog.Option("Pirate !!"107);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 80 && client.Entity.Class <= 85)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade Class ?.");
                                        
dialog.Option("Dragon-Warrior !!"108);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                    {
                                        
dialog.Text("Hey there " client.Entity.Name " Would you like to Upgrade Class ?.");
                                        
dialog.Option("WindWalker !!"109);
                                        
// dialog.Option("I`ll~think~about~it.", 255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
100:
                                {
                                    if (
client.Entity.Class >= 10 && client.Entity.Class <= 15)
                                    {
                                        
client.Entity.Class = 15;

                                    }
                                    break;
                                }
                            case 
101:
                                {
                                    if (
client.Entity.Class >= 50 && client.Entity.Class <= 55)
                                    {
                                        
client.Entity.Class = 55;

                                    }
                                    break;
                                }
                            case 
102:
                                {
                                    if (
client.Entity.Class >= 40 && client.Entity.Class <= 45)
                                    {
                                        
client.Entity.Class = 45;

                                    }
                                    break;
                                }
                            case 
103:
                                {
                                    if (
client.Entity.Class >= 20 && client.Entity.Class <= 25)
                                    {
                                        
client.Entity.Class = 25;

                                    }
                                    break;
                                }
                            case 
104:
                                {
                                    if (
client.Entity.Class >= 132 && client.Entity.Class <= 135)
                                    {
                                        
client.Entity.Class = 135;

                                    }
                                    break;
                                }
                            case 
115:
                                {
                                    if (
client.Entity.Class >= 100)
                                    {
                                        
client.Entity.Class = 135;

                                    }
                                    break;
                                }
                            case 
116:
                                {
                                    if (
client.Entity.Class >= 100)
                                    {
                                        
client.Entity.Class = 145;

                                    }
                                    break;
                                }
                            case 
105:
                                {
                                    if (
client.Entity.Class >= 142 && client.Entity.Class <= 145)
                                    {
                                        
client.Entity.Class = 145;

                                    }
                                    break;
                                }
                            case 
106:
                                {
                                    if (
client.Entity.Class >= 60 && client.Entity.Class <= 65)
                                    {
                                        
client.Entity.Class = 65;

                                    }
                                    break;
                                }
                            case 
107:
                                {
                                    if (
client.Entity.Class >= 70 && client.Entity.Class <= 75)
                                    {
                                        
client.Entity.Class = 75;

                                    }
                                    break;
                                }
                            case 
108:
                                {
                                    if (
client.Entity.Class >= 80 && client.Entity.Class <= 85)
                                    {
                                        
client.Entity.Class = 85;

                                    }
                                    break;
                                }
                            case 
109:
                                {
                                    if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                    {
                                        
client.Entity.Class = 165;

                                    }
                                    break;
                                }
                            case 
10:
                                {
                                    
dialog.Text("So you want to know more?  When you reborn, you can chose what class you want to be the second  life. Once you reborn you will start again the journey to conquer this  world from level 15. Beware that you may gain some special skills  depending on the class you chose to reborn, and you'll be able to get an  own pet, that will follow and help you level or fight. The cost is a  CelestialStone.");
                                    
dialog.Option("Reborn me."2);
                                    
dialog.Option("Nothing thank you."255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
12:
                                {
                                    if (
client.Entity.Reborn == 0)
                                    {
                                        if (
client.Entity.Class % 10 == &&
                                            
client.Entity.Level >= (client.Entity.Class == 135 110 120))
                                        {
                                            
dialog.Text(
                                                
"There are two kinds  of reborns. One is the normal one and the second one is blessed. The  normal reborn will give you the chance to get a Super Gem and the  blessed reborn will set a -1 into one of your equipment that you wear  during the reborn. What do you chose?");
                                            
dialog.Option("Normal reborn."15);
                                            
dialog.Option("Blessed reborn."13);
                                            
dialog.Option("Nothing thank you."255);
                                            
dialog.Send();
                                        }
                                        else
                                        {
                                            
dialog.Text(
                                                
"You cannot reborn  if your level is not 110+ for water saints and 120+ for other  masters.");
                                            
dialog.Option("Ahh."255);
                                            
dialog.Send();
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text(
                                            
"You cannot reborn again  here. Alex, an elder who lives in Ape Canyon, will tell you about the  third life.");
                                        
dialog.Option("Thank you."255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
15:
                                {
                                    if (
client.Entity.Reborn == 0)
                                    {
                                        if (
client.Entity.Class % 10 == &&
                                            
client.Entity.Level >= (client.Entity.Class == 135 110 120))
                                        {
                                            
dialog.Text("Select the super gem you desire.");
                                            
dialog.Option("SuperPhoenixGem."203);
                                            
dialog.Option("SuperDragonGem."213);
                                            
dialog.Option("SuperFuryGem."223);
                                            
dialog.Option("SuperRainbowGem."233);
                                            
dialog.Option("SuperVioletGem."253);
                                            
dialog.Option("SuperMoonGem."254);
                                            
dialog.Option("SuperKylinGem."243);
                                            
dialog.Option("Nothing thank you."255);
                                            
dialog.Send();
                                        }
                                        else
                                        {
                                            
dialog.Text(
                                                
"You cannot reborn  if your level is not 110+ for water saints and 120+ for other  masters.");
                                            
dialog.Option("Ahh."255);
                                            
dialog.Send();
                                        }
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text(
                                            
"You cannot reborn again  here. Alex, an elder who lives in Ape Canyon, will tell you about the  third life.");
                                        
dialog.Option("Thank you."255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
90:
                                {
                                    if ((
client.Entity.Reborn == 0) && (client.Inventory.Contains(7212591)))
                                    {
                                        if (
client.Entity.Class % 10 == && client.Entity.Level >= (client.Entity.Class == 135 110 120))
                                        {
                                            
client.Inventory.Remove(7212591);
                                            
client.Entity.Reborn 1;
                                            
client.Entity.FirstRebornLevel client.Entity.Level;
                                            
client.Entity.FirstRebornClass client.Entity.Class;
                                            
client.Entity.Level 15;
                                            
client.Entity.Class = 25;
                                            
client.Entity.Experience 0;
                                            {
                                                
Database.DataHolder.GetStats(client.Entity.Class, 15client);
                                                
client.CalculateStatBonus();
                                                
client.CalculateHPBonus();
                                                
client.GemAlgorithm();
                                                
using (var cmd = new MySqlCommand(MySqlCommandType.UPDATE))
                                                    
cmd.Update("entities").Set("Class"client.Entity.Class).Set("MapID"client.Entity.MapID).Where("Name"client.Entity.Name).Execute();
                                            }
                                        }
                                        else
                                        {
                                            
dialog.Text("You cannot reborn if your level is not 110+ for water saints and 120+ for other masters.");
                                            
dialog.Option("Ahh."255);
                                            
dialog.Send();
                                        }
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("You cannot reborn again here. Alex, an elder who lives in Ape Canyon, will tell you about the third life.");
                                        
dialog.Option("Thank you."255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
13:
                                {
                                    if (
client.Entity.Reborn == 0)
                                    {
                                        if (
client.Entity.Class % 10 == && client.Entity.Level >= (client.Entity.Class == 135 110 120))
                                        {
                                            
dialog.Text("Select the class you want to reborn in.");
                                            
dialog.Option("Trojan.", (byte)(10 npcRequest.OptionID));
                                            
dialog.Option("Warrior."90);
                                            
//   dialog.Option("Warrior.", (byte)(20 + npcRequest.OptionID));
                                            
dialog.Option("Archer.", (byte)(40 npcRequest.OptionID));
                                            
dialog.Option("WaterTaoist.", (byte)(132 npcRequest.OptionID));
                                            
dialog.Option("FireTaoist.", (byte)(142 npcRequest.OptionID));
                                            
dialog.Option("Ninja.", (byte)(50 npcRequest.OptionID));
                                            
dialog.Option("Monk.", (byte)(60 npcRequest.OptionID));
                                            
dialog.Option("Pirate.", (byte)(70 npcRequest.OptionID));
                                            
dialog.Option("Dragon-Warror.", (byte)(80 npcRequest.OptionID));
                                            
dialog.Option("Wind.Guard.", (byte)(161 npcRequest.OptionID));
                                            
dialog.Send();
                                        }
                                        else
                                        {
                                            
dialog.Text("You cannot reborn if your level is not 110+ for water saints and 120+ for other masters.");
                                            
dialog.Option("Ahh."255);
                                            
dialog.Send();
                                        }
                                        break;
                                    }
                                    else
                                    {
                                        
dialog.Text("You cannot reborn again here. Alex, an elder who lives in Ape Canyon, will tell you about the third life.");
                                        
dialog.Option("Thank you."255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            default:
                                {
                                    if (
client.Entity.Reborn == 0)
                                    {
                                        if (
client.Entity.Class % 10 == && client.Entity.Level >= (client.Entity.Class == 135 110 120))
                                        {
                                            if (
npcRequest.OptionID == 255)
                                                return;
                                            if (
npcRequest.OptionID >= 200 && npcRequest.OptionID <= 254)
                                            {
                                                
client.SelectedGem = (byte)(npcRequest.OptionID 100);
                                                if (
client.SelectedGem == 54)
                                                    
client.SelectedGem 63;
                                                if (
client.Entity.Reborn == 0)
                                                {
                                                    
byte id 4;
                                                    
dialog.Text("Select the class you want to reborn in.");
                                                    
dialog.Option("Trojan.", (byte)(10 id));
                                                    
dialog.Option("Warrior.", (byte)(20 id));
                                                    
dialog.Option("Archer.", (byte)(40 id));
                                                    
dialog.Option("WaterTaoist.", (byte)(132 id));
                                                    
dialog.Option("FireTaoist.", (byte)(142 id));
                                                    
dialog.Option("Ninja.", (byte)(50 id));
                                                    
dialog.Option("Monk.", (byte)(60 id));
                                                    
dialog.Option("Pirate.", (byte)(70 id));
                                                    
dialog.Option("Dragon-Warror.", (byte)(80 id));
                                                    
dialog.Option("WindWalker..", (byte)(161 id));
                                                    
dialog.Send();
                                                    break;
                                                }
                                                else
                                                {
                                                    
dialog.Text("You cannot reborn again here. Alex, an elder who lives in Ape Canyon, will tell you about the third life.");
                                                    
dialog.Option("Thank you."255);
                                                    
dialog.Send();
                                                }
                                            }
                                            else
                                            {
                                                if (
client.Inventory.Contains(7212591))
                                                {
                                                    
byte _class = (byte)(npcRequest.OptionID npcRequest.OptionID 10);
                                                    if (
_class 100)
                                                        
_class += 2;
                                                    
byte type = (byte)(npcRequest.OptionID _class);
                                                    if (
_class 100)
                                                        
_class++;
                                                    if (
type != 4)
                                                    {
                                                        
_class -= 10;
                                                    }
                                                    if (
client.Reborn(_class))
                                                    {
                                                        
client.Inventory.Remove(7212591);
                                                        if (
type == 4)
                                                        {
                                                            if (
client.SelectedGem != 0)
                                                            {
                                                                
uint gemid = (uint)(client.SelectedGem 700000);
                                                                
client.Inventory.Add(gemid01);
                                                            }
                                                        }
                                                        else
                                                        {
                                                            
int availableshots 0;
                                                            for (
byte count 0count 12count++)
                                                                if (!
client.Equipment.Free(count))
                                                                    if (
client.Equipment.TryGetItem(count).Bless == 0)
                                                                        
availableshots++;
                                                            if (
availableshots != 0)
                                                            {
                                                                
byte ex = (byte)Kernel.Random.Next(12);
                                                                if (!
client.Equipment.Free(ex))
                                                                    if (
client.Equipment.TryGetItem(ex).Bless == 0)
                                                                    {
                                                                        var 
item client.Equipment.TryGetItem(ex);
                                                                        
item.Bless 1;
                                                                        
item.Mode ElSaher.Game.Enums.ItemMode.Update;
                                                                        
item.Send(client);
                                                                        
ElSaher.Database.ConquerItemTable.UpdateBless(item);
                                                                    }
                                                            }
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("Sorry, but you need atleast 2 free spaces in your inventory.");
                                                        
dialog.Option("Ohh."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                            }
                                        }
                                        else
                                        {
                                            
dialog.Text("You cannot reborn if your level is not 110+ for water saints and 120+ for other masters.");
                                            
dialog.Option("Ahh."255);
                                            
dialog.Send();
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("You cannot reborn again here. Alex, an elder who lives in Ape Canyon, will tell you about the third life.");
                                        
dialog.Option("Thank you."255);
                                        
dialog.Send();
                                    }
                                    break;
                                }

                            
#region Riencration to 7

                            
case 3:
                                {
                                    if (
client.Entity.Reborn == && client.Entity.Level >= 120)
                                    {
                                        
dialog.Text(
                                            
"I am the  ReincarnationSeer i can help you to change your second reborn Class you  need OblivionDew");
                                        
dialog.Text(" and " "  Conquer point in your inventory deal?");
                                        
dialog.Option("i want to Change my Class."5);
                                        
dialog.Option("i want to Buy OblivionDew."98);
                                        
dialog.Option("Wait a minute."255);
                                        
dialog.Send();
                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry you need to be Seconed Reborn and Lv + 120.");
                                        
dialog.Option("Alright."255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
5:
                                {
                                    if (
client.Entity.ConquerPoints >= ServerRates.Reincarnation)
                                    {
                                        
client.Send(new Data(true)
                                        {
                                            
UID client.Entity.UID,
                                            
ID Data.OpenWindow,
                                            
dwParam Data.WindowCommands.Reincarnation,
                                            
wParam1 client.Entity.X,
                                            
wParam2 client.Entity.Y
                                        
});
                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry you dont have " ServerRates.Reincarnation " cps in your inventory.");
                                        
dialog.Option("Alright."255);
                                        
dialog.Send();
                                    }
                                    break;
                                }
                            case 
98:
                                {
                                    if (
client.Entity.ConquerPoints >= ServerRates.OblivionDew)
                                    {
                                        
client.Entity.ConquerPoints -= ServerRates.OblivionDew;
                                        
client.Inventory.Add(71108301);
                                    }
                                    else
                                    {
                                        
dialog.Text("Sorry you dont Have " ServerRates.OblivionDew " cps in your bag.");
                                        
dialog.Option("Why!?"255);
                                        
dialog.Send();
                                    }
                                    break;
                                }

                            
#endregion

                            #region attribute 8

                            
case 50:
                                {
                                    
dialog.Text(
                                        
"Hello there brave  conqueror, if you have reborn, and you misplaced your atribute points or  you want to set them another way, I'll reset your atribute points for  one DragonBall. Do you accept?");
                                    
dialog.Option("Here is the DragonBall."8);
                                    
dialog.Option("I'll just leave"255);
                                    
dialog.Send();
                                    break;
                                }
                            case 
8:
                                {
                                    if (
client.Entity.Reborn 0)
                                    {
                                        if (
client.Inventory.Contains(10880001))
                                        {
                                            
client.Inventory.Remove(10880001);
                                            if (
client.Entity.Reborn != 0)
                                            {
                                                
client.Entity.Agility 0;
                                                
client.Entity.Strength 0;
                                                
client.Entity.Vitality 1;
                                                
client.Entity.Spirit 0;
                                                if (
client.Entity.Reborn == 1)
                                                {
                                                    
client.Entity.Atributes =
                                                        (
ushort)
                                                            (
client.ExtraAtributePoints(client.Entity.FirstRebornLevel,
                                                                
client.Entity.FirstRebornLevel)
                                                             + 
52 * (client.Entity.Level 15));
                                                }
                                                else
                                                {
                                                    
client.Entity.Atributes =
                                                        (
ushort)
                                                            (
client.ExtraAtributePoints(client.Entity.FirstRebornLevel,
                                                                
client.Entity.FirstRebornClass) +
                                                             
client.ExtraAtributePoints(client.Entity.SecondRebornLevel,
                                                                 
client.Entity.SecondRebornClass) + 52 +
                                                             
* (client.Entity.Level 15));
                                                }
                                            }
                                        }
                                        else
                                        {
                                            
dialog.Text("You need a DragonBall.");
                                            
dialog.Option("I'll just leave"255);
                                            
dialog.Send();
                                        }
                                    }
                                    else
                                    {
                                        
dialog.Text("You have to have atleast one rebirth atleast.");
                                        
dialog.Option("I'll just leave"255);
                                        
dialog.Send();
                                    }
                                    break;
                                }

                            
#endregion
                        
}
                        break;
                    }

                
#endregion 

تكمله الانبي سي

اطلع فوق خالص وضيف

كود PHP:

 private static void SetWeaponProf(GameState clientushort weaponprofidstring weaponname
        { 
            
Interfaces.IProf proficiency = new Network.GamePackets.Proficiency(true); 
            
proficiency.ID weaponprofidproficiency.Level 20
            
client.AddProficiency(proficiency); 
            
client.Send("Congratulation You Have Successfully Got Max Proficiency In ( " weaponname " ) Weapon ."); 
        } 

في امان الله

conquer4rQyoe 2020-01-30 02:56 AM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
اخويا الي مبهدل الدنيا عاش بجد

ElSaher 2020-01-30 05:43 AM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
اقتباس:

المشاركة الأصلية كتبت بواسطة conquer4rQyoe (المشاركة 26806)
اخويا الي مبهدل الدنيا عاش بجد

حبيبي يا محمد

taha 2020-01-30 06:39 AM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
عاش

ElSaher 2020-01-30 06:52 AM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
اقتباس:

المشاركة الأصلية كتبت بواسطة taha (المشاركة 26810)
عاش

حبيبي

محمد ياسر 2020-01-30 08:46 AM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
عاش

ElSaher 2020-01-30 08:48 AM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
اقتباس:

المشاركة الأصلية كتبت بواسطة Hazem (المشاركة 26817)
عاش

حبيبي يا حازم

ahmedshetos888 2020-01-30 11:12 AM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
عاااش

Hassan Emprator 2020-01-30 01:20 PM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
ههههههههههههههههههه يكلب الكلاب انا كنت منزله وانت عدلت عليه بس عاش

عا العموم هيجيب ايورر لناس لما يجي يعملهم النقاط حل الايورر اهو

كلاس انبي سي فوق خالص ضيف

كود PHP:

        private static void SetWeaponProf(GameState clientushort weaponprofidstring weaponname)
        {
            
Interfaces.IProf proficiency = new Network.GamePackets.Proficiency(true);
            
proficiency.ID weaponprofidproficiency.Level 20;
            
client.AddProficiency(proficiency);
            
client.Send("Congratulation You Have Successfully Got Max Proficiency In ( " weaponname " ) Weapon .");
        } 


AliNasser 2020-01-31 06:35 PM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
تسلم

AdhamMohamed 2020-02-08 04:28 PM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
عااااااش يحب

ElSaher 2020-02-10 01:33 PM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
اقتباس:

المشاركة الأصلية كتبت بواسطة hassan emprator (المشاركة 26838)
ههههههههههههههههههه يكلب الكلاب انا كنت منزله وانت عدلت عليه بس عاش

عا العموم هيجيب ايورر لناس لما يجي يعملهم النقاط حل الايورر اهو

كلاس انبي سي فوق خالص ضيف

كود PHP:

        private static void setweaponprof(gamestate clientushort weaponprofidstring weaponname)
        {
            
interfaces.iprof proficiency = new network.gamepackets.proficiency(true);
            
proficiency.id weaponprofidproficiency.level 20;
            
client.addproficiency(proficiency);
            
client.send("congratulation you have successfully got max proficiency in ( " weaponname " ) weapon .");
        } 


كونت ناسي ولله عاش

TiTo1 2020-02-10 09:45 PM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
عاش

uncelsam 2020-03-05 06:04 PM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
عااااش

HBESA 2020-03-14 06:11 PM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
تسلم

MohamedStarHell 2020-03-27 05:27 PM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
عاش

osamanofl 2020-04-07 10:21 AM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
عاااااااااااااش

khaled2020 2020-04-09 11:08 PM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
عااش

rzrgamd 2022-04-25 04:45 AM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
شكرا

Mr NemNem 2023-08-31 05:24 AM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
عاش

يوسف كونكر 2024-06-19 09:21 PM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
1

MRabdo 2024-11-17 04:08 AM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
شكرا

amr123456 2024-12-05 04:17 PM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
شكرا الف شكرا

sindpadjuba5095 2024-12-14 01:37 AM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
تسلم ايدك

ahmedkhaled2025 2025-01-22 12:24 AM

رد: npx بيعمل ابديت للشخصيه وا بيديك الاسكلات وكل احاجا
 
thx


الساعة الآن 11:50 AM

مرحبا بكم في منتدي اكواد لتطوير الالعاب