|
المشاركات 1,372 |
+التقييم 0.67 |
تاريخ التسجيل Apr 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 30 |
public void Drop(Game.Entity killer)
#region CPs Drop
#region DropBagBy_HassanEmprator
if (killer != null && killer.EntityFlag == Game.EntityFlag.Player)
{
byte times = (byte)Kernel.Random.Next(1, 2);
byte ref_times = (byte)Kernel.Random.Next(1, 60);
for (byte i = 0; i < times; i++)
{
uint Uid = 0;
byte type = (byte)Kernel.Random.Next(1, 60);
switch (type)
{
case 1: Uid = 721016; break;
case 2: Uid = 721019; break;
}
if (Uid != 0)
{
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 = (Game.Enums.Color)Kernel.Random.Next(4, 60);
floorItem.Item.ID = Uid;
floorItem.Item.MaximDurability = floorItem.Item.Durability = 65535;
floorItem.Item.UID = Network.GamePackets.ConquerItem.ItemUID.Next;
floorItem.ValueType = Network.GamePackets.FloorItem.FloorValueType.Item;
floorItem.ItemID = Uid;
floorItem.MapID = Owner.MapID;
floorItem.MapObjType = Game.MapObjectType.Item;
floorItem.X = X;
floorItem.Y = Y;
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);
}
}
}
}
#endregion
#endregion
#region DropCpsPack_ByHassanEmprator
#region 3Cps
case 721016:
{
client.Inventory.Remove(item, Game.Enums.ItemUse.Remove);
client.Entity.ConquerPoints += 5;
break;
}
case 721019:
{
client.Inventory.Remove(item, Game.Enums.ItemUse.Remove);
client.Entity.ConquerPoints += 25;
break;
}
#endregion
#endregion 5
721019@@TanCPBag@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@9162830@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@5@@0@@0@@0@@0@@0@@QuestItem@@Right~click~to~obtain~25~CPs.@@5@@0@@0@@0@@0@@500@@0@@0@@0@@0@@0@@
721016@@GreenCPBag@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@9162800@@0@@0@@0@@0@@0@@0@@0@@1@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@1@@800@@0@@0@@1@@0@@0@@0@@0@@0@@0@@0@@0@@0@@0@@5@@0@@0@@0@@0@@0@@QuestItem@@Right~click~to~obtain~5~CPs.@@5@@0@@0@@0@@0@@500@@0@@0@@0@@0@@0@@
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
أدوات الموضوع | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
تم افتتاح سرفر Vip Conquer سرفر صعب للمتعة دروب 50:1 | MohamedMano55 | اعلانات السيرفيرات الشخصية | 0 | 2020-04-18 07:51 PM |
سرفر Vip Conquer للمتعة اصدار 2d دروب 1:50 سبس | MohamedMano55 | اعلانات السيرفيرات الشخصية | 0 | 2020-04-14 02:01 PM |
Play Storm 3D | Tarek Roshdi | اعلانات السيرفيرات الشخصية | 0 | 2020-02-27 12:47 AM |
Play Super Conquer | مجدى | اعلانات السيرفيرات الشخصية | 3 | 2020-02-26 07:57 PM |
NPC Lucky Play Cps | Mero | تطوير سيرفرات كونكر | 4 | 2019-08-01 12:46 PM |