Commit a1d7ebd3 authored by REIKAI's avatar REIKAI 💬

bug fix

parent 92dc7ccf
Pipeline #20589 passed with stages
in 29 minutes and 25 seconds
......@@ -145,7 +145,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
end
--Effect 3
function cm.chainop(e,tp,eg,ep,ev,re,r,rp)
if ep==tp then
if ep~=tp then
Duel.SetChainLimit(aux.FALSE)
end
end
......
......@@ -70,7 +70,7 @@ function cm.LCondition(f,minc,maxc,gf)
if not cm.ConditionFilter(lmat,f,c,e) then return false end
mg:AddCard(lmat)
end
local fg=Duel.GetMustMaterialGroup(tp,EFFECT_MUST_BE_LMATERIAL)
local fg=Duel.GetMustMaterial(tp,EFFECT_MUST_BE_LMATERIAL)
if fg:IsExists(aux.MustMaterialCounterFilter,1,nil,mg) then return false end
Duel.SetSelectedCard(fg)
return mg:CheckSubGroup(cm.CheckGoal,minc,maxc,tp,c,gf,lmat)
......
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