Commit 710b2578 authored by TanakaKotoha's avatar TanakaKotoha

foo foo

parent bd2d63ab
Pipeline #829 failed with stages
in 23 minutes and 50 seconds
...@@ -44,8 +44,8 @@ function c4212313.tffilter(c) ...@@ -44,8 +44,8 @@ function c4212313.tffilter(c)
return c:IsType(TYPE_SPELL) and c:IsSetCard(0xa25) and c:IsAbleToHand() return c:IsType(TYPE_SPELL) and c:IsSetCard(0xa25) and c:IsAbleToHand()
end end
function c4212313.tfcost(e,tp,eg,ep,ev,re,r,rp,chk) function c4212313.tfcost(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsExistingMatchingCard(c4212303.cdfilter,tp,LOCATION_HAND,0,1,e:GetHandler()) end if chk==0 then return Duel.IsExistingMatchingCard(c4212313.cdfilter,tp,LOCATION_HAND,0,1,e:GetHandler()) end
Duel.DiscardHand(tp,c4212303.cdfilter,1,1,REASON_COST+REASON_DISCARD) Duel.DiscardHand(tp,c4212313.cdfilter,1,1,REASON_COST+REASON_DISCARD)
end end
function c4212313.spcfilter(c) function c4212313.spcfilter(c)
return c:IsType(TYPE_SPELL) and c:IsSetCard(0xa25) return c:IsType(TYPE_SPELL) and c:IsSetCard(0xa25)
...@@ -75,7 +75,7 @@ function c4212313.spop(e,tp,eg,ep,ev,re,r,rp) ...@@ -75,7 +75,7 @@ function c4212313.spop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP) Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
end end
function c4212313.descon(e,tp,eg,ep,ev,re,r,rp) function c4212313.descon(e,tp,eg,ep,ev,re,r,rp)
return bit.band(e:GetHandler():GetReason(),0x41)==0x41 return bit.band(e:GetHandler():GetReason(),0x41)==0x41
end end
function c4212313.destg(e,tp,eg,ep,ev,re,r,rp,chk) function c4212313.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.GetDecktopGroup(tp,2):FilterCount(function(c,e) return c:IsDestructable(e) end,nil,e)==2 end if chk==0 then return Duel.GetDecktopGroup(tp,2):FilterCount(function(c,e) return c:IsDestructable(e) end,nil,e)==2 end
...@@ -96,6 +96,6 @@ function c4212313.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -96,6 +96,6 @@ function c4212313.desop(e,tp,eg,ep,ev,re,r,rp)
else else
Duel.ConfirmCards(1-tp,e:GetHandler()) Duel.ConfirmCards(1-tp,e:GetHandler())
Duel.SendtoDeck(e:GetHandler(),nil,2,REASON_EFFECT) Duel.SendtoDeck(e:GetHandler(),nil,2,REASON_EFFECT)
end end
end end
end end
\ No newline at end of file
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