Mercurial > wow > reagentmaker
comparison utils.lua @ 125:ef057e91b465
Update Blizzard function name for 5.0.4
author | contrebasse |
---|---|
date | Sun, 11 Aug 2013 23:46:09 +0200 |
parents | c32d6bf6cfc1 |
children |
comparison
equal
deleted
inserted
replaced
124:f17fc88e971e | 125:ef057e91b465 |
---|---|
95 elseif recipe[4] then | 95 elseif recipe[4] then |
96 n1 = n1 + m*recipe[3] | 96 n1 = n1 + m*recipe[3] |
97 n2 = n2 + m*recipe[4] | 97 n2 = n2 + m*recipe[4] |
98 else | 98 else |
99 n1 = n1 + m*recipe[3] | 99 n1 = n1 + m*recipe[3] |
100 n2 = n2 + m*recipe[3] | 100 n2 = n2 + m*recipe[3] |
101 end | 101 end |
102 end -- for | 102 end -- for |
103 return n1,n2,approx | 103 return n1,n2,approx |
104 end -- function | 104 end -- function |
105 | 105 |
133 local headersState = {} | 133 local headersState = {} |
134 | 134 |
135 local function ApplyFilters() | 135 local function ApplyFilters() |
136 TradeSkillOnlyShowSkillUps(TradeSkillFrame.filterTbl.hasSkillUp); | 136 TradeSkillOnlyShowSkillUps(TradeSkillFrame.filterTbl.hasSkillUp); |
137 TradeSkillOnlyShowMakeable(TradeSkillFrame.filterTbl.hasMaterials); | 137 TradeSkillOnlyShowMakeable(TradeSkillFrame.filterTbl.hasMaterials); |
138 SetTradeSkillSubClassFilter(TradeSkillFrame.filterTbl.subClassValue, 1, 1); | 138 SetTradeSkillCategoryFilter(TradeSkillFrame.filterTbl.subClassValue, 0) |
139 SetTradeSkillInvSlotFilter(TradeSkillFrame.filterTbl.slotValue, 1, 1); | 139 SetTradeSkillInvSlotFilter(TradeSkillFrame.filterTbl.slotValue, 1, 1); |
140 TradeSkillUpdateFilterBar(); | 140 TradeSkillUpdateFilterBar(); |
141 CloseDropDownMenus(); | 141 CloseDropDownMenus(); |
142 end | 142 end |
143 | 143 |