NPC Venda de StudyPoints, OblivDew, StabStone, Stone +8.
Página 1 de 1
NPC Venda de StudyPoints, OblivDew, StabStone, Stone +8.
- Código:
#region Fix p6 e Obliv Luan Stpf
case 30303030:
{
switch (npcRequest.OptionID)
{
case 0:
{
dialog.Text("No que posso te ajudar?");
dialog.Option("StabilizeStone - 100k ", 3);
dialog.Option("OblivionDew - 100k ", 4);
dialog.Option("StudyPoints (1500) - 15k ", 5);
dialog.Option("Stone +8 - 26k ", 6);
dialog.Option("Gold (5m) - 50k", 7);
dialog.Option("Apenas passando.", 255);
dialog.Avatar(80);
dialog.Send();
break;
}
case 3:
{
if (client.Entity.ConquerPoints >= 100000)
{
client.Entity.ConquerPoints -= 100000;
client.Inventory.Add(723695, 0, 1);
}
else
{
dialog.Text("Você não tem 100000 ConquerPoints.");
dialog.Option("Desculpa.", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 4:
{
if (client.Entity.ConquerPoints >= 100000)
{
client.Entity.ConquerPoints -= 100000;
client.Inventory.Add(711083, 0, 1);
}
else
{
dialog.Text("Você não tem 100000 ConquerPoints.");
dialog.Option("Desculpa.", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 5:
{
if (client.Entity.ConquerPoints >= 15000)
{
client.Entity.ConquerPoints -= 15000;
client.Entity.SubProStages.StudyPoints += 1500;
}
else
{
dialog.Text("Você não tem 15000 ConquerPoints.");
dialog.Option("Desculpa.", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 6:
{
if (client.Entity.ConquerPoints >= 26000)
{
client.Entity.ConquerPoints -= 26000;
client.Inventory.Add(730008, 0, 1);
}
else
{
dialog.Text("Você não tem 26000 ConquerPoints.");
dialog.Option("Desculpa.", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
case 7:
{
if (client.Entity.ConquerPoints >= 50000)
{
client.Entity.ConquerPoints -= 50000;
client.Entity.Money += 5000000;
}
else
{
dialog.Text("Você não tem 50000 ConquerPoints.");
dialog.Option("Desculpa.", 255);
dialog.Avatar(80);
dialog.Send();
}
break;
}
}
break;
}
#endregion
Colocar em Npcs.cs na source depois arrumar no Navicat.
luanstpf- Membro
- Mensagens : 48
Data de inscrição : 13/04/2017
Idade : 22
Localização : Curitiba
Página 1 de 1
Permissões neste sub-fórum
Não podes responder a tópicos