Jump to content

Recommended Posts

  • Bot

Hi.

 

I have server on source and I have a problem with bonuses in item. 

 

 

Item_attr[db]

.png

.png

 

Screens items in game after mixed bonuses:

.png

.png

.png

.png

 

Item Attribute.cpp

Spoiler
int CItem::GetAttributeSetIndex()
{
if (GetType() == ITEM_WEAPON)
{
if (GetSubType() == WEAPON_ARROW)
return -1;
 
return ATTRIBUTE_SET_WEAPON;
}
 
if (GetType() == ITEM_ARMOR || GetType() == ITEM_COSTUME)
{
switch (GetSubType())
{
case ARMOR_BODY:
// case COSTUME_BODY: // ??? ??? ?? ??? ??? Attribute Set? ???? ???? ?? (ARMOR_BODY == COSTUME_BODY)
return ATTRIBUTE_SET_BODY;
 
case ARMOR_WRIST:
return ATTRIBUTE_SET_WRIST;
 
case ARMOR_FOOTS:
return ATTRIBUTE_SET_FOOTS;
 
case ARMOR_NECK:
return ATTRIBUTE_SET_NECK;
 
case ARMOR_HEAD:
// case COSTUME_HAIR: // ??? ??? ?? ?? ???? ??? Attribute Set? ???? ???? ?? (ARMOR_HEAD == COSTUME_HAIR)
return ATTRIBUTE_SET_HEAD;
 
case ARMOR_SHIELD:
return ATTRIBUTE_SET_SHIELD;
 
case ARMOR_EAR:
return ATTRIBUTE_SET_EAR;
}
}
 
return -1;

}

 

english_banner.gif

Link to comment
https://metin2.dev/topic/6973-bug-with-bonuses-in-items/
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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.

Guest
This topic is now closed to further replies.
×
×
  • 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.