From 22cdddce05dd6c05eb897cd7f1a185e2dc3e0f67 Mon Sep 17 00:00:00 2001 From: HonorGoG Date: Sat, 26 Apr 2025 21:27:59 -0700 Subject: [PATCH] - TitanRepair : Updated color code parsing. Thank you to Centias for finding this for us. --- TitanRepair/TitanRepair.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TitanRepair/TitanRepair.lua b/TitanRepair/TitanRepair.lua index bb69d62..1b30aef 100644 --- a/TitanRepair/TitanRepair.lua +++ b/TitanRepair/TitanRepair.lua @@ -23,7 +23,7 @@ local TR_Timer = {} local TR_Timer_active = false local parse_item = - "|?c?f?f?(%x*)|?H?([^:]*):?(%d+):?(%d*):?(%d*):?(%d*):?(%d*):?(%d*):?(%-?%d*):?(%-?%d*):?(%d*):?(%d*)|?h?%[?([^%[%]]*)%]?|?h?|?r?" + "|?cnIQ?(%x*):|?H?([^:]*):?(%d+):?(%d*):?(%d*):?(%d*):?(%d*):?(%d*):?(%-?%d*):?(%-?%d*):?(%d*):?(%d*)|?h?%[?([^%[%]]*)%]?|?h?|?r?" ---@diagnostic disable-next-line: deprecated local GetItem = C_Item.GetItemInfo or GetItemInfo -- For Classic versions @@ -274,7 +274,7 @@ print debug_msg(dmsg) end - -- Walk thru slots 'backward' to give weapons 'priority' if most damagaged + -- Walk thru slots 'backward' to give weapons 'priority' if most damaged for slotID = TR.scan_start, TR.scan_end, -1 do -- thru slots local slotName = slots[slotID].name local scan_slots = tostring(slotName)..":"..tostring(GetInventorySlotInfo(slotName)) -- 1.7.9.5