Commit a387ffc8 authored by TanakaKotoha's avatar TanakaKotoha

mopemope

parent 43ce8704
...@@ -12,13 +12,13 @@ end ...@@ -12,13 +12,13 @@ end
function c10900053.discon(e,tp,eg,ep,ev,re,r,rp) function c10900053.discon(e,tp,eg,ep,ev,re,r,rp)
local ph=Duel.GetCurrentPhase() local ph=Duel.GetCurrentPhase()
if ph==PHASE_MAIN1 or ph==PHASE_MAIN2 then return end 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 end
function c10900053.desfilter(c) function c10900053.desfilter(c)
return c:IsFaceup() and not c:IsStatus(STATUS_BATTLE_DESTROYED) return c:IsFaceup() and not c:IsStatus(STATUS_BATTLE_DESTROYED)
end end
function c10900053.negtg(e,tp,eg,ep,ev,re,r,rp,chk) 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_NEGATE,eg,1,0,0)
Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,1-tp,LOCATION_ONFIELD) Duel.SetOperationInfo(0,CATEGORY_DESTROY,nil,1,1-tp,LOCATION_ONFIELD)
end end
......
...@@ -22,7 +22,8 @@ function c60152811.initial_effect(c) ...@@ -22,7 +22,8 @@ function c60152811.initial_effect(c)
c:RegisterEffect(e2) c:RegisterEffect(e2)
end end
function c60152811.e1tgfilter(c) 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 end
function c60152811.e1tgfilter2(c,code) function c60152811.e1tgfilter2(c,code)
return c:IsType(TYPE_FUSION) and c:IsSetCard(0xab27) and not c:IsCode(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