عرض مشاركة واحدة
قديم 2019-10-24, 12:05 AM
المشاركة #3  
uncelsam
  • غير متواجد
افتراضي رد: تعالي تاني يا رايدر في مشكله :d

كود:
#region WindwalkerLord
                            
case 19634:
                                {

                                    
byte mClass 160;
                                    
byte MClass 165;
                                    
string Class = "WindWalker";
                                    
dialog.Avatar(9);
                                    switch (
npcRequest.OptionID)
                                    {
                                        case 
0:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    
dialog.Text("Our Windwalker school was founded by Saint Wan on the principle of KINDNESS and JUSTICE. Once you decide to");
                                                    
dialog.Text("~join us as a Windwalker, you take the responsibility for the security of the country against alien invaders and devils.");
                                                    if (
client.Entity.Class < 165)
                                                    {
                                                        
dialog.Option("I~want~to~get~promoted."1);
                                                    }
                                                    
dialog.Option("Learn~skills."4);
                                                    
dialog.Option("Switch~to~another~branch."5);
                                                    
dialog.Option("I`ll~talk~to~you~later."255);
                                                    
dialog.Avatar(333);
                                                    
dialog.Send();
                                                }
                                                else
                                                {
                                                    
dialog.Text("Sorry, you`re not WindWalker. Go find your origin.");
                                                    
dialog.Option("Okay."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#region I~want~to~get~promoted
                                        
case 1:
                                            {
                                                
dialog.Text("Congratulations! You have been promoted.");
                                                
dialog.Option("Thank you master."255);
                                                
dialog.Send();
                                                
client.Entity.Class = 165;
                                                break;
                                            }
                                        case 
3:
                                            {
                                                if (
client.Entity.Class >= mClass && client.Entity.Class <= MClass)
                                                {
                                                    if (
client.Entity.Class == MClass)
                                                    {
                                                        
dialog.Text("You cannot be promoted anymore. You have mastered your class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                    }
                                                    else
                                                    {
                                                        if (
client.PromoteItemNeed == 721020)
                                                        {
                                                            if (
client.Inventory.Remove("moonbox"))
                                                            {
                                                                
client.Inventory.Add(client.PromoteItemGain01);
                                                                
client.Entity.Class++;
                                                                
dialog.Text("Congratulations! You have been promoted.");
                                                                
dialog.Option("Thank you master."255);
                                                                
dialog.Send();
                                                            }
                                                            else
                                                            {
                                                                
dialog.Text("You don't meet the requierments.");
                                                                
dialog.Option("Ahh."255);
                                                                
dialog.Send();
                                                            }
                                                            return;
                                                        }
                                                        if (
client.Inventory.Contains(client.PromoteItemNeedclient.PromoteItemCountNeed) && client.Entity.Level >= client.PromoteLevelNeed)
                                                        {
                                                            
client.Inventory.Remove(client.PromoteItemNeedclient.PromoteItemCountNeed);
                                                            
client.Inventory.Add(client.PromoteItemGain01);
                                                            
client.Entity.Class++;
                                                            
dialog.Text("Congratulations! You have been promoted.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                        else
                                                        {
                                                            
dialog.Text("You don't meet the requierments.");
                                                            
dialog.Option("Ahh."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the " + Class + " secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region Switch~to~another~branch
                                        
case 5:
                                            {
                                                
dialog.Text("                                        *Branches of Windwalker School*");
                                                
dialog.Text("¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª");
                                                
dialog.Text("Stomper: Excels in melee combat with excellent attack range and remarkable recovery ability. Stomper`s exclusive skill");
                                                
dialog.Text("           can freeze enemies` blood to extend their skill cooldown time and response time.");
                                                
dialog.Text("Chaser: Excels in ranged combat. With a unique focusing skill, Chaser is able to control the power of wind to attack");
                                                
dialog.Text("          enemies far away.");
                                                
dialog.Text("¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª¡ª");
                                                
//dialog.Text("(You`re currently on the ["++"] branch.)");
                                                
string tochange "";
                                                switch (
client.Entity.WindWalker)
                                                {
                                                    case (
byte)WindWalker.CharacterType.Chaser:
                                                        
tochange "MeleeStomper";
                                                        break;
                                                    case (
byte)WindWalker.CharacterType.Stomper:
                                                        
tochange "RangedChaser";
                                                        break;
                                                }
                                                
dialog.Option("Switch~to~[" tochange "]~branch.~(1WindCore)"10);
                                                
dialog.Option("Switch~to~[" tochange "]~branch.~(27~CPs)"11);
                                                
dialog.Option("I`ll~think~about~it."2);
                                                
dialog.Avatar(333);
                                                break;
                                            }
                                        
#endregion
                                        #region Switch~to~[MeleeStomper]~branch.~(1WindCore)
                                        
case 10:
                                            {

                                                if (
client.Inventory.Contains(33017051))
                                                {
                                                    
byte[] Wind = new byte[80 8];
                                                    
Writer.WriteUInt32(800Wind);
                                                    
Writer.WriteUInt32(100172Wind);
                                                    
Writer.WriteUInt32((uint)Time32.timeGetTime().GetHashCode(), 4Wind);
                                                    
Writer.WriteUInt32(client.Entity.UID8Wind);
                                                    
Writer.WriteUInt32(212Wind);
                                                    
Writer.WriteUInt32(25516Wind);
                                                    
Writer.WriteUInt32(25517Wind);
                                                    
Writer.WriteUInt32(25518Wind);
                                                    
Writer.WriteUInt32(25519Wind);
                                                    
Writer.WriteUInt32(7148Wind);
                                                    if (
client.Entity.WindWalker == (byte)WindWalker.CharacterType.Stomper)
                                                    {
                                                        
Writer.WriteUInt32((byte)WindWalker.CharacterType.Chaser52Wind);
                                                        
client.Entity.WindWalker = (byte)WindWalker.CharacterType.Chaser;
                                                    }
                                                    else
                                                    {
                                                        
Writer.WriteUInt32((byte)WindWalker.CharacterType.Stomper52Wind);
                                                        
client.Entity.WindWalker = (byte)WindWalker.CharacterType.Stomper;
                                                    }
                                                    
client.Send(Wind);
                                                    
client.Inventory.Remove(33017051);
                                                }
                                                else
                                                {
                                                    
dialog.Text("I can`t help you switch your Windwalker branch if you don`t have a Wind Core. You can exchange for one in the Horse Racing Store.");

                                                    
dialog.Option("I~see."0);
                                                    
dialog.Avatar(333);
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region Switch~to~[MeleeStomper]~branch.~(27~CPs)
                                        
case 11:
                                            {
                                                if (
client.Entity.ConquerPoints >= 27)
                                                {
                                                    
byte[] Wind = new byte[80 8];
                                                    
Writer.WriteUInt32(800Wind);
                                                    
Writer.WriteUInt32(100172Wind);
                                                    
Writer.WriteUInt32((uint)Time32.timeGetTime().GetHashCode(), 4Wind);
                                                    
Writer.WriteUInt32(client.Entity.UID8Wind);
                                                    
Writer.WriteUInt32(212Wind);
                                                    
Writer.WriteUInt32(25516Wind);
                                                    
Writer.WriteUInt32(25517Wind);
                                                    
Writer.WriteUInt32(25518Wind);
                                                    
Writer.WriteUInt32(25519Wind);
                                                    
Writer.WriteUInt32(7148Wind);
                                                    if (
client.Entity.WindWalker == (byte)WindWalker.CharacterType.Stomper)
                                                    {
                                                        
Writer.WriteUInt32((byte)WindWalker.CharacterType.Chaser52Wind);
                                                        
client.Entity.WindWalker = (byte)WindWalker.CharacterType.Chaser;
                                                    }
                                                    else
                                                    {
                                                        
Writer.WriteUInt32((byte)WindWalker.CharacterType.Stomper52Wind);
                                                        
client.Entity.WindWalker = (byte)WindWalker.CharacterType.Stomper;
                                                    }
                                                    
client.Send(Wind);
                                                    
dialog.Text("Okay, I`ve changed your branch.");

                                                    
dialog.Option("Thanks!"0);
                                                    
dialog.Avatar(333);

                                                    
client.Entity.ConquerPoints -= 27;
                                                    break;
                                                }
                                                else
                                                {
                                                    
dialog.Text("I`m afraid I can`t help you switch the branch if you don`t have enough CPs.");

                                                    
dialog.Option("Alright."0);
                                                    
dialog.Avatar(333);
                                                }
                                                break;
                                            }
                                        
#endregion
                                        
case 4:
                                            {
                                                
dialog.Text("Our Windwalker school is divided into two branches: Chaser and Stomper. Chaser focuses on");
                                                
dialog.Text("~ranged combat, while Stomper excels in melee combat. I`m here representing the Chief to");
                                                
dialog.Text("~impart distinctive skills to the Windwalkers.");

                                                
dialog.Option("Learn~skills~of~Stomper."20);
                                                
dialog.Option("Learn~skills~of~Chaser."21);
                                                
dialog.Option("Learn~rebirth~skill."22);
                                                
dialog.Option("Learn~universal~skills."23);
                                                
dialog.Avatar(333);
                                                break;
                                            }

                                        
#region Learn~skills~of~Stomper
                                        
case 20:
                                            {
                                                
dialog.Text("The Stomper branch has developed overwhelming melee skills which enable the caster to disable an enemy with swift and flexible fighting moves.");
                                                
dialog.Text("~FellowSister, which skill would you like to learn?");

                                                
dialog.Option("" Npcs.SkillWindWalker(1client), 24);
                                                
dialog.Option("" Npcs.SkillWindWalker(2client), 25);
                                                
dialog.Option("" Npcs.SkillWindWalker(3client), 26);
                                                
dialog.Option("" Npcs.SkillWindWalker(4client), 27);
                                                
dialog.Option("" Npcs.SkillWindWalker(5client), 28);
                                                
dialog.Option("" Npcs.SkillWindWalker(6client), 29);
                                                
dialog.Option("" Npcs.SkillWindWalker(7client), 30);
                                                
dialog.Option("Next."31);
                                                
dialog.Avatar(333);
                                                break;
                                            }
                                        
#endregion
                                        #region AngerofStomper~[Lv.1]
                                        
case 24:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 1)
                                                    {
                                                        
dialog.Text("You have learned the AngerofStomper Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12980));
                                                        if (!
client.AddSpell(LearnableSpell(12980)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 1 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region BurntFrost~[Lv.15]
                                        
case 25:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 15)
                                                    {
                                                        
dialog.Text("You have learned the BurntFrost Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12940));
                                                        if (!
client.AddSpell(LearnableSpell(12940)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 15 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region HealingSnow~[Lv.15]
                                        
case 26:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 15)
                                                    {
                                                        
dialog.Text("You have learned the Healing Snow Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12950));
                                                        if (!
client.AddSpell(LearnableSpell(12950)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 15 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region RageofWar~[Lv.40]
                                        
case 27:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        
dialog.Text("You have learned the Rageof War Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12930));
                                                        if (!
client.AddSpell(LearnableSpell(12930)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region HorrorofStomper~[Lv.40]
                                        
case 28:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        
dialog.Text("You have learned the Horror of Stomper Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12990));
                                                        if (!
client.AddSpell(LearnableSpell(12990)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region ChillingSnow~[Lv.70]
                                        
case 29:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 70)
                                                    {
                                                        
dialog.Text("You have learned the Chilling Snow Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12960));
                                                        if (!
client.AddSpell(LearnableSpell(12960)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 70 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region PeaceofStomper~[Lv.70]
                                        
case 30:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 70)
                                                    {
                                                        
dialog.Text("You have learned the Peace of Stomper Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(13000));
                                                        if (!
client.AddSpell(LearnableSpell(13000)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 70 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region NextSkill
                                        
case 31:
                                            {
                                                
dialog.Text("The Stomper branch has developed overwhelming melee skills which enable the caster to disable an enemy with swift and flexible fighting moves.");
                                                
dialog.Text("~FellowSister, which skill would you like to learn?");

                                                
dialog.Option("" Npcs.SkillWindWalker(8client), 32);
                                                
dialog.Option("" Npcs.SkillWindWalker(9client), 33);
                                                
dialog.Option("I~want~to~learn~other~skills."34);
                                                
dialog.Option("I`ll~talk~to~you~later."255);
                                                
dialog.Option("Previous."20);
                                                
dialog.Avatar(333);
                                                break;
                                            }
                                        
#endregion
                                        #region RevengeTail~[Lv.100]
                                        
case 32:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 100)
                                                    {
                                                        
dialog.Text("You have learned the Revenge Tail Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(13030));
                                                        if (!
client.AddSpell(LearnableSpell(13030)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 100 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region FreezingPelter~[Lv.100]
                                        
case 33:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 100)
                                                    {
                                                        
dialog.Text("You have learned the Freezing Pelter Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(13020));
                                                        if (!
client.AddSpell(LearnableSpell(13020)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 100 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region I~want~to~learn~other~skills
                                        
case 34:
                                            {
                                                
dialog.Text("Our Windwalker school is divided into two branches: Chaser and Stomper. Chaser focuses on");
                                                
dialog.Text("~ranged combat, while Stomper excels in melee combat. I`m here representing the Chief to");
                                                
dialog.Text("~impart distinctive skills to the Windwalkers.");

                                                
dialog.Option("Learn~skills~of~Stomper."20);
                                                
dialog.Option("Learn~skills~of~Chaser."21);
                                                
dialog.Option("Learn~rebirth~skill."22);
                                                
dialog.Option("Learn~universal~skills."23);
                                                
dialog.Avatar(333);
                                                break;
                                            }
                                        
#endregion
                                        #region Learn~skills~of~Chaser
                                        
case 21:
                                            {
                                                
dialog.Text("The Chaser branch is famous for its ability to control wind and outstanding ranged attacks.");
                                                
dialog.Text("~FellowSister, which skill would you like to learn?");

                                                
dialog.Option("" Npcs.SkillWindWalker(10client), 35);
                                                
dialog.Option("" Npcs.SkillWindWalker(11client), 36);
                                                
dialog.Option("" Npcs.SkillWindWalker(12client), 37);
                                                
dialog.Option("" Npcs.SkillWindWalker(13client), 38);
                                                
dialog.Option("" Npcs.SkillWindWalker(14client), 39);
                                                
dialog.Option("I~want~to~learn~other~skills."40);
                                                
dialog.Option("I`ll~talk~to~you~later."255);
                                                
dialog.Avatar(333);
                                                break;
                                            }
                                        
#endregion
                                        #region SwirlingStorm~[Lv.15]
                                        
case 35:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 15)
                                                    {
                                                        
dialog.Text("You have learned the Swirling Storm Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12890));
                                                        if (!
client.AddSpell(LearnableSpell(12890)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 15 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region ShadowofChaser~[Lv.15]
                                        
case 36:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 15)
                                                    {
                                                        
dialog.Text("You have learned the Shadow of Chaser Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(13090));
                                                        if (!
client.AddSpell(LearnableSpell(13090)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 15 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region TripleBlasts~[Lv.40]
                                        
case 37:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 40)
                                                    {
                                                        
dialog.Text("You have learned the Tripl eBlasts Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12850));
                                                        if (!
client.AddSpell(LearnableSpell(12850)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 40 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region Thundercloud~[Lv.70]
                                        
case 38:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 70)
                                                    {
                                                        
dialog.Text("You have learned the Thunder cloud Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12840));
                                                        if (!
client.AddSpell(LearnableSpell(12840)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 70 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region Thunderbolt~[Lv.100]
                                        
case 39:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 100)
                                                    {
                                                        
dialog.Text("You have learned the Thunder bolt  Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12970));
                                                        if (!
client.AddSpell(LearnableSpell(12970)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 100 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region I~want~to~learn~other~skills
                                        
case 40:
                                            {
                                                
dialog.Text("Our Windwalker school is divided into two branches: Chaser and Stomper. Chaser focuses on");
                                                
dialog.Text("~ranged combat, while Stomper excels in melee combat. I`m here representing the Chief to");
                                                
dialog.Text("~impart distinctive skills to the Windwalkers.");

                                                
dialog.Option("Learn~skills~of~Stomper."20);
                                                
dialog.Option("Learn~skills~of~Chaser."21);
                                                
dialog.Option("Learn~rebirth~skill."22);
                                                
dialog.Option("Learn~universal~skills."23);
                                                
dialog.Avatar(333);
                                                break;
                                            }
                                        
#endregion
                                        #region Learn~rebirth~skill
                                        
case 22:
                                            {
                                                
dialog.Text("Frost Gaze is an exclusive rebirth skill for Windwalker. The heroes who got reborn to be Windwalker can learn Frost Gaze I. If both of your precious andd");
                                                
dialog.Text("~current Class are Windwalker, you can learn Frost Gaze II. While for Windwalkers who were also a Windwalker in previous two lives, they can learn Frost Gaze III.");

                                                
dialog.Option("" Npcs.SkillWindWalker(15client), 41);
                                                
dialog.Option("I~want~to~learn~other~skills."42);
                                                
dialog.Option("I`ll~talk~to~you~later."255);
                                                
dialog.Avatar(333);
                                                break;
                                            }
                                        
#endregion
                                        #region Frost~Gaze~III
                                        
case 41:
                                            {
                                                if (
client.Entity.FirstRebornClass == 165 && client.Entity.SecondRebornClass == 165 && client.Entity.Class == 161)
                                                {

                                                    
dialog.Text("You have learned the Frost~Gaze~III  Skill of this class.");
                                                    
dialog.Option("Thank you master."255);
                                                    
dialog.Send();
                                                    
client.AddSpell(LearnableSpell(13080));
                                                    if (!
client.AddSpell(LearnableSpell(13080)))
                                                    {
                                                        
dialog.Text("You already know this skill.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                    }

                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region  I~want~to~learn~other~skills
                                        
case 42:
                                            {
                                                
dialog.Text("Our Windwalker school is divided into two branches: Chaser and Stomper. Chaser focuses on");
                                                
dialog.Text("~ranged combat, while Stomper excels in melee combat. I`m here representing the Chief to");
                                                
dialog.Text("~impart distinctive skills to the Windwalkers.");

                                                
dialog.Option("Learn~skills~of~Stomper."20);
                                                
dialog.Option("Learn~skills~of~Chaser."21);
                                                
dialog.Option("Learn~rebirth~skill."22);
                                                
dialog.Option("Learn~universal~skills."23);
                                                
dialog.Avatar(333);
                                                break;
                                            }
                                        
#endregion
                                        #region Learn~universal~skills
                                        
case 23:
                                            {
                                                
dialog.Text("Omnipotence and Justice Chant are basic skills for Windwalker, which are available to both Chaser and Stomper learners. I`ll teach you if you want.");

                                                
dialog.Option("" Npcs.SkillWindWalker(16client), 43);
                                                
dialog.Option("" Npcs.SkillWindWalker(17client), 44);
                                                
dialog.Option("I~want~to~learn~other~skills."45);
                                                
dialog.Option("I`ll~talk~to~you~later."255);
                                                
dialog.Avatar(333);
                                                break;
                                            }
                                        
#endregion
                                        #region Omnipotence~[Lv.3]
                                        
case 43:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 3)
                                                    {
                                                        
dialog.Text("You have learned the Omnipotence  Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12860));
                                                        if (!
client.AddSpell(LearnableSpell(12860)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 3 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region JusticeChant~[Lv.3]
                                        
case 44:
                                            {
                                                if (
client.Entity.Class >= 160 && client.Entity.Class <= 165)
                                                {
                                                    if (
client.Entity.Level >= 3)
                                                    {
                                                        
dialog.Text("You have learned the JusticeChant  Skill of this class.");
                                                        
dialog.Option("Thank you master."255);
                                                        
dialog.Send();
                                                        
client.AddSpell(LearnableSpell(12870));
                                                        if (!
client.AddSpell(LearnableSpell(12870)))
                                                        {
                                                            
dialog.Text("You already know this skill.");
                                                            
dialog.Option("Thank you master."255);
                                                            
dialog.Send();
                                                        }
                                                    }
                                                    else
                                                    {
                                                        
dialog.Text("You need to be level 3 or more.");
                                                        
dialog.Option("Alright."255);
                                                        
dialog.Send();
                                                    }
                                                }
                                                else
                                                {
                                                    
dialog.Text("I will not tell any of the WindWalker secrets to another class, so, good bye.");
                                                    
dialog.Option("Alright."255);
                                                    
dialog.Send();
                                                }
                                                break;
                                            }
                                        
#endregion
                                        #region I~want~to~learn~other~skills
                                        
case 45:
                                            {
                                                
dialog.Text("Our Windwalker school is divided into two branches: Chaser and Stomper. Chaser focuses on");
                                                
dialog.Text("~ranged combat, while Stomper excels in melee combat. I`m here representing the Chief to");
                                                
dialog.Text("~impart distinctive skills to the Windwalkers.");

                                                
dialog.Option("Learn~skills~of~Stomper."20);
                                                
dialog.Option("Learn~skills~of~Chaser."21);
                                                
dialog.Option("Learn~rebirth~skill."22);
                                                
dialog.Option("Learn~universal~skills."23);
                                                
dialog.Avatar(333);
                                                break;
                                            }
                                        
#endregion


                                    
}
                                    break;
                                }
                            
#endregion