السلام عليكم ورحمة الله وبركاتة يا شباب


دة ان بي سي السب كلاس ايتم كامل كل ما بتعلق بايتم السب كلاس في الان بي سي دة

دة يا شباب لسورس كيمو

هتخش علي السورس وتفتح ملف

Dialogs.cs

وتضيف دة



كود PHP:
#region Seller SubClass Items
case 3456: { switch (npcRequest.OptionID) { case 0: { dialogs.Text("Hey how I can help you ? "); dialogs.Option("Buy YanYangFroot - 10k CPS ", 1); dialogs.Option("Buy MoonBox - 5000 CPS ", 2);//721080 dialogs.Option("Buy Emerald - 5000 CPS ", 11); dialogs.Option("Buy EuxeniteOre - 5000 CPS ", 3); dialogs.Option("Buy Rate5GoldOre for 500 cps ", 10); dialogs.Option("Buy LuckyAmulet - 1000 CPS ", 4); dialogs.Option("Buy MeteorTear - 5000 CPS ", 5); dialogs.Option("Buy Bomb 5000 CPS ", 6); dialogs.Option("Buy 3 Orched for 5000 cps ", 7); dialogs.Option("Buy 10 Saddle for 10000 cps ", 9); dialogs.Option("Just passing by.", 255); dialogs.Avatar(80); dialogs.Send(); break; } case 1: { if (client.Entity.ConquerPoints >= 10000) { client.Entity.ConquerPoints -= 10000; client.Inventory.Add(711188, 0, 1); } else { dialogs.Text("You don't have 10000 ConquerPoints."); dialogs.Option("Ah, my bad", 255); dialogs.Avatar(80); dialogs.Send(); } break; } case 2: { if (client.Entity.ConquerPoints >= 5000) { client.Entity.ConquerPoints -= 5000; client.Inventory.Add(721080, 0, 1); } else { dialogs.Text("You don't have 5000 ConquerPoints."); dialogs.Option("Ah, my bad", 255); dialogs.Avatar(80); dialogs.Send(); } break; } case 10: { if (client.Entity.ConquerPoints >= 5000) { client.Entity.ConquerPoints -= 5000; client.Inventory.Add(1072054, 0, 1); } else { dialogs.Text("You don't have 5000 ConquerPoints."); dialogs.Option("Ah, my bad", 255); dialogs.Avatar(80); dialogs.Send(); } break; } case 11: { if (client.Entity.ConquerPoints >= 5000) { client.Entity.ConquerPoints -= 5000; client.Inventory.Add(1080001, 0, 1); } else { dialogs.Text("You don't have 5000 ConquerPoints."); dialogs.Option("Ah, my bad", 255); dialogs.Avatar(80); dialogs.Send(); } break; } case 3: { if (client.Entity.ConquerPoints >= 5000) { client.Entity.ConquerPoints -= 5000; client.Inventory.Add(1072031, 0, 1); } else { dialogs.Text("You don't have 5000 ConquerPoints."); dialogs.Option("Ah, my bad", 255); dialogs.Avatar(80); dialogs.Send(); } break; } case 4: { if (client.Entity.ConquerPoints >= 1000) { client.Entity.ConquerPoints -= 1000; client.Inventory.Add(723087, 0, 1); } else { dialogs.Text("You don't have 1000 ConquerPoints."); dialogs.Option("Ah, my bad", 255); dialogs.Avatar(80); dialogs.Send(); } break; } case 5: { if (client.Entity.ConquerPoints >= 5000) { client.Entity.ConquerPoints -= 5000; client.Inventory.Add(1088002, 0, 1); } else { dialogs.Text("You don't have 5000 ConquerPoints."); dialogs.Option("Ah, my bad", 255); dialogs.Avatar(80); dialogs.Send(); } break; } case 6: { if (client.Entity.ConquerPoints >= 5000) { client.Entity.ConquerPoints -= 5000; client.Inventory.Add(721261, 0, 1); } else { dialogs.Text("You don't have 5000 ConquerPoints."); dialogs.Option("Ah, my bad", 255); dialogs.Avatar(80); dialogs.Send(); } break; } case 7: { if (client.Entity.ConquerPoints >= 5000) { client.Entity.ConquerPoints -= 5000; client.Inventory.Add(753003, 0, 1); } else { dialogs.Text("You don't have 5000 ConquerPoints."); dialogs.Option("Ah, my bad", 255); dialogs.Avatar(80); dialogs.Send(); } break; } case 8: { if (client.Entity.ConquerPoints >= 5000) { client.Inventory.Add(1080001, 0, 1); client.Entity.ConquerPoints -= 500; } else { dialogs.Text("You don't have 5000 ConquerPoints."); dialogs.Option("Ah, my bad", 255); dialogs.Avatar(80); dialogs.Send(); } break; } case 9: if (client.Entity.ConquerPoints < 10000) { dialogs.Text("You don't have 10000 ConquerPoints."); dialogs.Option("Ah, my bad", 0xff); dialogs.Avatar(80); dialogs.Send(); } else { client.Entity.ConquerPoints -= 10000; client.Inventory.Add(0xb0bbf, 0, 10); } break; } break; }

#endregion Seller SubClass Items
كود الي هتضيفة في النفي كات

في NPC



كود PHP:
3456 Subclass item seller 2 6690 1002 430 380
وكدة الان بي سي تمام