Commit cb85092d authored by xiaoye's avatar xiaoye

Update vgfuncLib.lua

parent dc1dcd06
...@@ -1516,7 +1516,7 @@ function VgF.AddAlchemagic(m, from, to, min, max, filter) ...@@ -1516,7 +1516,7 @@ function VgF.AddAlchemagic(m, from, to, min, max, filter)
table.insert(cm.order_cost['from'], v) table.insert(cm.order_cost['from'], v)
table.insert(cm.order_cost['to'], to[i]) table.insert(cm.order_cost['to'], to[i])
table.insert(cm.order_cost['min'], min[i] or 1) table.insert(cm.order_cost['min'], min[i] or 1)
table.insert(cm.order_cost['max'], (max[i] and max[i] >= min[i]) and max[i] or min[i]) table.insert(cm.order_cost['max'], (max[i] and max[i] >= min[i]) and max[i] or (min[i] or 1))
table.insert(cm.order_cost['filter'], filter[i]) table.insert(cm.order_cost['filter'], filter[i])
end end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment