Noob1337 1 Posted December 17, 2022 Share Posted December 17, 2022 Hello How i can put the itens 71084 / 71085 infinite? Thanks alot Link to comment Share on other sites More sharing options...
Contributor TMP4 11072 Posted December 17, 2022 Contributor Share Posted December 17, 2022 (edited) Char_item.cpp 71084: Spoiler Look for: case USE_CHANGE_ATTRIBUTE : if (item2->GetAttributeSetIndex() == -1) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다.")); return false; } Scroll down to this case's bottom and you'll find this: item->SetCount(item->GetCount() - 1); Remove it, or If you have multiple changer and want only 71084 to be infinite then do this: if (item->GetID() != 71084) { item->SetCount(item->GetCount() - 1); } 71085: Spoiler Look for: case USE_ADD_ATTRIBUTE : if (item2->GetAttributeSetIndex() == -1) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경할 수 없는 아이템입니다.")); return false; } Scroll down to this case's bottom (It's a few line higher then bottom this time) and you'll find this: item->SetCount(item->GetCount() - 1); Remove it, or If you have multiple adder and want only 71085 to be infinite then do this: if (item->GetID() != 71085) { item->SetCount(item->GetCount() - 1); } I recommend that you learn a little programming basic , because minor modifications like this do not require serious knowledge. Edited December 17, 2022 by TMP4 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now