|
المشاركات 97 |
+التقييم 0.05 |
تاريخ التسجيل Dec 2019 |
الاقامة |
نظام التشغيل |
رقم العضوية 3343 |
#region BirdClaw
#region BirdClaw
uint elitem = 2100075;
string momo = "RiRiRi";
{
if (Name == momo && Kernel.Rate(30))
{
var infos = Database.ConquerItemInformation.BaseInformations[elitem];
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, 8);
floorItem.Item.ID = elitem;
floorItem.Item.MobDropped = true;
floorItem.Item.MaximDurability = infos.Durability;
floorItem.ValueType = Network.GamePackets.FloorItem.FloorValueType.Item;
floorItem.Item.StackSize = 1;
floorItem.Item.MaxStackSize = infos.StackSize;
floorItem.ItemID = elitem;
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.Owner = killer.Owner;
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 (Name == momo && Kernel.Rate(10))
{
var infos = Database.ConquerItemInformation.BaseInformations[elitem];
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, 8);
floorItem.Item.ID = elitem;
floorItem.Item.MobDropped = true;
floorItem.Item.MaximDurability = infos.Durability;
floorItem.ValueType = Network.GamePackets.FloorItem.FloorValueType.Item;
floorItem.Item.StackSize = 5;
floorItem.Item.MaxStackSize = infos.StackSize;
floorItem.ItemID = elitem;
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.Owner = killer.Owner;
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
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
سورس اليكس محتاج طريقة اشغل بيه سيرفرين مع بعض | MaNGaWy | مشكلات السيرفيرات كونكر الشخصيه | 7 | 2020-05-07 04:57 PM |
طلب تعديل على الكود دا سورس رايزو | magdy | مشكلات السيرفيرات كونكر الشخصيه | 6 | 2020-03-14 05:47 PM |
شرح طريقة تركيب سورس مستر خالد الجديد | nova | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2020-02-15 08:35 PM |
شرح اضافة ان بي سي + تعديل علي الاتاكات | Tefa | تطوير سيرفرات كونكر | 0 | 2019-09-19 08:21 AM |
عندي الاتاكات مش مظبوته | ElSaher | مشكلات السيرفيرات كونكر الشخصيه | 5 | 2019-07-26 09:49 PM |