Jump to content

Recommended Posts

  • Active Member

Bug fix:

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;


}
}

 

 

Source:  turkmmo from Beklir A.

Costume Weapon.7z

  • Love 2

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

Link to comment
https://metin2.dev/topic/10060-costume-weapon/#findComment-59827
Share on other sites

  • 2 weeks later...

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.