|
|
@ -1110,6 +1110,7 @@ public class CharacterItemManager { |
|
|
|
// Reset value
|
|
|
|
// Reset value
|
|
|
|
|
|
|
|
|
|
|
|
purchasedItem.value = (int) (purchasedItem.template.item_value * (purchasedItem.combat_health_current / purchasedItem.template.combat_health_full)); |
|
|
|
purchasedItem.value = (int) (purchasedItem.template.item_value * (purchasedItem.combat_health_current / purchasedItem.template.combat_health_full)); |
|
|
|
|
|
|
|
purchasedItem.magicValue = purchasedItem.template.item_value + purchasedItem.calcMagicValue(); |
|
|
|
|
|
|
|
|
|
|
|
// db transfer successfully, remove from this character
|
|
|
|
// db transfer successfully, remove from this character
|
|
|
|
// skip this check if this is a mobLoot item (which is not in any inventory)
|
|
|
|
// skip this check if this is a mobLoot item (which is not in any inventory)
|
|
|
|