Commit e3222a3c authored by CubeRuler's avatar CubeRuler

fix

parent 48d5abf6
Pipeline #20705 failed with stages
in 2 minutes and 11 seconds
...@@ -49,12 +49,13 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -49,12 +49,13 @@ function cm.spop(e,tp,eg,ep,ev,re,r,rp)
local token=Duel.CreateToken(tp,33330171) local token=Duel.CreateToken(tp,33330171)
if Duel.SpecialSummon(token,0,tp,1-tp,false,false,POS_FACEUP) then if Duel.SpecialSummon(token,0,tp,1-tp,false,false,POS_FACEUP) then
local mg=Duel.GetMatchingGroup(cm.descheck,tp,0,LOCATION_ONFIELD,token,token,tp) local mg=Duel.GetMatchingGroup(cm.descheck,tp,0,LOCATION_ONFIELD,token,token,tp)
if Duel.Destroy(mg,REASON_EFFECT)~=0 then if mg then
Duel.Destroy(mg,REASON_EFFECT)
Duel.BreakEffect() Duel.BreakEffect()
end
if Duel.GetLocationCount(tp,LOCATION_MZONE)==0 then return end if Duel.GetLocationCount(tp,LOCATION_MZONE)==0 then return end
Duel.GetControl(token,tp) Duel.GetControl(token,tp)
end end
end
end end
function cm.tgfilter(e,c) function cm.tgfilter(e,c)
return c:IsType(TYPE_TOKEN) return c:IsType(TYPE_TOKEN)
......
...@@ -86,7 +86,7 @@ function c33330170.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -86,7 +86,7 @@ function c33330170.spop(e,tp,eg,ep,ev,re,r,rp)
end end
end end
function c33330170.thcon(e,tp,eg,ep,ev,re,r,rp) function c33330170.thcon(e,tp,eg,ep,ev,re,r,rp)
return eg:IsExists(function(c) return c:GetPreviousControler()==tp and c:IsRace(RACE_SPELLCASTER) end,1,nil,tp) return eg:IsExists(function(c) return c:GetPreviousControler()==tp and c:IsRace(RACE_SPELLCASTER) and c:IsType(TYPE_FUSION) end,1,nil,tp)
end end
function c33330170.thtg(e,tp,eg,ep,ev,re,r,rp,chk) function c33330170.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():IsAbleToHand() end if chk==0 then return e:GetHandler():IsAbleToHand() 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