بسم الله الرحمن الرحيم
الطريقه سهل جدا اسهل من اي حاجه
تعلو نشوف
ابحث عن ده
و ابحث عن ده
وضيف ده فيها
و ابحث عن ده
ابحث عن ده
ضيف ده فيها
دخل على
Conqueritem
تبحث ع
نخش بقي علي النبسي
خش Npcs.cs
الطريقه سهل جدا اسهل من اي حاجه
تعلو نشوف
ابحث عن ده
public static byte ItemMaxLevel(ushort postion) و ضيف ده فيها case ConquerItem.Wing: return 100; و ابحث عن دهpublic static byte ItemMinLevel(ushort postion) و ضيف ده فيهاcase ConquerItem.Wing: return 0;
و ابحث عن ده
public static Positions GetPositionFromID(UInt32 itemid) وضيف ده فيهاelse if (iType == 204)
return Positions.Wing;
و ابحث عن دهpublic static ushort ItemPosition(uint ID
وضيف ده فيها
else if (ID >= 204005 && ID <= 204009)
return ConquerItem.Wing;
و ابحث عن ده
public enum Positions : byte ضيف ده فيها Wing = 19
بس خود بالك في حاجه في الخير في كود شكلو كده SteedArmor = 17
و انت بضيف هتخلي كده SteedArmor = 17, عشان ميجبش ايرور و ده للناس المش عرفه ماشي
ابحث عن ده
public static Positions ItemPositionFromID(UInt32 itemid)
ضيف ده فيها
public static Positions ItemPositionFromID(UInt32 itemid)
دخل على
Conqueritem
تبحث ع
Remove = 255, وتضيف ده تحتيهاWing = 19, نخش بقي علي النبسي
خش Npcs.cs
#region New Wings By : يوسف
case 80897:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hi ,i can help by yousseffaruk you to buy new Wings");
dialog.Option("Buy", 1);
dialog.Option("Not now", 255);
dialog.Send(); break;
}
case 1:
{
uint itemid = 204009;
if (client.Entity.ConquerPoints >= 2000)
{
client.Entity.ConquerPoints -= 2000;
ConquerItem item = new ConquerItem(true);
item.ID = itemid;
item.Color = Johncena.Game.Enums.Color.White;
item.Plus = 12;
item.Enchant = 255;
item.Bless = 7;
item.SocketOne = Game.Enums.Gem.SuperThunderGem;
item.SocketTwo = Game.Enums.Gem.SuperThunderGem;
item.Durability = item.MaximDurability = Johncena.Database.ConquerItemInformation.BaseInformations[itemid].Durability;
client.Inventory.Add(item, Johncena.Game.Enums.ItemUse.CreateAndAdd);
}
else
{
dialog.Text("YOu dont have cps.");
dialog.Option("Ah,sorry", 255);
dialog.Send();
}
break;
}
}
}
break;
#endregion



ليست هناك تعليقات:
إرسال تعليق