|
المشاركات 2 |
+التقييم 0.00 |
تاريخ التسجيل Feb 2020 |
الاقامة |
نظام التشغيل |
رقم العضوية 3466 |
#region All Queste Day
// case 141198:
case 141199:
{
dialog.Avatar(67);
switch (npcRequest.OptionID)
{
case 0:
{
{
dialog.Text("Hey there > " + client.Entity.Name + " < No Questes for now -_-");
dialog.Option("Ok Thanks.", 255);
// client.Entity.Update(_String.Effect, "ErLongTengFei", true);
dialog.Send();
}
if (DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 3)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Top WarriorTop PKWar?.");
dialog.Option("Yea Teleport me Please WarriorTop!!", 100);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 6 && DateTime.Now.Minute <= 9)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join ToP ArcherTop PKWar?.");
dialog.Option("Yea Teleport me Please ArcherTop!!", 101);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 12 && DateTime.Now.Minute <= 15)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Top NinjaTop PKWar?.");
dialog.Option("Yea Teleport me Please NinjaTop!!", 102);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 18 && DateTime.Now.Minute <= 21)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join TopMonk Pk?.");
dialog.Option("Yea Teleport me Please TopMonk!!", 103);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 24 && DateTime.Now.Minute <= 27)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join TopTrojan PK PKWar?.");
dialog.Option("Yea Teleport me Please TopTrojan!!", 104);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
//if (DateTime.Now.Minute >= 30 && DateTime.Now.Minute <= 33)
//{
// dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Top TaoistMoon PKWar?.");
// dialog.Option("Yea Teleport me Please TaoistMoon!!", 105);
// dialog.Option("I`ll~think~about~it.", 255);
// dialog.Send();
//}
if (DateTime.Now.Minute >= 36 && DateTime.Now.Minute <= 39)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Top PiratLord ?.");
dialog.Option("Yea Teleport me Please PiratLord!!", 106);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 42 && DateTime.Now.Minute <= 45)
{
dialog.Text("Hey there " + client.Entity.Name + " Would you like to join Top KungFuKing PKWar?.");
dialog.Option("Yea Teleport me Please KungFuKing!!", 107);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 48 && DateTime.Now.Minute <= 51)
{
dialog.Text("Hello " + client.Entity.Name + "I Can Let You Join The Cps War.");
dialog.Text("Start Every Hours At (××:48) The End (××:51) Your Make 5 Muints SinglUp.");
dialog.Text("If You Need To Join Cps War a " + ServerRates.Tops + " CPs Cps In Your Inventory If You Killed Any Entity U Will Drop " + ServerRates.Tops + " From Him Also If U Died U will Lose " + ServerRates.Tops + " Cps");
dialog.Option("Yea Teleport me Please CpsWar!!", 108);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
if (DateTime.Now.Minute >= 54 && DateTime.Now.Minute <= 57)
{
dialog.Text("Hey there > " + client.Entity.Name + " < Would you like to join Windwalker~PK ?.");
dialog.Option("Yea Teleport me Please Windwalker~PK!!", 109);
dialog.Option("I`ll~think~about~it.", 255);
dialog.Send();
}
break;
}
case 100:
{
if (DateTime.Now.Minute >= 00 && DateTime.Now.Minute <= 3)
{
Random R = new Random();
int Nr = R.Next(1, 1);
if (Nr == 1) client.Entity.Teleport(2536, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top WarriorTop Pk War is held during xx:00 to xx:3 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 101:
{
if (DateTime.Now.Minute >= 6 && DateTime.Now.Minute <= 9)
{
client.Entity.Teleport(8541, 108, 122);
}
else
{
dialog.Text("[ ArcherTop PK] War is held during [xx:06] To [xx:09] in every Hour");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 102:
{
if (DateTime.Now.Minute >= 12 && DateTime.Now.Minute <= 15)
{
Random R = new Random();
int Nr = R.Next(1, 1);
if (Nr == 1) client.Entity.Teleport(2529, 57, 51);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top NinjaTop Pk War is held during xx:12 to xx:15 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 103:
{
if (DateTime.Now.Minute >= 18 && DateTime.Now.Minute <= 21)
{
Random R = new Random();
int Nr = R.Next(1, 1);
if (Nr == 1) client.Entity.Teleport(2528, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top MonkTop Pk War is held during xx:18 to xx:21 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 104:
{
if (DateTime.Now.Minute >= 24 && DateTime.Now.Minute <= 27)
{
Random R = new Random();
int Nr = R.Next(1, 1);
if (Nr == 1) client.Entity.Teleport(2538, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top Trojan Pk War is held during xx:24 to xx:27 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 105:
{
if (DateTime.Now.Minute >= 30 && DateTime.Now.Minute <= 33)
{
Random R = new Random();
int Nr = R.Next(1, 1);
// if (Nr == 1) client.Entity.Teleport(2537, 50, 50);
if (Nr == 1) client.Entity.Teleport(2222, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top TaoistMoon Pk War is held during xx:30 to xx:33 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 106:
{
if (DateTime.Now.Minute >= 36 && DateTime.Now.Minute <= 39)
{
Random R = new Random();
int Nr = R.Next(1, 1);
if (Nr == 1) client.Entity.Teleport(2527, 50, 50);
// if (Nr == 1) client.Entity.Teleport(5928, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top PiratLord Pk War is held during xx:36 to xx:39 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 107:
{
if (DateTime.Now.Minute >= 42 && DateTime.Now.Minute <= 45)
{
Random R = new Random();
int Nr = R.Next(1, 1);
if (Nr == 1) client.Entity.Teleport(321, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Top KungFuKing Pk War is held during xx:6 to xx:9 you have 4 min to signup ");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
case 108:
{
if (DateTime.Now.Minute >= 48 && DateTime.Now.Minute <= 51)
{
if (client.Entity.ConquerPoints >= ServerRates.Tops)
{
client.Entity.Teleport(6565, 39, 35);
if (client.Entity.MyClones.Count > 0)
{
var clones = client.Entity.MyClones.Values.ToArray();
for (int i = 0; i < clones.Length; i++)
{
var item = clones[i];
if (item == null)
continue;
Data data = new Data(true);
data.UID = item.UID;
data.ID = Network.GamePackets.Data.RemoveEntity;
client.Entity.Owner.SendScreen(data);
client.Entity.MyClones[item.UID] = null;
}
client.Entity.MyClones.Clear();
}
}
else
{
dialog.Text("Sorry Your Dont Make " + ServerRates.Tops + " CPs");
dialog.Option("Thanks.", 255);
dialog.Avatar(116);
dialog.Send();
}
break;
}
else
{
dialog.Text("Sorry i Can Let You join The Event Now Come again Later On (××:48) Off (××:51).");
dialog.Option("Thanks.", 255);
dialog.Avatar(116);
dialog.Send();
break;
}
//break;
}
case 109:
{
if (DateTime.Now.Minute >= 54 && DateTime.Now.Minute <= 57)
{
Random R = new Random();
int Nr = R.Next(1, 1);
client.Entity.Teleport(9575, 50, 50);
client.Entity.PKMode = Game.Enums.PKMode.Team;
client.Send(new Data(true) { UID = client.Entity.UID, ID = Data.ChangePKMode, dwParam = (uint)client.Entity.PKMode });
}
else
{
dialog.Text("Hey there > " + client.Entity.Name + "Would you like to join Windwalker~PK ?.");
dialog.Option("I don't care.", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
#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.BaseInformations[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.BaseInformations[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.BaseInformations[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.BaseInformations[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.BaseInformations[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.BaseInformations[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.BaseInformations[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.BaseInformations[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.BaseInformations[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
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
مشكلة سوبر جليد وار محتاج حد من المشرفين بعد اذنكم | megokarika | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2020-03-04 01:02 AM |
عندي مشكله ف الجوب سنتر | mohamedomar | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-02-15 01:31 PM |
سوبر جيلد وار | Peter | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-08-31 01:49 AM |
يارب لو عملتلي المشكلة دي تخش الجنة | asmo2003 | مشكلات السيرفيرات كونكر الشخصيه | 10 | 2019-08-30 03:38 PM |
عاوز اضيف سوبر جيلد وير | abuhaneen | مشكلات السيرفيرات كونكر الشخصيه | 3 | 2019-07-13 10:39 AM |