service.h #define ENABLE_MAX_ADD_ATTRIBUTE char_item.cpp Arat item2->AddAttribute(); Değiştir #ifdef ENABLE_MAX_ADD_ATTRIBUTE short AttributeCount = abs(5 - item->GetAttributeCount()); for (int i = 0; i < AttributeCount; i++) item2->AddAttribute(); #else item2->AddAttribute(); #endif Tekrar Arat item2->AddAttribute(); Değiştir #ifdef ENABLE_MAX_ADD_ATTRIBUTE short AttributeCount = abs(2 - item->GetAttributeCount()); for (int i = 0; i < AttributeCount; i++) item2->AddAttribute(); #else item2->AddAttribute(); #endif