Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.
if (iName and iName ~= "") then
local s,e = string.find(iName, ">");
if (s) then
local reagent = string.lower(string.sub(iName,e+1));
local disenchantsTo = Enchantrix_GetItemDisenchants(signature, name, true);
local totals = disenchantsTo.totals;
local dSig, counts;
disenchantsTo.totals = nil;
for dSig, counts in disenchantsTo do
local itemID;
if (dSig) then
itemID = tonumber(dSig);
if (counts and counts.pct and counts.pct > 1) then
local found,e = string.find(string.lower(counts.name),reagent);
if (found) then
match = true;
end
end
end
end
else
local i,j = string.find(oName, string.lower(iName))
if (i) then match = true end
end
end
local disenchantsTo = Enchantrix_GetItemDisenchants(a.signature, name, true);
local hsp = disenchantsTo.totals.hspValue;
Posted by: Adie on Jun 9 2006, 07:46 PM
I'm trying to edit this to be able to filter by disenchant value using enchantrix broker function. Any idea of being able to do something like :
local disenchantsTo = Enchantrix_GetItemDisenchants(a.signature, name, true);
local hsp = disenchantsTo.totals.hspValue;
will this set the hsp value to be calculated off of its disenchant value?
1 to 5 of 5