//En Alta Ekle
ACMD(do_my_item)
{
extern void do_my_item_set (LPCHARACTER ch, const char* argument, int cmd, int subcmd);
do_my_item_set (ch, NULL, 0, 0);
}
ACMD(do_my_item_set)
{
BYTE job = ch->GetJob();
LPITEM item;
for (int i = 0; i < 6; i++)
{
item = ch->GetWear (i);
if (item != NULL)
ch->UnequipItem(item);
}
item = ch->GetWear (WEAR_SHIELD);
if (item != NULL)
ch->UnequipItem(item);
switch (job)
{
case JOB_SURA:
{
item = ITEM_MANAGER::instance().CreateItem (11699);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
M2_DESTROY_ITEM (item);
item = ITEM_MANAGER::instance().CreateItem (13049);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
M2_DESTROY_ITEM (item);
item = ITEM_MANAGER::instance().CreateItem (15189);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
M2_DESTROY_ITEM (item);
item = ITEM_MANAGER::instance().CreateItem (189);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
M2_DESTROY_ITEM (item);
item = ITEM_MANAGER::instance().CreateItem (12529);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
M2_DESTROY_ITEM (item);
item = ITEM_MANAGER::instance().CreateItem (14109);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
M2_DESTROY_ITEM (item);
item = ITEM_MANAGER::instance().CreateItem (17209);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
M2_DESTROY_ITEM (item);
item = ITEM_MANAGER::instance().CreateItem (16209);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
M2_DESTROY_ITEM (item);
}
break;
case JOB_WARRIOR:
{
item = ITEM_MANAGER::instance().CreateItem (11299);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (13049);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (15189);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (3159);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (12249);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (14109);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (17109);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (16109);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
}
break;
case JOB_SHAMAN:
{
item = ITEM_MANAGER::instance().CreateItem (11899);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (13049);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (15189);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (7159);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (12669);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (14109);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (17209);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (16209);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
}
break;
case JOB_ASSASSIN:
{
item = ITEM_MANAGER::instance().CreateItem (11499);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (13049);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (15189);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (1139);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (12389);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (14109);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (17189);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
item = ITEM_MANAGER::instance().CreateItem (16189);
if (!item || !item->EquipTo (ch, item->FindEquipCell (ch)))
{
M2_DESTROY_ITEM (item);
}
}
break;
}
}