Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1.Mergem in char_item.cpp si cautam:
- case USE_ADD_ATTRIBUTE :
- *Inlocuim toata functia cu :
- case USE_ADD_ATTRIBUTE :
- {
- if (item2->GetAttributeSetIndex() == -1)
- {
- ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다."));
- return false;
- }
- bool canTake = false;
- while (item2->GetAttributeCount() < 5)
- {
- item2->AddAttribute();
- canTake = true;
- }
- if (canTake)
- ChatPacket(CHAT_TYPE_INFO, "Ai adaugat 5 bonusuri cu succes.");
- }
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement