if (activeChar.getCreateList() == null)
{
activeChar.setCreateList(new L2ManufactureList());
}
activeChar.sendPacket(new RecipeShopManageList(activeChar, true));
break;
case 39: // Soulless - Parasite Burst
useSkill(4138);
break;
case 41: // Wild Hog Cannon - Attack
useSkill(4230);
break;
case 42: // Kai the Cat - Self Damage Shield
useSkill(4378, activeChar);
break;
case 43: // Unicorn Merrow - Hydro Screw
useSkill(4137);
break;
case 44: // Big Boom - Boom Attack
useSkill(4139);
break;
case 45: // Unicorn Boxer - Master Recharge
useSkill(4025, activeChar);
break;
case 46: // Mew the Cat - Mega Storm Strike
useSkill(4261);
break;
case 47: // Silhouette - Steal Blood
useSkill(4260);
break;
case 48: // Mechanic Golem - Mech. Cannon
useSkill(4068);
break;
case 51:
// Player shouldn't be able to set stores if he/she is alike dead (dead or fake death)
if (activeChar.isAlikeDead())
{
getClient().sendPacket(ActionFailed.STATIC_PACKET);
return;
}
// Like L2OFF - You can't open Manufacture when you are in private store
if (activeChar.getPrivateStoreType() == L2PcInstance.STORE_PRIVATE_BUY || activeChar.getPrivateStoreType() == L2PcInstance.STORE_PRIVATE_SELL)
{
getClient().sendPacket(ActionFailed.STATIC_PACKET);
return;
}
// Like L2OFF - You can't open Manufacture when you are sitting
if (activeChar.isSitting() && activeChar.getPrivateStoreType() != L2PcInstance.STORE_PRIVATE_MANUFACTURE)
{
getClient().sendPacket(ActionFailed.STATIC_PACKET);
return;
}
// You can't open Manufacture when the task is launched
if(activeChar.isSittingTaskLaunched())
{
sendPacket(ActionFailed.STATIC_PACKET);
return;
}
if (activeChar.getPrivateStoreType() == L2PcInstance.STORE_PRIVATE_MANUFACTURE)
{
activeChar.setPrivateStoreType(L2PcInstance.STORE_PRIVATE_NONE);
if (activeChar.isSitting())
activeChar.standUp();
}
if (activeChar.getCreateList() == null)
{
activeChar.setCreateList(new L2ManufactureList());
}
activeChar.sendPacket(new RecipeShopManageList(activeChar, false));
break;
case 52: // unsummon
if (pet != null && pet instanceof L2SummonInstance)
{
if (pet.isInCombat() || activeChar.isInCombat())