Jump to content

Metin2_Map_Duel ring and map_attr


Toki.San

Recommended Posts

  • Contributor

M2 Download Center

This is the hidden content, please
( Internal )

Before:

 

https://metin2.download/video/M96MG9kqoOtdk7arhl6P378yd80eRZCT/.mp4

 

After:

 

https://metin2.download/video/v4ZkzS9Q9yaLkUJOfv0cmsAqLF8dtX9F/.mp4

 

Fix List

 

-Fix Ring mdattr.

-Fix Block attr.

-Fix BanPk attr.


Fix C++
 

//On UserInterface/InstanceBase.cpp
//In bool CInstanceBase::CanUseSkill() search:

	return true;
	
//Add above:

#ifdef ENABLE_FIX_MAP_DUEL_SKILL
	CPythonBackground& rkBG = CPythonBackground::Instance();
	const D3DXVECTOR3& rv3Position = m_GraphicThingInstance.GetPosition();
	D3DXVECTOR3 v3CheckPosition = rv3Position;
	std::string stringMapName = CPythonBackground::Instance().GetWarpMapName();

	if (stringMapName == "metin2_map_duel")
	{
		if (rkBG.isAttrOn(v3CheckPosition.x, -v3CheckPosition.y, CTerrainImpl::ATTRIBUTE_BANPK))
			return false;
	}
#endif


 

GitHub Fix:

This is the hidden content, please

 

Download:

This is the hidden content, please

 

 

Edited by Metin2 Dev
Core X - External 2 Internal
  • Metin2 Dev 23
  • Dislove 1
  • Good 11
  • Love 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.