شرح اضافه الاجنحا - مدونة عرب وود

الافضل لكم


Breaking

Post Top Ad

Responsive Ads Here

Post Top Ad

Responsive Ads Here

الثلاثاء، 20 أكتوبر 2015

شرح اضافه الاجنحا

                            بسم الله الرحمن الرحيم







   الطريقه سهل جدا اسهل من اي حاجه  
 
                                      تعلو نشوف

               
     ابحث عن ده 



          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

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

إرسال تعليق

Post Top Ad

Responsive Ads Here
close
عنوان الصورة