|
المشاركات 151 |
+التقييم 0.07 |
تاريخ التسجيل Apr 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 11 |
#region Misc
#region Books
case 3007301:
{
if (client.Inventory.Count <= 22)
{
client.Inventory.Remove(item, Game.Enums.ItemUse.Remove);
client.Inventory.AddBound(3005365, 0, 1);
client.Inventory.AddBound(3005366, 0, 1);
client.Inventory.AddBound(3005395, 0, 1);
client.Inventory.AddBound(3005396, 0, 1);
client.Inventory.AddBound(3005397, 0, 1);
client.Inventory.AddBound(3005398, 0, 1);
client.Inventory.AddBound(3005399, 0, 1);
client.Inventory.AddBound(3005400, 0, 1);
client.Inventory.AddBound(3005401, 0, 1);
client.Inventory.AddBound(3007113, 0, 1);
client.Inventory.AddBound(3007114, 0, 1);
client.Inventory.AddBound(3007115, 0, 1);
client.Inventory.AddBound(3007116, 0, 1);
client.Inventory.AddBound(3007117, 0, 1);
client.Inventory.AddBound(3007230, 0, 1);
client.Inventory.AddBound(3007231, 0, 1);
client.Inventory.AddBound(3007232, 0, 1);
}
else
{
client.Send(new Message("You Must have 17 space in you Inventory To Open Your Box", Color.White, 255));
}
break;
}
#endregion
#region SavageBone
case 3004181:
{
Npcs dialog = new Npcs(client);
dialog.Option("SkyHammer (P7) ", 1);
dialog.Option("HeavenNecklace (P7)", 2);
dialog.Option("MonsterSaber (P7)", 3);
dialog.Option("FoxBoots (P7)", 4);
dialog.Option("CraneRing (P7)", 5);
dialog.Option("NetherArmor (P7)", 6);
dialog.Option("StarHeadgear (P7)", 7);
dialog.Option("FervorBag(P7)", 8);
dialog.Option("SkyHalberd (P7)", 9);
dialog.Option("SpiritShield (P7)", 10);
dialog.Option("SunHeadgear (P7)", 11);
dialog.Option("BuddaBeads (P7)", 12);
dialog.Option("ShadowKatana (P7)", 13);
dialog.Option("DemonScythe (P7)", 14);
dialog.Option("DeathPistol (P7)", 15);
dialog.Option("DragonBoots (P7)", 16);
dialog.Option("RepentRapier (P7)", 17);
dialog.Option("EclipseArmor(P7) ", 18);
dialog.Option("GhostKnife (P7)", 20);
dialog.Option("SunBow (P7)", 21);
dialog.Option("TimeBacksword (P7)", 22);
dialog.Option("FervorBag (P7)", 23);
dialog.Option("RainbowBracelet (P7)", 24);
dialog.Option("WarCrazyBruceLee (P7)", 236);
dialog.Option("WonderHossu(P7) ", 26);
dialog.Send();
client.ActiveNpc = item.ID;
break;
}
#endregion
#region NPC Dialog (2031 + 2032)
if (client.Map.Npcs.TryGetValue(client.ActiveNpc, out npc))
#region SavageBone
if (client.ActiveNpc == 3004181)
{
if (client.Inventory.Contains(client.ActiveNpc, 1))
{
if (req.OptionID == 1)
{
PacketHandler.CheckCommand2("@tegotegatege SkyHammer 1", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 2)
{
PacketHandler.CheckCommand2("@tegotegatege HeavenNecklace 3", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 3)
{
PacketHandler.CheckCommand2("@tegotegatege MonsterSaber 0", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 4)
{
PacketHandler.CheckCommand2("@tegotegatege FoxBoots 8", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 5)
{
PacketHandler.CheckCommand2("@tegotegatege CraneRing 8", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 6)
{
PacketHandler.CheckCommand2("@tegotegatege NetherArmor 1", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 7)
{
PacketHandler.CheckCommand("@tegotegatege StarHeadgear 5", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 8)
{
PacketHandler.CheckCommand2("@tegotegatege FervorBag 5", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 9)
{
PacketHandler.CheckCommand2("@tegotegatege SkyHalberd 5", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 10)
{
PacketHandler.CheckCommand2("@tegotegatege SpiritShield 2", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 11)
{
PacketHandler.CheckCommand2("@tegotegatege SunHeadgear 4", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 12)
{
PacketHandler.CheckCommand2("@tegotegatege BuddaBeads 5", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 13)
{
PacketHandler.CheckCommand2("@tegotegatege ShadowKatana 2", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 14)
{
PacketHandler.CheckCommand2("@tegotegatege DemonScythe 5", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 15)
{
PacketHandler.CheckCommand2("@tegotegatege DeathPistol 0", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 16)
{
PacketHandler.CheckCommand2("@tegotegatege DragonBoots 9", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 17)
{
PacketHandler.CheckCommand2("@tegotegatege RepentRapier 1", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 18)
{
PacketHandler.CheckCommand2("@tegotegatege EclipseArmor 2", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 19)
{
PacketHandler.CheckCommand2("@tegotegatege PorraUniteds 0", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 20)
{
PacketHandler.CheckCommand2("@tegotegatege GhostKnife 7", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 21)
{
PacketHandler.CheckCommand2("@tegotegatege SunBow 8", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 22)
{
PacketHandler.CheckCommand2("@tegotegatege TimeBacksword 2", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 23)
{
PacketHandler.CheckCommand2("@tegotegatege FervorBag 4", client);
client.Inventory.Remove(3004181, 1);
}
if (req.OptionID == 24)
{
PacketHandler.CheckCommand2("@tegotegatege RainbowBracelet 0", client);
client.Inventory.Remove(3004181, 1);
}
}
}
#endregion
SnowBanshee , NemesisTyrant , TeratoDragon
#region SnowBanshee
if (Name == "SnowBanshee")
{
uint ItemID = 0;
byte type1 = 51;
for (int i = 0; i < 1; i++)
{
type1 = (byte)Kernel.Random.Next(1, 51);
switch (type1)
{
#region
case 1:
ItemID = 800320;
break;
case 2:
ItemID = 822054;
break;
case 3:
ItemID = 800110;
break;
case 4:
ItemID = 820056;
break;
case 5:
ItemID = 822056;
break;
case 6:
ItemID = 822057;
break;
case 7:
ItemID = 822053;
break;
case 8:
ItemID = 800019;
break;
case 9:
ItemID = 800050;
break;
case 10:
ItemID = 800015;
break;
case 11:
ItemID = 800090;
break;
case 12:
ItemID = 800513;
break;
case 13:
ItemID = 800017;
break;
case 14:
ItemID = 800071;
break;
case 15:
ItemID = 800016;
break;
case 16:
ItemID = 823051;
break;
case 17:
ItemID = 800130;
break;
case 18:
ItemID = 800140;
break;
case 19:
ItemID = 800141;
break;
case 20:
ItemID = 800200;
break;
case 21:
ItemID = 800310;
break;
case 22:
ItemID = 800014;
break;
case 23:
ItemID = 800214;
break;
case 24:
ItemID = 800230;
break;
case 25:
ItemID = 800414;
break;
case 26:
ItemID = 822052;
break;
case 27:
ItemID = 800420;
break;
case 28:
ItemID = 800401;
break;
case 29:
ItemID = 800512;
break;
case 30:
ItemID = 823043;
break;
case 31:
ItemID = 800514;
break;
case 32:
ItemID = 800520;
break;
case 33:
ItemID = 800521;
break;
case 34:
ItemID = 800613;
break;
case 35:
ItemID = 800614;
break;
case 36:
ItemID = 800615;
break;
case 37:
ItemID = 824001;
break;
case 38:
ItemID = 800617;
break;
case 39:
ItemID = 800720;
break;
case 40:
ItemID = 800721;
break;
case 41:
ItemID = 800070;
break;
case 42:
ItemID = 800723;
break;
case 43:
ItemID = 800724;
break;
case 44:
ItemID = 800018;
break;
case 45:
ItemID = 820001;
break;
case 46:
ItemID = 820052;
break;
case 47:
ItemID = 820053;
break;
case 48:
ItemID = 820054;
break;
case 49:
ItemID = 820055;
break;
case 50:
ItemID = 800722;
break;
case 51:
ItemID = 801001;
break;
#endregion
}
var infos = Database.ConquerItemInformation.BaseInformations[ItemID];
ushort X = Owner.X, Y = Owner.Y;
Game.Map Map = Kernel.Maps[Owner.MapID];
if (Map.SelectCoordonates(ref X, ref Y))
{
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
floorItem.Item = new Network.GamePackets.ConquerItem(true);
floorItem.Item.Color = (Conquer_Online_Server.Game.Enums.Color)Kernel.Random.Next(4, 8);
floorItem.Item.ID = ItemID;
floorItem.Item.Plus = floorItem.Item.Plus;
floorItem.Item.MaximDurability = infos.Durability;
floorItem.Item.Durability = infos.Durability;
floorItem.Item.MobDropped = true;
floorItem.ValueType = Network.GamePackets.FloorItem.FloorValueType.Item;
floorItem.ItemID = ItemID;
floorItem.MapID = Owner.MapID;
floorItem.MapObjType = Game.MapObjectType.Item;
floorItem.X = X;
floorItem.Y = Y;
floorItem.Owner = killer.Owner;
floorItem.Type = Network.GamePackets.FloorItem.Drop;
floorItem.OnFloor = Time32.Now;
floorItem.ItemColor = floorItem.Item.Color;
floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
while (Map.Npcs.ContainsKey(floorItem.UID))
floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
Map.AddFloorItem(floorItem);
SendScreenSpawn(floorItem);
}
}
killer.ConquerPoints += 7500;
if (killer.Books == 0)
{
killer.Owner.Inventory.AddBound(3007301, 0, 1);
killer.Books = 1;
}
killer.MessageBox("You Got 200,000 Potency Point, 200 StudyPoints!! Check Your InnerPower System.");
killer.lacb += 200;
killer.SubClasses.StudyPoints += 200;
killer.InnerPower.AddPotencyx(null, killer, 10000);
killer.Owner.Send(new Network.GamePackets.Message(" You Killed " + Name + " And Got " + 7500 + " CPs. #10 #10", System.Drawing.Color.Red, 2005));
}
#endregion
#region NemesisTyrant
if (Name == "NemesisTyrant")
{
if (killer.Books == 0)
{
killer.Owner.Inventory.AddBound(3007301, 0, 1);
killer.Books = 1;
}
killer.MessageBox("You Got 200,000 Potency Point, 200 StudyPoints!! Check Your InnerPower System.");
killer.lacb += 200;
killer.SubClasses.StudyPoints += 200;
killer.InnerPower.AddPotencyx(null, killer, 10000);
var infos = Database.ConquerItemInformation.BaseInformations[3004181];
ushort X = Owner.X, Y = Owner.Y;
Game.Map Map = Kernel.Maps[Owner.MapID];
killer.Owner.Inventory.Add(3004181, 0, 1);
killer.ConquerPoints += 7500;
killer.Owner.Send(new Network.GamePackets.Message(" You Killed " + Name + " And Got " + 7500 + " CPs. #10 #10", System.Drawing.Color.Red ,2005));
}
#endregion
#region TeratoDragon
if (Name == "TeratoDragon" && killer.MapID == 1002)
{
uint ItemID = 0;
byte type4 = 51;
for (int m = 0; m < 1; m++)
{
type4 = (byte)Kernel.Random.Next(1, 51);
switch (type4)
{
#region
case 1:
ItemID = 800320;
break;
case 2:
ItemID = 822054;
break;
case 3:
ItemID = 800110;
break;
case 4:
ItemID = 820056;
break;
case 5:
ItemID = 822056;
break;
case 6:
ItemID = 822057;
break;
case 7:
ItemID = 822053;
break;
case 8:
ItemID = 800019;
break;
case 9:
ItemID = 800050;
break;
case 10:
ItemID = 800015;
break;
case 11:
ItemID = 800090;
break;
case 12:
ItemID = 800513;
break;
case 13:
ItemID = 800017;
break;
case 14:
ItemID = 800071;
break;
case 15:
ItemID = 800016;
break;
case 16:
ItemID = 823051;
break;
case 17:
ItemID = 800130;
break;
case 18:
ItemID = 800140;
break;
case 19:
ItemID = 800141;
break;
case 20:
ItemID = 800200;
break;
case 21:
ItemID = 800310;
break;
case 22:
ItemID = 800014;
break;
case 23:
ItemID = 800214;
break;
case 24:
ItemID = 800230;
break;
case 25:
ItemID = 800414;
break;
case 26:
ItemID = 822052;
break;
case 27:
ItemID = 800420;
break;
case 28:
ItemID = 800401;
break;
case 29:
ItemID = 800512;
break;
case 30:
ItemID = 823043;
break;
case 31:
ItemID = 800514;
break;
case 32:
ItemID = 800520;
break;
case 33:
ItemID = 800521;
break;
case 34:
ItemID = 800613;
break;
case 35:
ItemID = 800614;
break;
case 36:
ItemID = 800615;
break;
case 37:
ItemID = 824001;
break;
case 38:
ItemID = 800617;
break;
case 39:
ItemID = 800720;
break;
case 40:
ItemID = 800721;
break;
case 41:
ItemID = 800070;
break;
case 42:
ItemID = 800723;
break;
case 43:
ItemID = 800724;
break;
case 44:
ItemID = 800018;
break;
case 45:
ItemID = 820001;
break;
case 46:
ItemID = 820052;
break;
case 47:
ItemID = 820053;
break;
case 48:
ItemID = 820054;
break;
case 49:
ItemID = 820055;
break;
case 50:
ItemID = 800722;
break;
case 51:
ItemID = 801001;
break;
#endregion
}
var infos6 = Database.ConquerItemInformation.BaseInformations[ItemID];
ushort X = Owner.X, Y = Owner.Y;
Game.Map Map = Kernel.Maps[Owner.MapID];
if (Map.SelectCoordonates(ref X, ref Y))
{
Network.GamePackets.FloorItem floorItem = new Network.GamePackets.FloorItem(true);
floorItem.Item = new Network.GamePackets.ConquerItem(true);
floorItem.Item.Color = (Conquer_Online_Server.Game.Enums.Color)Conquer_Online_Server.Kernel.Random.Next(4, 8);
floorItem.Item.ID = ItemID;
floorItem.Item.MaximDurability = infos6.Durability;
floorItem.Item.Durability = infos6.Durability;
floorItem.Item.MobDropped = true;
floorItem.ValueType = Network.GamePackets.FloorItem.FloorValueType.Item;
floorItem.ItemID = ItemID;
floorItem.MapID = Owner.MapID;
floorItem.MapObjType = Game.MapObjectType.Item;
floorItem.X = X;
floorItem.Y = Y;
floorItem.Owner = killer.Owner;
floorItem.Type = Network.GamePackets.FloorItem.Drop;
floorItem.OnFloor = Time32.Now;
floorItem.ItemColor = floorItem.Item.Color;
floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
while (Map.Npcs.ContainsKey(floorItem.UID))
floorItem.UID = Network.GamePackets.FloorItem.FloorUID.Next;
Map.AddFloorItem(floorItem);
SendScreenSpawn(floorItem);
}
}
if (killer.Books == 0)
{
killer.Owner.Inventory.AddBound(3007301, 0, 1);
killer.Books = 1;
}
killer.MessageBox("You Got 200,000 Potency Point, 200 StudyPoints!! Check Your InnerPower System.");
killer.lacb += 200;
killer.SubClasses.StudyPoints += 200;
killer.InnerPower.AddPotencyx(null, killer, 10000);
killer.Owner.Send(new Network.GamePackets.Message(" You Killed " + Name + " And Got " + 7500 + " CPs. #10 #10", System.Drawing.Color.Red, 2005));
killer.ConquerPoints += 7500;
//Kernel.SendWorldMessage(new Message("Congratulations! " + killer.Name + " Killed The TeratoDragon And Dropped A SoulP3-6 And " + 7500 + " CPs.!", System.Drawing.Color.Black, Message.Talk), Conquer_Online_Server.Program.GamePool);
}
#endregion
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
>[شوية انبيسهات للسيرفرات الصعبه]< | 7amoStarHell | تطوير سيرفرات كونكر | 5 | 2023-10-09 08:54 PM |
فكرة كويسه بالنسبه للناس الي بتستخدم booths | Commander | تطوير سيرفرات كونكر | 9 | 2019-08-23 09:26 AM |
ان بى سى اصطف بلص 8 فرى لسورسات الصعبه | Mr. Co | تطوير سيرفرات كونكر | 7 | 2019-07-27 02:45 PM |
يله 6 توبات لسورسات الصعبه فقط | Mr. Co | تطوير سيرفرات كونكر | 0 | 2019-07-24 07:18 PM |
npc اسطفات +4 مقيده لسيرفيرات الصعبه | محمد ياسر | تطوير سيرفرات كونكر | 0 | 2019-04-18 10:30 AM |