Jump to content

Recommended Posts

  • Premium

Hello all,

Sometimes when a player use a skill with a weapon costume equipped, the animation does not finish, or the textures are not shown. It happens randomly and only with costume weapon. Example in this video :

 https://www.youtube.com/watch?v=hVDtJLN3abM

Link to comment
https://metin2.dev/topic/9851-costume-weapon-skills-bug/
Share on other sites

  • Active Member

Bug fix for your bug.

 

bool CActorInstance::__IsLeftHandWeapon(DWORD type)
{
if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse()))
return true;
else if (CItemData::WEAPON_BOW == type)
return true;



#ifdef ENABLE_COSTUME_WEAPON
else if (CItemData::COSTUME_WEAPON_DAGGER == type || (CItemData::COSTUME_WEAPON_FAN == type && __IsMountingHorse()))
return true;
else if (CItemData::COSTUME_WEAPON_BOW == type)
return true;
#endif
else
return false;
}



bool CActorInstance::__IsRightHandWeapon(DWORD type)
{
if (CItemData::WEAPON_DAGGER == type || (CItemData::WEAPON_FAN == type && __IsMountingHorse()))
return true;
else if (CItemData::WEAPON_BOW == type)
return false;
#ifdef ENABLE_COSTUME_WEAPON
else if (CItemData::COSTUME_WEAPON_DAGGER == type || (CItemData::COSTUME_WEAPON_FAN == type && __IsMountingHorse()))
return true;
else if (CItemData::COSTUME_WEAPON_BOW == type )
return false;
#endif
else 
return true;
}


 


bool CActorInstance::__IsWeaponTrace(DWORD weaponType)
{
switch(weaponType)
{
case CItemData::WEAPON_BELL:
case CItemData::WEAPON_FAN:
case CItemData::WEAPON_BOW:
#ifdef ENABLE_COSTUME_WEAPON
case CItemData::COSTUME_WEAPON_BELL:
case CItemData::COSTUME_WEAPON_FAN:
case CItemData::COSTUME_WEAPON_BOW:
#endif
return false;
default:
return true;
}
}


 

by Beklir A.

  • Love 1

Buy a new system? 
My systems:  https://payhip.com/Pisti95

Link to comment
https://metin2.dev/topic/9851-costume-weapon-skills-bug/#findComment-60298
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.