From 3f56ce7753288992b6ac6ef2e9e311f3a7c12255 Mon Sep 17 00:00:00 2001 From: Durel Date: Tue, 16 Jan 2018 10:54:00 -0500 Subject: [PATCH] 1) In some situations, a full refresh ("dinv refresh all") was required to pick up changes after enchanting an item. That is no longer the case and a fast basic refresh will now detect enchantment changes. --- aard_inventory.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/aard_inventory.xml b/aard_inventory.xml index 972690e..97cd1f2 100644 --- a/aard_inventory.xml +++ b/aard_inventory.xml @@ -9810,6 +9810,7 @@ function inv.items.trigger.itemDataStats(objId, flags, itemName, level, typeFiel -- possibly changed so that we can re-identify it to see what changed if (isInvItem == true) then if (item ~= nil) then + inv.items.mainState = invItemsRefreshDirty -- we want to rescan main inventory now retval = inv.items.setField(objId, invFieldIdentifyLevel, invIdLevelNone) else -- Check if the item is in the frequent item cache. If it is, there's no need to identify it :)