Mercurial > mm7
comparison Player.cpp @ 1097:e1ad5ccc13ae
bugfix
author | Gloval |
---|---|
date | Sun, 26 May 2013 23:19:49 +0400 |
parents | c40d40027b77 |
children | 39eaa6b00141 |
comparison
equal
deleted
inserted
replaced
1096:f17cfb070f7a | 1097:e1ad5ccc13ae |
---|---|
4476 if ( !HasItemEquipped((ITEM_EQUIP_TYPE)i) ) | 4476 if ( !HasItemEquipped((ITEM_EQUIP_TYPE)i) ) |
4477 continue; | 4477 continue; |
4478 inv_indx = pEquipment.pIndices[i] - 1; | 4478 inv_indx = pEquipment.pIndices[i] - 1; |
4479 if (a2==17) | 4479 if (a2==17) |
4480 { | 4480 { |
4481 if ((pInventoryItems[inv_indx].uSpecEnchantmentType==17)||(pInventoryItems[inv_indx].uItemID=533)) //Elven Chainmail+Increases rate of Recovery | 4481 if ((pInventoryItems[inv_indx].uSpecEnchantmentType==17)||(pInventoryItems[inv_indx].uItemID==533)) //Elven Chainmail+Increases rate of Recovery |
4482 return 50; | 4482 return 50; |
4483 } | 4483 } |
4484 if (a2==24) | 4484 if (a2==24) |
4485 { | 4485 { |
4486 if (pInventoryItems[inv_indx].uSpecEnchantmentType==24) //Increased Knockback. | 4486 if (pInventoryItems[inv_indx].uSpecEnchantmentType==24) //Increased Knockback. |