Tefa
2019-11-14, 08:15 AM
[NpcAttribute(NpcID.Epicsshop)]
public static void Epicsshop(Client.GameClient client, ServerSockets.Packet stream, byte Option, string Input, uint id)
{
Dialog dialog = new Dialog(client, stream);
switch (Option)
{
case 0:
{
dialog.AddText("Hello <tip color=0xfff05050> i am Epics seller");
dialog.AddText(client.Player.Name + "</tip> ,, what epic u want price 50k cps. -><- ,");
dialog.AddText(" how can i help you?");
dialog.AddOption("Epics Trojan.", 1);
dialog.AddOption("Epics Warrior.", 2);
dialog.AddOption("Epic Toiast.", 8);
dialog.AddOption("Epics NInja.", 4);
dialog.AddOption("Epics Monk.", 5);
dialog.AddOption("Later.", 255);
dialog.AddAvatar(255).FinalizeDialog();
break;
}
#region Stuff trojan
case 1:
{
if (client.Player.ConquerPoints < 50000)
//if (!client.Inventory.HaveSpace(36))
{
client.SendSysMesage("u do not have 50k :).");
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
return;
}
else if (client.Player.ConquerPoints < 50000)
{
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
return;
}
else
{
client.Player.ConquerPoints -= 50000;
client.Inventory.Add(stream, 614429);
client.Inventory.Add(stream, 614429);
client.SendSysMesage("Congratz you got a Epics in your inventory.");
}
break;
}
#endregion
/////////////////
#region Stuff Warrior
case 2:
{
if (client.Player.ConquerPoints < 50000)
//if (!client.Inventory.HaveSpace(36))
{
client.SendSysMesage("Mfyy4 floos :P :).");
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
return;
}
else if (client.Player.ConquerPoints < 50000)
{
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
return;
}
else
{
client.Player.ConquerPoints -= 50000;
client.Inventory.Add(stream, 624439);
client.Inventory.Add(stream, 624439);
client.SendSysMesage("Congratz you got a stuff in your inventory.");
}
break;
}
#endregion #region Stuff trojan
////////////////////////
///////////
#region Stuff Ninja
case 4:
{
if (client.Player.ConquerPoints < 50000)
//if (!client.Inventory.HaveSpace(36))
{
client.SendSysMesage("Your Now If Have a STFF :).");
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
return;
}
else if (client.Player.ConquerPoints < 50000)
{
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
return;
}
else
{
client.Player.ConquerPoints -= 50000;
client.Inventory.Add(stream, 616439);
client.Inventory.Add(stream, 616439);
client.SendSysMesage("Congratz you got a stuff in your inventory.");
}
break;
}
#endregion #region Stuff trojan
////////
#region Stuff Monk
case 5:
{
if (client.Player.ConquerPoints < 50000)
//if (!client.Inventory.HaveSpace(36))
{
client.SendSysMesage("Your Now If Have a STFF :).");
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
return;
}
else if (client.Player.ConquerPoints < 50000)
{
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
return;
}
else
{
client.Player.ConquerPoints -= 50000;
client.Inventory.Add(stream, 622439);
client.Inventory.Add(stream, 622439);
client.SendSysMesage("Congratz you got a stuff in your inventory.");
}
break;
}
#endregion #region Stuff trojan
//////
//////
//
#region Stuff Taoist
case 8:
{
if (client.Player.ConquerPoints < 50000)
//if (!client.Inventory.HaveSpace(36))
{
client.SendSysMesage("Your Now If Have a STFF :).");
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
return;
}
else if (client.Player.ConquerPoints < 50000)
{
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
return;
}
else
{
client.Player.ConquerPoints -= 50000;
client.Inventory.Add(stream, 620439);
client.Inventory.Add(stream, 619439);
client.SendSysMesage("Congratz you got a stuff in your inventory.");
}
break;
}
#endregion #region Stuff trojan
////
}
}
public static void Epicsshop(Client.GameClient client, ServerSockets.Packet stream, byte Option, string Input, uint id)
{
Dialog dialog = new Dialog(client, stream);
switch (Option)
{
case 0:
{
dialog.AddText("Hello <tip color=0xfff05050> i am Epics seller");
dialog.AddText(client.Player.Name + "</tip> ,, what epic u want price 50k cps. -><- ,");
dialog.AddText(" how can i help you?");
dialog.AddOption("Epics Trojan.", 1);
dialog.AddOption("Epics Warrior.", 2);
dialog.AddOption("Epic Toiast.", 8);
dialog.AddOption("Epics NInja.", 4);
dialog.AddOption("Epics Monk.", 5);
dialog.AddOption("Later.", 255);
dialog.AddAvatar(255).FinalizeDialog();
break;
}
#region Stuff trojan
case 1:
{
if (client.Player.ConquerPoints < 50000)
//if (!client.Inventory.HaveSpace(36))
{
client.SendSysMesage("u do not have 50k :).");
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
return;
}
else if (client.Player.ConquerPoints < 50000)
{
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
return;
}
else
{
client.Player.ConquerPoints -= 50000;
client.Inventory.Add(stream, 614429);
client.Inventory.Add(stream, 614429);
client.SendSysMesage("Congratz you got a Epics in your inventory.");
}
break;
}
#endregion
/////////////////
#region Stuff Warrior
case 2:
{
if (client.Player.ConquerPoints < 50000)
//if (!client.Inventory.HaveSpace(36))
{
client.SendSysMesage("Mfyy4 floos :P :).");
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
return;
}
else if (client.Player.ConquerPoints < 50000)
{
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
return;
}
else
{
client.Player.ConquerPoints -= 50000;
client.Inventory.Add(stream, 624439);
client.Inventory.Add(stream, 624439);
client.SendSysMesage("Congratz you got a stuff in your inventory.");
}
break;
}
#endregion #region Stuff trojan
////////////////////////
///////////
#region Stuff Ninja
case 4:
{
if (client.Player.ConquerPoints < 50000)
//if (!client.Inventory.HaveSpace(36))
{
client.SendSysMesage("Your Now If Have a STFF :).");
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
return;
}
else if (client.Player.ConquerPoints < 50000)
{
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
return;
}
else
{
client.Player.ConquerPoints -= 50000;
client.Inventory.Add(stream, 616439);
client.Inventory.Add(stream, 616439);
client.SendSysMesage("Congratz you got a stuff in your inventory.");
}
break;
}
#endregion #region Stuff trojan
////////
#region Stuff Monk
case 5:
{
if (client.Player.ConquerPoints < 50000)
//if (!client.Inventory.HaveSpace(36))
{
client.SendSysMesage("Your Now If Have a STFF :).");
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
return;
}
else if (client.Player.ConquerPoints < 50000)
{
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
return;
}
else
{
client.Player.ConquerPoints -= 50000;
client.Inventory.Add(stream, 622439);
client.Inventory.Add(stream, 622439);
client.SendSysMesage("Congratz you got a stuff in your inventory.");
}
break;
}
#endregion #region Stuff trojan
//////
//////
//
#region Stuff Taoist
case 8:
{
if (client.Player.ConquerPoints < 50000)
//if (!client.Inventory.HaveSpace(36))
{
client.SendSysMesage("Your Now If Have a STFF :).");
// System.Windows.Forms.MessageBox.Show("Character must have 36 free slots into inventory");
return;
}
else if (client.Player.ConquerPoints < 50000)
{
client.SendSysMesage("You don't have Enough Cps i need 50k Cps.");
return;
}
else
{
client.Player.ConquerPoints -= 50000;
client.Inventory.Add(stream, 620439);
client.Inventory.Add(stream, 619439);
client.SendSysMesage("Congratz you got a stuff in your inventory.");
}
break;
}
#endregion #region Stuff trojan
////
}
}