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
  • Sad 1
  • Think 3
  • Scream 2
  • Lmao 7
  • Good 1
Link to comment
Share on other sites

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);
}

 

  • Scream 1
  • Lmao 11
Link to comment
Share on other sites

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.