Jump to content

Unlimited Bravery Cape system and Unlimited Potions


Recommended Posts

Open char_item.cpp and find this line case 70057: item->SetCount(item->GetCount()-1);

 

and change with this

if (true)
{
	item->SetCount(item->GetCount()-0);
}
else
{
	item->SetCount(item->GetCount()-1);
}

 

Thanks Mali61 for helping this system

@Mali61

Edited by korayx123
  • Metin2 Dev 1
  • Good 1
  • Lmao 7
  • Scream 2
  • Think 3
Link to post

I think have easiest way

 

if (true && !false && true != false && false != true)
{
	if(item->GetCount() > 0)
		item->SetCount(item->GetCount()-0);
	else
		item->SetCount(item->GetCount()-(1-1));
}
else if (true == false)
{
	if(item->GetCount() > 0)
		item->SetCount(item->GetCount()-0);
	else
		item->SetCount(item->GetCount()-(1-1));
}
else
{
	item->SetCount(item->GetCount()-1);
}

 

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • 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.