View Single Post
02/26/23, 05:41 PM   #15
sinnereso
AddOn Author - Click to view addons
Join Date: Oct 2022
Posts: 245
i also did try it this way initially cuz i wanted to be sure it was checking and found a gem for each repair to be sure.. ill restructure it that way again and see.

Code:
function RidinDirty.GetGems()
	for slotId = 0, GetBagSize(BAG_BACKPACK) do
		if IsItemSoulGem(SOUL_GEM_TYPE_FILLED, BAG_BACKPACK, slotId) then
			local gemSlot = slotId
			--return gemSlot
			RidinDirty.Recharge(slotId)
			--if RidinDirty.Recharge == true then return end
		end
	end
end
  Reply With Quote