محمد ياسر
2019-06-12, 12:48 PM
السلام عليكم ورحمة الله وبركاته
معنا اليوم انبي سي مهم جدا
بيدي بروفكشن كامل للاسطف المحدد
ياعني انا حدد اني اشتري مثلا بروفكشن لسلاح اليمين يديك بروفكشن لسلاح اليمين
اكيد الكل عارف نظامه
في كلاس NPCS.CS
#region PerfectionLevel 54 Item NPC !
case 808134:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello Pro I Am Here To PerfectionLevel Your Gear... To Beautify You Special items For 1 cps In Server [Dead Hearts].");
dialog.Option("Open Necklace", (byte)ConquerItem.Necklace);
dialog.Option("Open Armor", (byte)ConquerItem.Armor);
dialog.Option("Open Tower", (byte)ConquerItem.Tower);
dialog.Option("Open Fan", (byte)ConquerItem.Fan);
dialog.Option("Open Crop", (byte)ConquerItem.SteedCrop);
dialog.Option("Open Wing", (byte)ConquerItem.Wing);
dialog.Option("Open Ring", (byte)ConquerItem.Ring);
dialog.Option("Open Head", (byte)ConquerItem.Head);
dialog.Option("Open Boots", (byte)ConquerItem.Boots);
dialog.Option("Open Steed", (byte)ConquerItem.Steed);
dialog.Option("Open RightWeapon", (byte)ConquerItem.RightWeapon);
dialog.Option("Open LeftWeapon", (byte)ConquerItem.LeftWeapon);
dialog.Send();
break;
}
case (byte)ConquerItem.Necklace:
case (byte)ConquerItem.Armor:
case (byte)ConquerItem.Ring:
case (byte)ConquerItem.Boots:
case (byte)ConquerItem.Head:
case (byte)ConquerItem.Tower:
case (byte)ConquerItem.Fan:
case (byte)ConquerItem.SteedCrop:
case (byte)ConquerItem.Steed:
case (byte)ConquerItem.RightWeapon:
case (byte)ConquerItem.LeftWeapon:
{
ConquerItem item;
if ((item = client.Equipment.TryGetItem(npcRequest.OptionID)) != null)
{
if (item.Stars <= 53 && client.Entity.ConquerPoints >= 1)
{
client.Entity.ConquerPoints -= 1;
item.Stars = 54;
item.Mode = Game.Enums.ItemMode.Update;
item.Send(client);
Database.ConquerItemTable.UpdatePerfection(item);
}
else
{
dialog.Text("Please come back to me with 1 Conquer Points.");
dialog.Option("Ahh sorry.", 255);
dialog.Send();
}
}
break;
}
case (byte)ConquerItem.Wing:
{
ConquerItem item;
if ((item = client.Equipment.TryGetItem(npcRequest.OptionID)) != null)
{
if (item.Stars <= 53 && client.Entity.ConquerPoints >= 1)
{
client.Entity.ConquerPoints -= 1;
item.Stars = 54;
item.Mode = Game.Enums.ItemMode.Update;
item.Send(client);
Database.ConquerItemTable.UpdatePerfection(item);
}
else
{
dialog.Text("Please come back to me with 1 Conquer Points.");
dialog.Option("Ahh sorry.", 255);
dialog.Send();
}
}
break;
}
}
break;
}
#endregion
معنا اليوم انبي سي مهم جدا
بيدي بروفكشن كامل للاسطف المحدد
ياعني انا حدد اني اشتري مثلا بروفكشن لسلاح اليمين يديك بروفكشن لسلاح اليمين
اكيد الكل عارف نظامه
في كلاس NPCS.CS
#region PerfectionLevel 54 Item NPC !
case 808134:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello Pro I Am Here To PerfectionLevel Your Gear... To Beautify You Special items For 1 cps In Server [Dead Hearts].");
dialog.Option("Open Necklace", (byte)ConquerItem.Necklace);
dialog.Option("Open Armor", (byte)ConquerItem.Armor);
dialog.Option("Open Tower", (byte)ConquerItem.Tower);
dialog.Option("Open Fan", (byte)ConquerItem.Fan);
dialog.Option("Open Crop", (byte)ConquerItem.SteedCrop);
dialog.Option("Open Wing", (byte)ConquerItem.Wing);
dialog.Option("Open Ring", (byte)ConquerItem.Ring);
dialog.Option("Open Head", (byte)ConquerItem.Head);
dialog.Option("Open Boots", (byte)ConquerItem.Boots);
dialog.Option("Open Steed", (byte)ConquerItem.Steed);
dialog.Option("Open RightWeapon", (byte)ConquerItem.RightWeapon);
dialog.Option("Open LeftWeapon", (byte)ConquerItem.LeftWeapon);
dialog.Send();
break;
}
case (byte)ConquerItem.Necklace:
case (byte)ConquerItem.Armor:
case (byte)ConquerItem.Ring:
case (byte)ConquerItem.Boots:
case (byte)ConquerItem.Head:
case (byte)ConquerItem.Tower:
case (byte)ConquerItem.Fan:
case (byte)ConquerItem.SteedCrop:
case (byte)ConquerItem.Steed:
case (byte)ConquerItem.RightWeapon:
case (byte)ConquerItem.LeftWeapon:
{
ConquerItem item;
if ((item = client.Equipment.TryGetItem(npcRequest.OptionID)) != null)
{
if (item.Stars <= 53 && client.Entity.ConquerPoints >= 1)
{
client.Entity.ConquerPoints -= 1;
item.Stars = 54;
item.Mode = Game.Enums.ItemMode.Update;
item.Send(client);
Database.ConquerItemTable.UpdatePerfection(item);
}
else
{
dialog.Text("Please come back to me with 1 Conquer Points.");
dialog.Option("Ahh sorry.", 255);
dialog.Send();
}
}
break;
}
case (byte)ConquerItem.Wing:
{
ConquerItem item;
if ((item = client.Equipment.TryGetItem(npcRequest.OptionID)) != null)
{
if (item.Stars <= 53 && client.Entity.ConquerPoints >= 1)
{
client.Entity.ConquerPoints -= 1;
item.Stars = 54;
item.Mode = Game.Enums.ItemMode.Update;
item.Send(client);
Database.ConquerItemTable.UpdatePerfection(item);
}
else
{
dialog.Text("Please come back to me with 1 Conquer Points.");
dialog.Option("Ahh sorry.", 255);
dialog.Send();
}
}
break;
}
}
break;
}
#endregion