Jump to content
×
×
  • Create New...

[FIX]Metin2_Map_Duel ring and map_attr


Recommended Posts

  • Sun

M2 Download Center

This is the hidden content, please
( Internal )

Before:

 

https://imgur.com/7Z3Iwux

 

After:

 

https://imgur.com/c632MpQ

 

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 TokiSan
  • Metin2 Dev 16
  • Love 8
  • Good 8
  • Dislove 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Activity

    1. 36

      Destroy Item System

    2. 1

      Brillances

    3. 0

      Fusion.org is Looking for Staff Members

    4. 1

      Brillances

    5. 3

      ELONIA2 | PVM-MEDIUM | 11 LANGUAGES | INTERNATIONAL | A NEW STORY

    6. 4

      Spider Queen not spawining in spider dungeon v1

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.