المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : npc بيع ادوات الترقيه


محمد ياسر
2019-04-20, 11:14 AM
npc لبيع ادوات الترقيه

الي بيشتريه وبيروح عند المستر تبعه ويدهالوا ويرقيه

#region Sub-Classes & Promotion Seller
case 5688:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello! I sell Sub-Classes & Promotion items!");
dialog.Text("/nWhich Item would you like to buy?");
dialog.Option("MoonBox [10.000 CPs]", 1);
dialog.Option("EuxeniteOre [10.000 CPs]", 2);
dialog.Option("Emerald [10.000 CPs]", 3);
dialog.Option("10 MeteorTear [10.000 CPs]", 4);
dialog.Option("10 Bombs [10.000 CPs]", 5);
dialog.Option("Rate5GoldOre [10.000 CPs]", 12);
dialog.Option("Next Page.", 11);
dialog.Send();
break;
}
case 11:
{
dialog.Text("Hello! I sell Sub-Classes & Promotion items!");
dialog.Text("/nWhich Item would you like to buy?");
dialog.Option("1 YinYang Fruit [10.000 CPs]", 6);
dialog.Option("5 Celestial Stones [10.000 CPs]", 7);
dialog.Option("20 Lucky Amulets [10.000 CPs]", 8);
dialog.Option("5x 3 Orchids [10.000 CPs]", 9);
dialog.Option("40 Saddles [10.000 CPs]", 10);
dialog.Option("ModestyBook[10.000 CPs].", 13);
dialog.Send();
break;
}
case 13:
{
if (client.Entity.ConquerPoints >= 1050)
{
client.Entity.ConquerPoints -= 1050;
client.inventory.Add(723342, 0, 1);
}
else
{
dialog.Text("You don't have enough cps!");
dialog.Option("DAHH!", 255);
dialog.Send();
}
break;
}
case 12:
{
if (client.Entity.ConquerPoints >= 10000)
{
client.Entity.ConquerPoints -= 10000;
client.inventory.Add(1072054, 0, 1);
}
else
{
dialog.Text("You don't have enough cps!");
dialog.Option("DAHH!", 255);
dialog.Send();
}
break;
}
case 1:
{
if (client.Entity.ConquerPoints >= 10000)
{
client.Entity.ConquerPoints -= 10000;
client.inventory.Add(721090, 0, 1);
}
else
{
dialog.Text("You don't have enough cps!");
dialog.Option("DAHH!", 255);
dialog.Send();
}
break;
}
case 2:
{
if (client.Entity.ConquerPoints >= 10000)
{
client.Entity.ConquerPoints -= 10000;
client.inventory.Add(1072031, 0, 1);
}
else
{
dialog.Text("You don't have enough cps!");
dialog.Option("DAHH!", 255);
dialog.Send();
}
break;
}
case 3:
{
if (client.Entity.ConquerPoints >= 10000)
{
client.Entity.ConquerPoints -= 10000;
client.inventory.Add(1080001, 0, 1);
}
else
{
dialog.Text("You don't have enough cps!");
dialog.Option("DAHH!", 255);
dialog.Send();
}
break;
}
case 4:
{
if (client.Entity.ConquerPoints >= 10000)
{
client.Entity.ConquerPoints -= 10000;
client.inventory.Add(1088002, 0, 10);
}
else
{
dialog.Text("You don't have enough cps!");
dialog.Option("DAHH!", 255);
dialog.Send();
}
break;
}
case 5:
{
if (client.Entity.ConquerPoints >= 10000)
{
client.Entity.ConquerPoints -= 10000;
client.inventory.Add(721261, 0, 10);
}
else
{
dialog.Text(" AHHH You don't have enough cps!");
dialog.Option("DAHH!", 255);
dialog.Send();
}
break;
}
case 6:
{
if (client.Entity.ConquerPoints >= 10000)
{
client.Entity.ConquerPoints -= 10000;
client.inventory.Add(711188, 0, 1);
}
else
{
dialog.Text("You don't have enough cps!");
dialog.Option("DAHH!", 255);
dialog.Send();
}
break;
}
case 7:
{
if (client.Entity.ConquerPoints >= 10000)
{
client.Entity.ConquerPoints -= 10000;
client.inventory.Add(721259, 0, 5);
}
else
{
dialog.Text("You don't have enough cps!");
dialog.Option("DAHH!", 255);
dialog.Send();
}
break;
}
case 8:
{
if (client.Entity.ConquerPoints >= 10000)
{
client.Entity.ConquerPoints -= 10000;
client.inventory.Add(723087, 0, 20);
}
else
{
dialog.Text("You don't have enough cps!");
dialog.Option("DAHH!", 255);
dialog.Send();
}
break;
}
case 9:
{
if (client.Entity.ConquerPoints >= 10000)
{
client.Entity.ConquerPoints -= 10000;
client.inventory.Add(753003, 0, 5);
}
else
{
dialog.Text("You don't have enough cps!");
dialog.Option("DAHH!", 255);
dialog.Send();
}
break;
}
case 10:
{
if (client.Entity.ConquerPoints >= 10000)
{
client.Entity.ConquerPoints -= 10000;
client.inventory.Add(723903, 0, 40);
}
else
{
dialog.Text("You don't have enough cps!");
dialog.Option("DAHH!", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion