Commit a387ffc8 authored by TanakaKotoha's avatar TanakaKotoha

mopemope

parent 43ce8704
Pipeline #733 failed with stages
in 23 minutes and 42 seconds
......@@ -12,13 +12,13 @@ end
function c10900053.discon(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase()
if ph==PHASE_MAIN1 or ph==PHASE_MAIN2 then return end
return rp==1-tp and Duel.IsChainNegatable(ev)
return rp==1-tp and Duel.IsChainNegatable(ev)
end
function c10900053.desfilter(c)
return c:IsFaceup() and not c:IsStatus(STATUS_BATTLE_DESTROYED)
end
function c10900053.negtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c10900053.desfilter,tp,0,LOCATION_ONFIELD,1,e:GetHandler()) end
if chk==0 then return Duel.IsExistingMatchingCard(c10900053.desfilter,tp,0,LOCATION_ONFIELD,1,re:GetHandler()) end
Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,1-tp,LOCATION_ONFIELD)
end
......
......@@ -22,7 +22,8 @@ function c60152811.initial_effect(c)
c:RegisterEffect(e2)
end
function c60152811.e1tgfilter(c)
return c:IsFaceup() and c:IsSetCard(0xab27) and c:IsType(TYPE_FUSION) and Duel.IsExistingTarget(c60152811.e1tgfilter2,tp,LOCATION_EXTRA,0,1,nil,c:GetCode())
local tp=c:GetControler()
return c:IsFaceup() and c:IsSetCard(0xab27) and c:IsType(TYPE_FUSION) and Duel.IsExistingMatchingCard(c60152811.e1tgfilter2,tp,LOCATION_EXTRA,0,1,nil,c:GetCode())
end
function c60152811.e1tgfilter2(c,code)
return c:IsType(TYPE_FUSION) and c:IsSetCard(0xab27) and not c:IsCode(code)
......
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