Module:Armory: Difference between revisions
No edit summary |
No edit summary |
||
| Line 111: | Line 111: | ||
local t_min = tonumber(args.tier_min) | local t_min = tonumber(args.tier_min) | ||
local t_max = tonumber(args.tier_max) | local t_max = tonumber(args.tier_max) | ||
if args.enable_tier_min == 'true' and t_min and t_min > | if args.enable_tier_min == 'true' and t_min and t_min > 100 and not no_tier_search[args.slot] then | ||
table.insert(query, '[[Mod tier::≥'..t_min..']]') | table.insert(query, '[[Mod tier::≥'..t_min..']]') | ||
end | end | ||
if args.enable_tier_max =='true' and t_max and t_max < | if args.enable_tier_max =='true' and t_max and t_max < 500 and not no_tier_search[args.slot] then | ||
table.insert(query, '[[Mod tier::≤'..t_max..']]') | table.insert(query, '[[Mod tier::≤'..t_max..']]') | ||
end | end | ||