# HG changeset patch # User Ritor1 # Date 1389354979 -21600 # Node ID 10f03a70ab6de3399f9c14330f3841ba3689dc0b # Parent c6d8253d4cbcea62ccbbe79e6207289a7d45c764 m diff -r c6d8253d4cbc -r 10f03a70ab6d Player.cpp --- a/Player.cpp Fri Jan 10 17:42:57 2014 +0600 +++ b/Player.cpp Fri Jan 10 17:56:19 2014 +0600 @@ -3175,9 +3175,9 @@ { if (this->pInventoryItemList[this->pEquipment.pIndices[i] - 1].uEnchantmentType - 1 == attr)//if (currEquippedItem->IsRegularEnchanmentForAttribute(attr)) { - if ( attr > CHARACTER_ATTRIBUTE_RESIST_BODY && v5 < currEquippedItem->m_enchantmentStrength ) + if ( attr > CHARACTER_ATTRIBUTE_RESIST_BODY && v5 < currEquippedItem->m_enchantmentStrength )//for skills bonuses v5 = currEquippedItem->m_enchantmentStrength; - else + else // for resisits and attributes bonuses v5 += currEquippedItem->m_enchantmentStrength; } }