Code:
#region SuperBoss
case 4322:
{
switch (Request.LinkID)
{
case 0:
{
dialog.Text("Hi where you want to go now for 27 CPs?");
dialog.Link("Snow Banshee", 1);
dialog.Link("Terato Dragon TC", 2);
dialog.Link("Terato Dragon F6", 3);
dialog.Link("Lava Beast", 4);
dialog.Link("Just passing by.", 255);
dialog.Face(10);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.ConquerPoints >= 27)
{
client.Entity.Teleport(7007, 370, 355);
client.Entity.ConquerPoints -= 27;
}
else
{
dialog.Text("Sorry you do not have 27 CPs");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
case 2:
{
if (client.Entity.ConquerPoints >= 27)
{
client.Entity.Teleport(1002, 578, 793);
client.Entity.ConquerPoints -= 27;
}
else
{
dialog.Text("Sorry you do not have 27 CPs");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
case 3:
{
if (client.Entity.ConquerPoints >= 27)
{
client.Entity.Teleport(2056, 343, 332);
client.Entity.ConquerPoints -= 27;
}
else
{
dialog.Text("Sorry you do not have 27 CPs");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
case 4:
{
if (client.Entity.ConquerPoints >= 27)
{
client.Entity.Teleport(2056, 179, 334);
client.Entity.ConquerPoints -= 27;
}
else
{
dialog.Text("Sorry you do not have 27 CPs");
dialog.Link("Ok sorry!", 255);
dialog.Send();
}
break;
}
}
break;
}
#endregion