Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #region WarriorGod
- case 10001:
- {
- dialog.Avatar(8);
- switch (npcRequest.OptionID)
- {
- case 0:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- dialog.Text("Warriors destory the enemies and sgield the Compatriots. but remember violence is a means of attaining a goal. Never let yourself sink into killing [MyThs-Co].");
- dialog.Option("Learn Skills for Fist.", 7);
- dialog.Option("Promote me.", 1);
- dialog.Option("Learn Shiled skills.", 2);
- dialog.Option("Learn Weapon skills.", 8);
- dialog.Option("Learn Pure skills.", 17);
- // dialog.Option("Claim bound items.", 49);
- dialog.Option("Wait a minute.", 255);
- dialog.Send();
- }
- else
- {
- dialog.Text("Only a warrior can learn what I have to teach. Our secrets are not for trade.");
- dialog.Option("I~understand.", 255);
- dialog.Send();
- }
- break;
- }
- #region BoundItems
- case 49:
- {
- dialog.Text("Hey how I can help you ? ");
- if (!client.BootsClaim)
- dialog.Option("Boots +2 - Free ", 53);
- if (!client.NecklaceClaim)
- dialog.Option("Necklace +2 - Free ", 30);
- if (!client.FanClaim)
- dialog.Option("Fan +2 - Free ", 4);
- if (!client.TowerClaim)
- dialog.Option("Tower +2 - Free ", 22);
- if (!client.ArmorClaim)
- dialog.Option("Armor +2 - Free", 27);
- if (!client.HeadgearClaim)
- dialog.Option("HeadGear +2 - Free", 34);
- if (!client.WeaponClaim)
- dialog.Option("Weapone +2 - Free", 26);
- if (!client.RingClaim)
- dialog.Option("Ring +2 - Free", 23);
- dialog.Send();
- break;
- }
- case 22:
- {
- uint itemid = 202009;
- byte level = 100;
- if (!client.TowerClaim)
- {
- if (client.Player.Level >= level)
- {
- ConquerItem item = new ConquerItem(true);
- item.ID = itemid; item.Color = COServer.Game.Enums.Color.White;
- item.Durability = item.MaximDurability = COServer.Database
- .ConquerItemInformation.BaseInformations[itemid].Durability;
- item.Bound = true;
- item.Plus = 5;
- //item.SocketOne = COServer.Game.Enums.Gem.SuperGloryGem;
- //item.SocketTwo = COServer.Game.Enums.Gem.SuperGloryGem;
- if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
- {
- client.TowerClaim = true;
- }
- else
- {
- dialog.Text("You need atleast one free slot in your inventory.");
- dialog.Option("Alright.", 255);
- dialog.Avatar(215);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("You don't have atleast level " + level + ".");
- dialog.Option("Alright.", 255);
- dialog.Avatar(215);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("You cannot claim it twice.");
- dialog.Option("Alright.", 255);
- dialog.Avatar(215);
- dialog.Send();
- }
- break;
- }
- case 4:
- {
- uint itemid = 201009;
- byte level = 100;
- if (!client.FanClaim)
- {
- if (client.Player.Level >= level)
- {
- ConquerItem item = new ConquerItem(true);
- item.ID = itemid; item.Color = COServer.Game.Enums.Color.White;
- item.Durability = item.MaximDurability = COServer.Database
- .ConquerItemInformation.BaseInformations[itemid].Durability;
- item.Bound = true;
- item.Plus = 5;
- //item.SocketOne = COServer.Game.Enums.Gem.SuperThunderGem;
- //item.SocketTwo = COServer.Game.Enums.Gem.SuperThunderGem;
- if (client.Inventory.Add(item, COServer.Game.Enums.ItemUse.CreateAndAdd))
- {
- client.FanClaim = true;
- }
- else
- {
- dialog.Text("You need atleast one free slot in your inventory.");
- dialog.Option("Alright.", 255);
- dialog.Avatar(215);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("You don't have atleast level " + level + ".");
- dialog.Option("Alright.", 255);
- dialog.Avatar(215);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("You cannot claim it twice.");
- dialog.Option("Alright.", 255);
- dialog.Avatar(215);
- dialog.Send();
- }
- break;
- }
- case 30:
- {
- uint itemid = 120129;
- ConquerItem items = new ConquerItem(true);
- items.ID = itemid;
- items.Color = COServer.Game.Enums.Color.White;
- items.Durability = items.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
- items.Bound = true;
- items.Plus = 2;
- //items.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
- //items.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
- if (client.Inventory.Add(items, COServer.Game.Enums.ItemUse.CreateAndAdd))
- {
- client.NecklaceClaim = true;
- }
- break;
- }
- case 53:
- {
- uint itemid = 160139;
- ConquerItem items = new ConquerItem(true);
- items.ID = itemid;
- items.Color = COServer.Game.Enums.Color.White;
- items.Plus = 2;
- items.Bound = true;
- //items.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
- //items.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
- items.Durability = items.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
- if (client.Inventory.Add(items, COServer.Game.Enums.ItemUse.CreateAndAdd))
- {
- client.BootsClaim = true;
- }
- break;
- }
- case 23:
- {
- uint itemid = 150139;
- ConquerItem items = new ConquerItem(true);
- items.ID = itemid;
- items.Color = COServer.Game.Enums.Color.White;
- items.Plus = 2;
- items.Bound = true;
- //items.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
- //items.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
- items.Durability = items.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
- if (client.Inventory.Add(items, COServer.Game.Enums.ItemUse.CreateAndAdd))
- {
- client.RingClaim = true;
- }
- break;
- }
- case 26:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- uint itemid = 900139;
- ConquerItem itemss = new ConquerItem(true);
- itemss.ID = itemid;
- itemss.Color = COServer.Game.Enums.Color.White;
- itemss.Plus = 2;
- itemss.Bound = true;
- //itemss.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
- //itemss.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
- itemss.Durability = itemss.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
- if (client.Inventory.Add(itemss, COServer.Game.Enums.ItemUse.CreateAndAdd))
- {
- client.WeaponClaim = true;
- }
- ConquerItem items = new ConquerItem(true);
- items.ID = 561139;
- items.Color = COServer.Game.Enums.Color.White;
- items.Plus = 2;
- items.Bound = true;
- //items.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
- //items.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
- items.Durability = items.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
- if (client.Inventory.Add(items, COServer.Game.Enums.ItemUse.CreateAndAdd))
- {
- client.WeaponClaim = true;
- }
- }
- break;
- }
- case 27:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- uint itemid = 131069;
- ConquerItem items = new ConquerItem(true);
- items.ID = itemid;
- items.Color = COServer.Game.Enums.Color.White;
- items.Plus = 2;
- items.Bound = true;
- //items.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
- //items.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
- items.Durability = items.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
- if (client.Inventory.Add(items, COServer.Game.Enums.ItemUse.CreateAndAdd))
- {
- client.ArmorClaim = true;
- }
- }
- break;
- }
- case 34:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- uint itemid = 111069;
- ConquerItem items = new ConquerItem(true);
- items.ID = itemid;
- items.Color = COServer.Game.Enums.Color.White;
- items.Plus = 2;
- items.Bound = true;
- //items.SocketOne = COServer.Game.Enums.Gem.EmptySocket;
- //items.SocketTwo = COServer.Game.Enums.Gem.EmptySocket;
- items.Durability = items.MaximDurability = COServer.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
- if (client.Inventory.Add(items, COServer.Game.Enums.ItemUse.CreateAndAdd))
- {
- client.HeadgearClaim = true;
- }
- }
- break;
- }
- #endregion
- #region Promote
- case 1:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- if (client.Player.Class == 25)
- {
- dialog.Text("You cannot be promoted anymore. You have mastered your class.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- }
- else
- {
- dialog.Text("To promote now you need" + client.PromoteItemNameNeed + " level " + client.PromoteLevelNeed + ".");
- dialog.Option("Promote me sir.", 3);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- case 3:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- if (client.Player.Class == 25)
- {
- 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.PromoteItemGain, 0, 1);
- client.Player.Class++;
- client.Player.Update(_String.Mode.Effect, "end_task", true);
- 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.PromoteItemNeed, client.PromoteItemCountNeed) && client.Player.Level >= client.PromoteLevelNeed)
- {
- client.Inventory.Remove(client.PromoteItemNeed, client.PromoteItemCountNeed);
- client.Inventory.Add(client.PromoteItemGain, 0, 1);
- client.Player.Class++;
- client.Player.Update(_String.Mode.Effect, "end_task", true);
- 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 warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- #endregion
- #region all Skills
- case 2:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- dialog.Text("Let me know what you want to learn.");
- dialog.Option("XP Skills (Lvl 40).", 5);
- dialog.Option("Dash (Lvl 61).", 6);
- dialog.Option("Shield Block (Lvl 40).", 9);
- dialog.Option("Defensive Stance (Lvl 70).", 10);
- dialog.Option("Magic Defender (Lvl 40).", 11);
- dialog.Send();
- }
- else
- {
- dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- case 7:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- dialog.Text("If You`r interested in the skills for fist. I`m glad to give some guidance.");
- dialog.Option("Sceare of Earth. (Lv.40).", 77);
- dialog.Option("Wave or Blood (Lv.40).", 88);
- dialog.Option("Maniac Dance.(Lv.40).", 99);
- dialog.Option("Twist of war.(Lv.70).", 55);
- dialog.Option("Backfire (Lvl 40).", 66);
- dialog.Send();
- }
- else
- {
- dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- #region Sceare
- case 77:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- if (client.Player.Level >= 40)
- {
- dialog.Text("You have learned the Sceare of Earth of this Fist.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- client.AddSpell(LearnableSpell(12670));
- if (!client.AddSpell(LearnableSpell(12670)))
- {
- dialog.Text("You already know this skill.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Sorry , you can't get Sceare of Earth because you are not level 40 or more.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- #endregion
- #region Wave or Blood
- case 88:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- if (client.Player.Level >= 70)
- {
- dialog.Text("You have learned the Wave or Blood of this class.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- client.AddSpell(LearnableSpell(12690));
- if (!client.AddSpell(LearnableSpell(12690)))
- {
- dialog.Text("You already know this skill.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Sorry , you can't get Wave or Blood because you are not level 40 or more.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- #endregion
- #region Maniac Dance
- case 99:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- if (client.Player.Level >= 40)
- {
- dialog.Text("You have learned the Maniac Dance of this class.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- client.AddSpell(LearnableSpell(12700));
- if (!client.AddSpell(LearnableSpell(12700)))
- {
- dialog.Text("You already know this skill.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Sorry , you can't get Maniac Dance because you are not level 40 or more.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- #endregion
- #region Twist of war
- case 55:
- {//youssef
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- if (client.Player.Level >= 70)
- {
- dialog.Text("You have learned the Twist of war of this class.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- client.AddSpell(LearnableSpell(12660));
- if (!client.AddSpell(LearnableSpell(12660)))
- {
- dialog.Text("You already know this skill.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Sorry , you can't get Twist of war because you are not level 40 or more.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- #endregion
- #region Back Fire
- case 66:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {//youssef
- if (client.Player.Level >= 61)
- {
- dialog.Text("You have learned the Twist of war Skill of this class.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- client.AddSpell(LearnableSpell(12680));
- if (!client.AddSpell(LearnableSpell(12680)))
- {
- dialog.Text("You already know this skill.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("You need to be level 61 or more.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- #endregion
- case 8:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- if (client.Player.Level >= 40)
- {
- dialog.Text("You have learned the Fast/Sceand of this class.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- client.AddSpell(LearnableSpell(1045));
- client.AddSpell(LearnableSpell(1046));
- if (!client.AddSpell(LearnableSpell(1045)))
- if (!client.AddSpell(LearnableSpell(1046)))
- {
- dialog.Text("You already know this skill.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Sorry , you can't get Fast/Sceand because you are not level 40 or more.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- case 17:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- if (client.Player.Level >= 40)
- {
- dialog.Text("You have learned the Perseverance of this class.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- client.AddSpell(LearnableSpell(10311));
- if (!client.AddSpell(LearnableSpell(10311)))
- {
- dialog.Text("You already know this skill.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Sorry , you can't get Perseverance because you are not level 40 or more.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- case 11:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- if (client.Player.Level >= 40)
- {
- dialog.Text("You have learned the Magic Defender of this class.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- client.AddSpell(LearnableSpell(11200));
- if (!client.AddSpell(LearnableSpell(11200)))
- {
- dialog.Text("You already know this skill.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Sorry , you can't get Magic Defender because you are not level 40 or more.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- case 10:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- if (client.Player.Level >= 70)
- {
- dialog.Text("You have learned the Defensive Stance of this class.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- client.AddSpell(LearnableSpell(11160));
- if (!client.AddSpell(LearnableSpell(11160)))
- {
- dialog.Text("You already know this skill.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Sorry , you can't get Defensive Stance because you are not level 40 or more.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- case 9:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- if (client.Player.Level >= 40)
- {
- dialog.Text("You have learned the Shield Block of this class.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- client.AddSpell(LearnableSpell(10470));
- if (!client.AddSpell(LearnableSpell(10470)))
- {
- dialog.Text("You already know this skill.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("Sorry , you can't get Shield Block because you are not level 40 or more.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("I will not tell any of the Warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- case 5:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- if (client.Player.Level >= 40)
- {
- dialog.Text("You have learned the XP Skills of this class.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- client.AddSpell(LearnableSpell(1025));
- client.AddSpell(LearnableSpell(1020));
- client.AddSpell(LearnableSpell(1015));
- }
- 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 warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- case 6:
- {
- if (client.Player.Class >= 20 && client.Player.Class <= 25)
- {
- if (client.Player.Level >= 61)
- {
- dialog.Text("You have learned the Dash Skill of this class.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- client.AddSpell(LearnableSpell(1051));
- if (!client.AddSpell(LearnableSpell(1051)))
- {
- dialog.Text("You already know this skill.");
- dialog.Option("Thank you master.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("You need to be level 61 or more.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- }
- else
- {
- dialog.Text("I will not tell any of the warrior secrets to another class, so, good bye.");
- dialog.Option("Alright.", 255);
- dialog.Send();
- }
- break;
- }
- #endregion
- }
- break;
- }
- #endregion
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement