|
المشاركات 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
[PHP] if (ClientSpell.Level < DBSpells.Count - 1)
{
ClientSpell.Experience += (int)(AnimationObj.Damage * Program.ExpRateSpell);
if (ClientSpell.Experience > DBSpells[ClientSpell.Level].Experience)
{
ClientSpell.Level++;
ClientSpell.Experience = 0;
}
user.Send(stream.SpellCreate(ClientSpell));
user.MySpells.ClientSpells[ClientSpell.ID] = ClientSpell;
}
الذين يشاهدون محتوى الموضوع الآن : 1 ( الأعضاء 0 والزوار 1) | |
|
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
حل مشكله الskills مش بيتعملها ابجريد | Tefa | تطوير سيرفرات كونكر | 3 | 2021-07-25 01:52 AM |
مشكلة في الوحوش | ElSaher | مشكلات السيرفيرات كونكر الشخصيه | 4 | 2020-02-21 12:19 PM |
حل مشكلة الوحوش | ElSaher | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-02-05 04:15 PM |
عايز اضعف اسكلايه خالص تضرب بي 1 | ahmedshetos888 | مشكلات السيرفيرات كونكر الشخصيه | 1 | 2020-01-23 04:26 AM |
مشكلة فى الوحوش | bebo100 | مشكلات السيرفيرات كونكر الشخصيه | 2 | 2019-08-04 01:36 PM |