Commit 9a494edf authored by xiaoye's avatar xiaoye

fix

parent 68cbfdd5
......@@ -36,7 +36,7 @@ function cm.repfilter(c,tp)
end
function cm.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return eg:IsExists(cm.repfilter,1,nil,tp) end
if Duel.SelectYesNo(tp,aux.Stringid(m,0)) then
if Duel.SelectYesNo(tp,VgF.Stringid(m,0)) then
local g=eg:Filter(cm.repfilter,nil,tp)
local ct=g:GetCount()
if ct>1 then
......
......@@ -959,7 +959,7 @@ function VgD.SpellCondtion(con)
end
function VgD.MixCost(cost)
return function(e, tp, eg, ep, ev, re, r, rp, chk)
cost = cost or aux.TRUE
cost = cost or VgF.TRUE
local c = e:GetHandler()
local alchemagic_g = Duel.GetMatchingGroup(VgD.MixCostFilter, tp, LOCATION_DROP, 0, nil, e, tp, eg, ep, ev, re, r, rp, c)
local alchemagic_chk = Duel.IsPlayerAffectedByEffect(tp, AFFECT_CODE_MIX) and #alchemagic_g > 0
......
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