Couple of fixes and a new feature for bank/GB (#25)

* Exclude crafting spells using Fel Blood

Updated cost calculation to exclude spells using Fel Blood in crafting.

* Epoch lua error fix

* Slow mail loot when low FPS to avoid double looting

* Allowing withdrawing items from bank/GB using "AH shortfall" to withdraw based on post cap and now ALSO minPrice of those items has to be above current DBMinBuyout.

* Fixing an infinite loop bug with invalid custom price of Default Craft Value Method

---------

Co-authored-by: Szyler <Szyler@Szyler.com>
This commit is contained in:
Szyler
2025-10-29 00:40:48 +01:00
committed by GitHub
parent ea602dbbce
commit c1d9d3f7c6
7 changed files with 50 additions and 11 deletions
+6 -2
View File
@@ -239,8 +239,12 @@ function TSM:OnInitialize()
-- check if item is cached
local _,_,itemID = itemString:find("item:(%d+)")
if itemID then
local item = Item:CreateFromID(itemID)
item:Query()
if Item then
local item = Item:CreateFromID(itemID)
item:Query()
else
TSMAPI:GetSafeItemInfo(tonumber(itemID))
end
end
if strfind(itemString, " ") then
local newItemString = gsub(itemString, " ", "")