كود:
#region Cps City For Archers By Sheeko
case 1281998:
{
dialog.Avatar(10);
byte vip = 4;
uint cost = 50000;
switch (npcRequest.OptionID)
{
case 0:
{
if (client.Entity.VIPLevel >= vip)
{
dialog.Text("Hey I can Teleport u To Cps City if u want For "+ cost +" CPS ??");
dialog.Option("Yes Please.", 1);
dialog.Option("No Not Now.", 255);
dialog.Send();
}
else
{
dialog.Text("Sorry, you are not Vip Level "+ vip +".");
dialog.Option("I~see.", 255);
dialog.Send();
}
break;
}
case 1:
{
if (client.Entity.ConquerPoints >= cost)
{
client.Entity.ConquerPoints -= cost;
client.Entity.Teleport(1998, 401, 522);
}
else
{
dialog.Text("sorry come back with "+ cost +" cps");
dialog.Option("ok i'm sorry i'll back later", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion
كود:
#region special drop by sheeko
if (Name == "CpsChicken")
{
killer.ConquerPoints += 500;
killer.Owner.Send(new Message("killed " + Name + " and get 500 Cps #05 #06", System.Drawing.Color.Azure, Message.TopLeft));
}
#endregion