Mercurial > mm7
comparison Player.cpp @ 2159:67a83bc1a7de
uDefaultPartyHeight = 192
author | Ritor1 |
---|---|
date | Mon, 13 Jan 2014 14:31:25 +0600 |
parents | 10f03a70ab6d |
children | 9aa0a5d90454 |
comparison
equal
deleted
inserted
replaced
2158:10f03a70ab6d | 2159:67a83bc1a7de |
---|---|
3175 { | 3175 { |
3176 if (this->pInventoryItemList[this->pEquipment.pIndices[i] - 1].uEnchantmentType - 1 == attr)//if (currEquippedItem->IsRegularEnchanmentForAttribute(attr)) | 3176 if (this->pInventoryItemList[this->pEquipment.pIndices[i] - 1].uEnchantmentType - 1 == attr)//if (currEquippedItem->IsRegularEnchanmentForAttribute(attr)) |
3177 { | 3177 { |
3178 if ( attr > CHARACTER_ATTRIBUTE_RESIST_BODY && v5 < currEquippedItem->m_enchantmentStrength )//for skills bonuses | 3178 if ( attr > CHARACTER_ATTRIBUTE_RESIST_BODY && v5 < currEquippedItem->m_enchantmentStrength )//for skills bonuses |
3179 v5 = currEquippedItem->m_enchantmentStrength; | 3179 v5 = currEquippedItem->m_enchantmentStrength; |
3180 else // for resisits and attributes bonuses | 3180 else // for resists and attributes bonuses |
3181 v5 += currEquippedItem->m_enchantmentStrength; | 3181 v5 += currEquippedItem->m_enchantmentStrength; |
3182 } | 3182 } |
3183 } | 3183 } |
3184 else | 3184 else |
3185 { | 3185 { |