Commit 87a16e06 authored by Grajade's avatar Grajade

Update c1110000.lua

parent b965a8da
Pipeline #20195 passed with stages
in 20 minutes and 16 seconds
...@@ -185,7 +185,7 @@ function cm.XyzFreeByColourCondition(f,xyzct) ...@@ -185,7 +185,7 @@ function cm.XyzFreeByColourCondition(f,xyzct)
else else
mg=Duel.GetMatchingGroup(Auxiliary.XyzLevelFreeFilter,tp,LOCATION_MZONE,0,nil,c,f) mg=Duel.GetMatchingGroup(Auxiliary.XyzLevelFreeFilter,tp,LOCATION_MZONE,0,nil,c,f)
end end
local sg=Auxiliary.GetMustMaterialGroup(tp,EFFECT_MUST_BE_XMATERIAL) local sg=Duel.GetMustMaterial(tp,EFFECT_MUST_BE_XMATERIAL)
if maxc<1 and sg and sg:GetCount()>0 then return false end if maxc<1 and sg and sg:GetCount()>0 then return false end
if sg:IsExists(Auxiliary.MustMaterialCounterFilter,1,nil,mg)then return false end if sg:IsExists(Auxiliary.MustMaterialCounterFilter,1,nil,mg)then return false end
Duel.SetSelectedCard(sg) Duel.SetSelectedCard(sg)
...@@ -225,7 +225,7 @@ function cm.XyzFreeByColourFreeTarget(f,xyzct) ...@@ -225,7 +225,7 @@ function cm.XyzFreeByColourFreeTarget(f,xyzct)
else else
mg=Duel.GetMatchingGroup(Auxiliary.XyzLevelFreeFilter,tp,LOCATION_MZONE,0,nil,c,f) mg=Duel.GetMatchingGroup(Auxiliary.XyzLevelFreeFilter,tp,LOCATION_MZONE,0,nil,c,f)
end end
local sg=Auxiliary.GetMustMaterialGroup(tp,EFFECT_MUST_BE_XMATERIAL) local sg=Duel.GetMustMaterial(tp,EFFECT_MUST_BE_XMATERIAL)
Duel.SetSelectedCard(sg) Duel.SetSelectedCard(sg)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_XMATERIAL)
local cancel=Duel.IsSummonCancelable() local cancel=Duel.IsSummonCancelable()
......
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