MRonlineGvrix
2020-02-13, 04:37 PM
المونك
#region Monk Maestro
case 4271:
{
dialog.Avatar(226);
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.Class >= 60 && client.Entity.Class <= 65)
{
dialog.Text("I am the coach monk, master of balance and harmony destruction What do you want, young monk.?");
dialog.Option("Promoverne", 1);
dialog.Option("Learn skills.", 2);
dialog.Option("Epic skills.", 33);
// dialog.Option("Epic~Quest~(L70,~2nd-reborn).", 33);
dialog.Option("Claim bound items.", 49);
dialog.Option("Wait a minute.", 255);
dialog.Send();
}
else
{
dialog.Text("Sorry, but I can only teach the monks / Santos of these lessons We can not share our traditional knowledge to those who do not share the faith..");
dialog.Text("~ You should go talk to his own coach, if you are looking to improve their own skills.");
dialog.Option("Okay.", 255);
dialog.Send();
}
break;
}
#region BoundItems
case 49:
{
dialog.Text("Hey how I can help you ? ");
if (!client.BootsClaim)
dialog.Option("Boots +4 - TwoSocket - Free ", 53);
if (!client.NecklaceClaim)
dialog.Option("Necklace +4 - TwoSocket - Free ", 30);
if (!client.FanClaim)
dialog.Option("Fan +4 - TwoSocket - Free ", 4);
if (!client.TowerClaim)
dialog.Option("Tower +4 - TwoSocket - Free ", 22);
if (!client.ArmorClaim)
dialog.Option("Armor +4 - TwoSocket - Free", 27);
if (!client.HeadgearClaim)
dialog.Option("HeadGear +4 - TwoSocket - Free", 76);
if (!client.WeaponClaim)
dialog.Option("Weapone +4 - TwoSocket - Free", 26);
if (!client.RingClaim)
dialog.Option("Ring +4 - TwoSocket - Free", 23);
dialog.Send();
break;
}
case 22:
{
uint itemid = 202009;
byte level = 100;
if (!client.TowerClaim)
{
if (client.Entity.Level >= level)
{
ConquerItem item = new ConquerItem(true);
item.ID = itemid; item.Color = Game.Enums.Color.White;
item.Durability = item.MaximDurability = Database
.ConquerItemInformation.BaseInformations[itemid].Durability;
item.Bound = true;
item.Plus = 4;
item.SocketOne = Game.Enums.Gem.SuperGloryGem;
item.SocketTwo = Game.Enums.Gem.SuperGloryGem;
if (client.Inventory.Add(item, 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.Entity.Level >= level)
{
ConquerItem item = new ConquerItem(true);
item.ID = itemid; item.Color = Game.Enums.Color.White;
item.Durability = item.MaximDurability = Database
.ConquerItemInformation.BaseInformations[itemid].Durability;
item.Bound = true;
item.Plus = 4;
item.SocketOne = Game.Enums.Gem.SuperThunderGem;
item.SocketTwo = Game.Enums.Gem.SuperThunderGem;
if (client.Inventory.Add(item, 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 = Game.Enums.Color.White;
items.Durability = items.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid].Durability;
items.Bound = true;
items.Plus = 5;
items.SocketOne = Game.Enums.Gem.EmptySocket;
items.SocketTwo = Game.Enums.Gem.EmptySocket;
if (client.Inventory.Add(items, Game.Enums.ItemUse.CreateAndAdd))
{
client.NecklaceClaim = true;
}
break;
}
case 53:
{
uint itemid = 160139;
ConquerItem items = new ConquerItem(true);
items.ID = itemid;
items.Color = Game.Enums.Color.White;
items.Plus = 5;
items.Bound = true;
items.SocketOne = Game.Enums.Gem.EmptySocket;
items.SocketTwo = Game.Enums.Gem.EmptySocket;
items.Durability = items.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(items, Game.Enums.ItemUse.CreateAndAdd))
{
client.BootsClaim = true;
}
break;
}
case 23:
{
uint itemid = 150139;
ConquerItem items = new ConquerItem(true);
items.ID = itemid;
items.Color = Game.Enums.Color.White;
items.Plus = 5;
items.Bound = true;
items.SocketOne = Game.Enums.Gem.EmptySocket;
items.SocketTwo = Game.Enums.Gem.EmptySocket;
items.Durability = items.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(items, Game.Enums.ItemUse.CreateAndAdd))
{
client.RingClaim = true;
}
break;
}
case 26:
{
if (client.Entity.Class >= 60 && client.Entity.Class <= 65)
{
uint itemid = 610139;
ConquerItem itemss = new ConquerItem(true);
itemss.ID = itemid;
itemss.Color = Game.Enums.Color.White;
itemss.Plus = 5;
itemss.Bound = true;
itemss.SocketOne = Game.Enums.Gem.EmptySocket;
itemss.SocketTwo = Game.Enums.Gem.EmptySocket;
itemss.Durability = itemss.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(itemss, Game.Enums.ItemUse.CreateAndAdd))
{
client.WeaponClaim = true;
}
ConquerItem items = new ConquerItem(true);
items.ID = itemid;
items.Color = Game.Enums.Color.White;
items.Plus = 5;
items.Bound = true;
items.SocketOne = Game.Enums.Gem.EmptySocket;
items.SocketTwo = Game.Enums.Gem.EmptySocket;
items.Durability = items.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(items, Game.Enums.ItemUse.CreateAndAdd))
{
client.WeaponClaim = true;
}
}
break;
}
case 27:
{
if (client.Entity.Class >= 60 && client.Entity.Class <= 65)
{
uint itemid = 136069;
ConquerItem items = new ConquerItem(true);
items.ID = itemid;
items.Color = Game.Enums.Color.White;
items.Plus = 5;
items.Bound = true;
items.SocketOne = Game.Enums.Gem.EmptySocket;
items.SocketTwo = Game.Enums.Gem.EmptySocket;
items.Durability = items.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(items, Game.Enums.ItemUse.CreateAndAdd))
{
client.ArmorClaim = true;
}
}
break;
}
case 76:
{
if (client.Entity.Class >= 60 && client.Entity.Class <= 65)
{
uint itemid = 143069;
ConquerItem items = new ConquerItem(true);
items.ID = itemid;
items.Color = Game.Enums.Color.White;
items.Plus = 5;
items.Bound = true;
items.SocketOne = Game.Enums.Gem.EmptySocket;
items.SocketTwo = Game.Enums.Gem.EmptySocket;
items.Durability = items.MaximDurability = Database.ConquerItemInformation.BaseInformations[itemid].Durability;
if (client.Inventory.Add(items, Game.Enums.ItemUse.CreateAndAdd))
{
client.HeadgearClaim = true;
}
}
break;
}
#endregion
النينجا
#region NinjaMaster
case 4720:
{
dialog.Avatar(203);
byte mClass = 50;
byte MClass = 55;
string Class = "ninja";
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
dialog.Text("I am the master of the no sound attack and the master of the katanas. As I see, you started your way on conquering this world. I will try to help you teaching you warrir skills and promoting you.");
dialog.Option("Promote me.", 1);
dialog.Option("Learn skills.", 2);
dialog.Option("Learn Epic Shadow Skills.", 76);
dialog.Option("Learn skills Scyth.", 59);
//dialog.Option("Learn skills Gaping Wounds.", 69);
dialog.Option("Prize Stuff +7 (s)1 -5 Here.", 49);
dialog.Option("Wait a minute.", 255);
dialog.Send();
}
else
{
dialog.Text("Fancy the skills of Ninja, huh? But the secrets of Ninja are not for trade. Find your own trainer, please.");
dialog.Option("What~a~shame!", 255);
dialog.Send();
}
break;
}
#region BoundItems
case 49:
{
dialog.Text("Hey how I can help you ? ");
if (!client.BootsClaim)
dialog.Option("Boots +7 (s)1 -5 Free ", 53);
if (!client.NecklaceClaim)
dialog.Option("Necklace +7 (s)1 -5 Free ", 30);
if (!client.FanClaim)
dialog.Option("Fan +7 (s)1 -1 Free ", 4);
if (!client.TowerClaim)
dialog.Option("Tower +7 (s)1 -1 Free ", 22);
if (!client.ArmorClaim)
dialog.Option("Armor +7 (s)1 -5 Free", 27);
if (!client.HeadgearClaim)
dialog.Option("HeadGear +7 (s)1 -5 Free", 25);
if (!client.WeaponClaim)
dialog.Option("Weapone.x4 +7 (s)1 -5 Free", 26);
if (!client.RingClaim)
dialog.Option("Ring +7 (s)1 -5 Free", 23);
dialog.Send();
break;
}
case 22:
{
uint itemid = 202009;
byte level = 100;
if (!client.TowerClaim)
{
if (client.Entity.Level >= level)
{
ConquerItem item = new ConquerItem(true);
item.ID = itemid; item.Color = KhaledMohamed.Game.Enums.Color.White;
item.Durability = item.MaximDurability = KhaledMohamed.Database
.ConquerItemInformation.BaseInformations[itemid].Durability;
item.Bound = true;
item.Plus = 7;
item.Bless = 1;
item.SocketOne = KhaledMohamed.Game.Enums.Gem.EmptySocket;
//item.SocketTwo = KhaledMohamed.Game.Enums.Gem.SuperGloryGem;
if (client.Inventory.Add(item, KhaledMohamed.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.Entity.Level >= level)
{
ConquerItem item = new ConquerItem(true);
item.ID = itemid; item.Color = KhaledMohamed.Game.Enums.Color.White;
item.Durability = item.MaximDurability = KhaledMohamed.Database
.ConquerItemInformation.BaseInformations[itemid].Durability;
item.Bound = true;
item.Plus = 7;
item.Bless = 1;
item.SocketOne = KhaledMohamed.Game.Enums.Gem.EmptySocket;
//item.SocketTwo = KhaledMohamed.Game.Enums.Gem.SuperThunderGem;
if (client.Inventory.Add(item, KhaledMohamed.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 = KhaledMohamed.Game.Enums.Color.White;
items.Durability = items.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.Base Informations[itemid].Durability;
items.Bound = true;
items.Plus = 7;
items.Bless = 5;
items.SocketOne = KhaledMohamed.Game.Enums.Gem.EmptySocket;
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
if (client.Inventory.Add(items, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
{
client.NecklaceClaim = true;
}
break;
}
case 53:
{
uint itemid = 160139;
ConquerItem items = new ConquerItem(true);
items.ID = itemid;
items.Color = KhaledMohamed.Game.Enums.Color.White;
items.Plus = 7;
items.Bless = 5;
items.Bound = true;
items.SocketOne = KhaledMohamed.Game.Enums.Gem.EmptySocket;
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
items.Durability = items.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.Base Informations[itemid].Durability;
if (client.Inventory.Add(items, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
{
client.BootsClaim = true;
}
break;
}
case 23:
{
uint itemid = 150139;
ConquerItem items = new ConquerItem(true);
items.ID = itemid;
items.Color = KhaledMohamed.Game.Enums.Color.White;
items.Plus = 7;
items.Bless = 5;
items.Bound = true;
items.SocketOne = KhaledMohamed.Game.Enums.Gem.EmptySocket;
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
items.Durability = items.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.Base Informations[itemid].Durability;
if (client.Inventory.Add(items, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
{
client.RingClaim = true;
}
break;
}
case 26:
{
if (client.Entity.Class >= 50 && client.Entity.Class <= 55)
{
uint itemid = 601139;
ConquerItem itemss = new ConquerItem(true);
itemss.ID = itemid;
itemss.Color = KhaledMohamed.Game.Enums.Color.White;
itemss.Plus = 7;
itemss.Bless = 5;
itemss.Bound = true;
itemss.SocketOne = KhaledMohamed.Game.Enums.Gem.EmptySocket;
// //itemss.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
itemss.Durability = itemss.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.Base Informations[itemid].Durability;
if (client.Inventory.Add(itemss, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
{
client.WeaponClaim = true;
}
ConquerItem items = new ConquerItem(true);
items.ID = itemid;
items.Color = KhaledMohamed.Game.Enums.Color.White;
items.Plus = 7;
items.Bless = 5;
items.Bound = true;
items.SocketOne = KhaledMohamed.Game.Enums.Gem.EmptySocket;
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
items.Durability = items.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.Base Informations[itemid].Durability;
if (client.Inventory.Add(items, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
{
client.WeaponClaim = true;
}
ConquerItem itemsss = new ConquerItem(true);
itemsss.ID = 616139;
itemsss.Color = KhaledMohamed.Game.Enums.Color.White;
itemsss.Plus = 7;
itemsss.Bound = true;
itemsss.Bless = 5;
itemsss.SocketOne = KhaledMohamed.Game.Enums.Gem.EmptySocket;
// itemsss.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
itemsss.Durability = itemsss.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.Base Informations[itemid].Durability;
if (client.Inventory.Add(itemsss, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
{
client.WeaponClaim = true;
}
ConquerItem itemssss = new ConquerItem(true);
itemssss.ID = 616139;
itemssss.Color = KhaledMohamed.Game.Enums.Color.White;
itemssss.Plus = 7;
itemssss.Bless = 5;
itemssss.Bound = true;
itemssss.SocketOne = KhaledMohamed.Game.Enums.Gem.EmptySocket;
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
itemssss.Durability = itemssss.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.Base Informations[itemid].Durability;
if (client.Inventory.Add(itemssss, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
{
client.WeaponClaim = true;
}
}
break;
}
case 27:
{
if (client.Entity.Class >= 50 && client.Entity.Class <= 55)
{
uint itemid = 135069;
ConquerItem items = new ConquerItem(true);
items.ID = itemid;
items.Color = KhaledMohamed.Game.Enums.Color.White;
items.Plus = 7;
items.Bless = 5;
items.Bound = true;
items.SocketOne = KhaledMohamed.Game.Enums.Gem.EmptySocket;
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
items.Durability = items.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.Base Informations[itemid].Durability;
if (client.Inventory.Add(items, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
{
client.ArmorClaim = true;
}
}
break;
}
case 25:
{
if (client.Entity.Class >= 50 && client.Entity.Class <= 55)
{
uint itemid = 112069;
ConquerItem items = new ConquerItem(true);
items.ID = itemid;
items.Color = KhaledMohamed.Game.Enums.Color.White;
items.Plus = 7;
items.Bless = 5;
items.Bound = true;
items.SocketOne = KhaledMohamed.Game.Enums.Gem.EmptySocket;
// items.SocketTwo = KhaledMohamed.Game.Enums.Gem.EmptySocket;
items.Durability = items.MaximDurability = KhaledMohamed.Database.ConquerItemInformation.Base Informations[itemid].Durability;
if (client.Inventory.Add(items, KhaledMohamed.Game.Enums.ItemUse.CreateAndAdd))
{
client.HeadgearClaim = true;
}
}
break;
}
#endregion
case 76:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
dialog.Text("Let me know what you want to learn.");
dialog.Option("TwilightDance.", 80);
dialog.Option("ShadowClone.", 81);
dialog.Option("FatalSpin.", 83);
dialog.Option("Nothing.", 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;
}
case 80:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 15)
{
dialog.Text("You have learned the TwilightDance.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(12070));
}
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 " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 81:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(12090)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the FrankoClone.");
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 " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 82:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(12080)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the SuperTwofoldBlade.");
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 " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 83:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 15)
{
if (!client.AddSpell(LearnableSpell(12110)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the FatalSpin.");
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 " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 59:
{
dialog.Option("Learn Bloody Scythe.", 60);
dialog.Option("Learn Mortal Drag ", 61);
dialog.Option("Alright.", 255);
dialog.Send();
break;
}
case 69:
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(11230)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the Gaping Wounds.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11230));
}
else
{
dialog.Text("You need to be level 20 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 60:
{
if (client.Entity.Level >= 20)
{
if (!client.AddSpell(LearnableSpell(11170)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the Bloody Scythe.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11170));
}
else
{
dialog.Text("You need to be level 20 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 61:
{
if (client.Entity.Level >= 20)
{
if (!client.AddSpell(LearnableSpell(11180)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the Mortal Drag.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(11180));
}
else
{
dialog.Text("You need to be level 20 or more.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 1:
{
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
{
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 " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
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.PromoteItemGain, 0, 1);
client.Entity.Class++;
client.Entity.Update(10, "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.Entity.Level >= client.PromoteLevelNeed)
{
client.Inventory.Remove(client.PromoteItemNeed, client.PromoteItemCountNeed);
client.Inventory.Add(client.PromoteItemGain, 0, 1);
client.Entity.Class++;
client.Entity.Update(10, "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 " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 2:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
dialog.Text("Let me know what you want to learn. '[...]' and '{...}' means ninja as second life and ninja as third life.");
dialog.Option("FatalStrick (Lvl 15).", 11);
dialog.Option("TwofoldBlades (Lvl 40).", 5);
dialog.Option("SuperTwofoldBlade (Lvl 40).", 82);
dialog.Option("ToxicFog (Lvl 70).", 6);
dialog.Option("ShurikenVortex (Lvl 70).", 10);
dialog.Option("PoisonStar [Lvl 70].", 7);
dialog.Option("ArcherBane (Lvl 110).", 9);
dialog.Option("Nothing.", 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;
}
case 11:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(6011)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the TwofoldBlades.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(6011));
}
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 " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 5:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 40)
{
if (!client.AddSpell(LearnableSpell(6000)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the TwofoldBlades.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(6000));
}
else
{
dialog.Text("You need to be level 23 or more.");
dialog.Option("Alright.", 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;
}
case 6:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 70)
{
if (!client.AddSpell(LearnableSpell(6001)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the ToxicFog.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(6001));
}
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 " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 7:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 70)
{
if ((client.Entity.Reborn == 1 && client.Entity.Class == 55) || (client.Entity.Reborn == 2 && client.Entity.SecondRebornClass == 55))
{
if (!client.AddSpell(LearnableSpell(6002)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the PoisonStar.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(6002));
}
else
{
dialog.Text("You need to be ninja in the second life.");
dialog.Option("Alright.", 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 " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 8:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 70)
{
if (client.Entity.Reborn == 2 && client.Entity.Class == 55)
{
if (!client.AddSpell(LearnableSpell(6003)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the CounterKill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(6003));
}
else
{
dialog.Text("You need to be ninja in the third life.");
dialog.Option("Alright.", 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 " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 9:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 110)
{
if (!client.AddSpell(LearnableSpell(6004)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the ArcherBane.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(6004));
}
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 " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
case 10:
{
if (client.Entity.Class >= mClass && client.Entity.Class <= MClass)
{
if (client.Entity.Level >= 70)
{
if (!client.AddSpell(LearnableSpell(6010)))
{
dialog.Text("You already know this skill.");
dialog.Option("Thank you master.", 255);
dialog.Send();
break;
}
dialog.Text("You have learned the ShurikenVortex.");
dialog.Option("Thank you master.", 255);
dialog.Send();
client.AddSpell(LearnableSpell(6010));
}
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 " + Class + " secrets to another class, so, good bye.");
dialog.Option("Alright.", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
الاضفات فى القاعدة شيك عليها