From 72ce1e06943c6b3f4744c6b20160a75d2b19f72e Mon Sep 17 00:00:00 2001 From: MagicBot Date: Mon, 25 Mar 2024 11:29:53 -0400 Subject: [PATCH] Revert value store --- src/engine/objects/CharacterItemManager.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/engine/objects/CharacterItemManager.java b/src/engine/objects/CharacterItemManager.java index 421067ff..aa9690b9 100644 --- a/src/engine/objects/CharacterItemManager.java +++ b/src/engine/objects/CharacterItemManager.java @@ -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)