قديم 2019-05-07, 11:46 PM
المشاركة 2
Users
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: ازاي تخلي الفلفه صعبه في سرفرك
لك كل التقدير والاحترام
معلومات بسيطه بالنسبالك لكن مهمه لناس لسه جديده

قديم 2019-05-08, 12:07 AM
المشاركة 3
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
Post رد: ازاي تخلي الفلفه صعبه في سرفرك
حبيبي تسلم

قديم 2019-12-17, 01:30 AM
المشاركة 4
Omar
.:: عضو نشيط ::.
  • غير متواجد
افتراضي رد: ازاي تخلي الفلفه صعبه في سرفرك
طب لو عايز اخلي نجوم الاسكل تيجي بسرعة هي و نجوم الاسلحة ازاي

قديم 2019-12-17, 02:18 AM
المشاركة 5
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: ازاي تخلي الفلفه صعبه في سرفرك
عفواً لايمكن عرض الرابط إلا بعد الرد على الموضوع
طب لو عايز اخلي نجوم الاسكل تيجي بسرعة هي و نجوم الاسلحة ازاي
اتفضل اهو انبي سي شامل كل حاجه شيل وحط الي انت عايزه انا عاملهولك عا نجوم الاسحله طبعا لو انت عايز عا النقاط او كدا شيل عا الكلمه الي عليها //


كود:
#region All Add for Players

                
case 44548:
                    {
                        switch (
npcRequest.OptionID)
                        {
                            case 
0:
                                {
                                    
dialog.Text("This Npcs Help You for Give Skills Or Updgard Class Mr.khled Here");
                                    
dialog.Text("Well, anything I can help you with?");
                                    
//dialog.Option("1st Rebirth.", 1);
                                   // dialog.Option("2nd Rebirth.", 2);
                                    //dialog.Option("Reincarnation.", 3);
                                    //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 KhaledMohamed.Game.Enums.ItemMode.Update;
                                                                        
item.Send(client);
                                                                        
KhaledMohamed.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 


قديم 2019-12-17, 02:30 AM
المشاركة 6
Hassan Emprator
.:: عضو خبير ::.
  • غير متواجد
افتراضي رد: ازاي تخلي الفلفه صعبه في سرفرك
لو جالك ايرور في Server Reates امسحها وضيف السعر الي انت عايزه مكانه وظبط ااالكواد انت مع نفسك


العلامات المرجعية



الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1)
 
أدوات الموضوع

الانتقال السريع

المواضيع المتشابهه للموضوع: ازاي تخلي الفلفه صعبه في سرفرك
الموضوع كاتب الموضوع المنتدى مشاركات آخر مشاركة
ازاي تخلي الاستمينة مش بتخلص ElSaher تطوير سيرفرات كونكر 1 2020-04-10 01:57 PM
ازاي تخلي اي جارد ينطق اسم سرفرك طول ما انت جنبه او بعيد عنه Hassan Emprator تطوير سيرفرات كونكر 2 2020-02-24 02:03 PM
ازاي تغير لون سرفرك بي الشكل الي انت عاوزه Hassan Emprator تطوير سيرفرات كونكر 5 2020-02-15 07:52 PM
ازاي تخلي الفي اي بي يتنقل بي وقت Hassan Emprator تطوير سيرفرات كونكر 2 2019-07-21 08:00 AM
ازاي تخلي الدروب راندوم Hassan Emprator تطوير سيرفرات كونكر 2 2019-05-07 02:56 PM


الساعة الآن 08:38 PM

Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.