working perfect
else if (parameters.contains("cov"))
{
if (player.destroyItemByItemId("Buff", 11010, 3, player, true))
{
player.getInventory().destroyItemByItemId("Consume",11010, 3, player, null);
player.sendMessage("SYS: 3 of your Vote Tickets have been consumed.");
player.broadcastPacket(new InventoryUpdate());
MagicSkillUse mgc = new MagicSkillUse(player, player, 1363, 1, 1, 1);
SkillTable.getInstance().getInfo(1363, 1).getEffects(player,player);
player.broadcastPacket(mgc);
player.sendMessage("Your strength is improved due to Chant of Victory effects!");
}
else
{
player.sendMessage("You don't have enough vote tickets.");
return;
}
}