Level UP (Vendedor de lvl)
Página 1 de 1
Level UP (Vendedor de lvl)
- Código:
#region Level Up
case 12488:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("Hello There I Can Give you Level 140");
dialog.Option("Give Me Level 140", 1);
dialog.Option("Wait a minute.", 255);
dialog.Send();
break;
}
case 1:
{
if (client.Entity.Level <= 139)
{
if (client.Entity.ConquerPoints >= 1000000)
{
client.Entity.ConquerPoints -= 1000000;
client.Entity.Level = 140;
client.Entity.Update(_String.Effect, "break_start", true);
EntityTable.SaveEntity(client);
}
else
{
dialog.Text("Sorry You Dont Have 1000000 Cps!");
dialog.Option("okay", 255);
dialog.Send();
break;
}
}
else
{
dialog.Text("Sorry But You Already Level 140");
dialog.Option("ok I Sorry", 255);
dialog.Send();
break;
}
break;
}
}
break;
}
#endregion
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos
|
|