Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (number(1, 1) <= aiItemAttributeAddPercent[item2->GetAttributeCount()])
- {
- item2->AddAttribute();
- item2->AddAttribute();
- item2->AddAttribute();
- item2->AddAttribute();
- item2->AddAttribute();
- //ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ĽÓĽş Ăß°ˇżˇ Ľş°řÇĎż´˝Ŕ´Ď´Ů."));
- int iAddedIdx = item2->GetAttributeCount() - 1;
- LogManager::instance().ItemLog(
- GetPlayerID(),
- item2->GetAttributeType(iAddedIdx),
- item2->GetAttributeValue(iAddedIdx),
- item->GetID(),
- "ADD_ATTRIBUTE_SUCCESS",
- buf,
- GetDesc()->GetHostName(),
- item->GetOriginalVnum());
- }
Advertisement
Add Comment
Please, Sign In to add comment