Jump to content

Recommended Posts

  • Contributor

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 by TMP4
  • Metin2 Dev 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.