CONTRIBUTION:
This system work fine, but is limited to costume_body, not working with costume hair. For fix it and accept with all type of costume:
In char.cpp, search:
if (costume1->GetType() != ITEM_COSTUME || costume1->GetType() == ITEM_COSTUME && costume1->GetSubType() != ARMOR_BODY)
{
ChatPacket(CHAT_TYPE_INFO, "Bu islem sadece zirh kostumune yapilabilir!");
return;
}
Replace to:
if (costume1->GetType() != ITEM_COSTUME)
{
ChatPacket(CHAT_TYPE_INFO, "Bu islem sadece zirh kostumune yapilabilir!");
return;
}
Search:
if (costume2->GetType() != ITEM_COSTUME || costume2->GetType() == ITEM_COSTUME && costume2->GetSubType() != ARMOR_BODY)
{
ChatPacket(CHAT_TYPE_INFO, "Sadece kostumun bonusu aktarilabilir !");
return;
}
Replace to:
if (costume2->GetType() != ITEM_COSTUME)
{
ChatPacket(CHAT_TYPE_INFO, "Sadece kostumun bonusu aktarilabilir !");
return;
}
Is it!
Sorry my english, not is my native language.