Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (item->GetVnum() == 76028)
- {
- if (item2->GetAttributeCount() < 3)
- {
- if ((item2->GetSubType() == COSTUME_BODY))
- {
- item2->AddAttribute();
- }
- else
- {
- ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Mozna dodac tylko w kostiumie"));
- break;
- }
- }
- else
- {
- ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Nie mozesz dodac wiecej bonusow"));
- break;
- }
- item->SetCount(item->GetCount() - 1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement