|
|
|
@ -2357,9 +2357,6 @@ public class CharacterItemManager {
@@ -2357,9 +2357,6 @@ public class CharacterItemManager {
|
|
|
|
|
if (!DbManager.ItemQueries.SET_DURABILITY(item, dur)) |
|
|
|
|
return; |
|
|
|
|
item.setCombat_health_current((short) dur); |
|
|
|
|
item.value = (int) (item.template.item_value * (item.combat_health_current / item.template.combat_health_full)); |
|
|
|
|
if (!DbManager.ItemQueries.UPDATE_VALUE(item, item.value)) |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (this.absCharacter.getObjectType().equals(GameObjectType.PlayerCharacter) == false) |
|
|
|
|