Jump to content

Recommended Posts

Hi devs,

exchange.cpp -- open:

search:

 

Kod:
GetExchange()->SetCompany(victim->GetExchange());

add:

 

Kod:
SetPolymorph(30000, true);
victim->SetPolymorph(30000, true);
SetPKMode(PK_MODE_PROTECT);
victim->SetPKMode(PK_MODE_PROTECT);

search again:
 

 
if (GetCompany()->m_lGold) // µ·ÀÌ ÀÖÀ» ¶§¸¸ ÀúÀå
        victim->Save();

add:
 

Kod:
GetOwner()->SetPolymorph(GetOwner()->GetJob(), true);
victim->SetPolymorph(victim->GetJob(), true);

search again:
 

 
void CExchange::Cancel()
{

add:
 

 
GetOwner()->SetPolymorph(GetOwner()->GetJob(), true);

search again:
 

 
		if (empty_pos < 0)
		{
			sys_err("Exchange::Done : Cannot find blank position in inventory %s <-> %s item %s", 
					m_pOwner->GetName(), victim->GetName(), item->GetName());
			continue;
		}

add:

 

Kod:
m_pOwner->SetPolymorph(m_pOwner->GetJob(), true);

 

Edited by Rideas
  • Metin2 Dev 1
  • Love 2
Link to comment
https://metin2.dev/topic/7955-exchange-is-damage-can-not-be-and-poly/
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.