Commit 44b0ee15 authored by TanakaKotoha's avatar TanakaKotoha

daniaozhuanzhuanzhuan

parent 034ad5dd
Pipeline #2514 passed with stages
in 23 minutes and 54 seconds
...@@ -50,7 +50,6 @@ function c1111002.op1(e,tp,eg,ep,ev,re,r,rp) ...@@ -50,7 +50,6 @@ function c1111002.op1(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if not tc:IsRelateToEffect(e) then return end if not tc:IsRelateToEffect(e) then return end
if Duel.SendtoHand(tc,nil,REASON_EFFECT)<1 then return end if Duel.SendtoHand(tc,nil,REASON_EFFECT)<1 then return end
if Duel.GetLocationCountFromEx(tp)<1 then return end
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
local sg=Duel.SelectMatchingCard(tp,c1111002.tfilter1_2,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc) local sg=Duel.SelectMatchingCard(tp,c1111002.tfilter1_2,tp,LOCATION_EXTRA,0,1,1,nil,e,tp,tc)
if sg:GetCount()>0 then if sg:GetCount()>0 then
......
...@@ -37,7 +37,8 @@ function cm.refil(c) ...@@ -37,7 +37,8 @@ function cm.refil(c)
return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0) return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0)
end end
function cm.sumcon(e,c) function cm.sumcon(e,c)
local tp=e:GetHandler():GetControler() if c==nil then return true end
local tp=c:GetControler()
return Duel.IsExistingMatchingCard(cm.refil,tp,LOCATION_EXTRA,0,1,nil) return Duel.IsExistingMatchingCard(cm.refil,tp,LOCATION_EXTRA,0,1,nil)
end end
function cm.sumop(e,tp,eg,ep,ev,re,r,rp,c) function cm.sumop(e,tp,eg,ep,ev,re,r,rp,c)
......
...@@ -72,7 +72,11 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp) ...@@ -72,7 +72,11 @@ function cm.desop(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=c:GetBattleTarget() local tc=c:GetBattleTarget()
if c:IsRelateToBattle() and tc:IsRelateToBattle() then if c:IsRelateToBattle() and tc:IsRelateToBattle() then
local g=Group.FromCards(c,tc) Duel.Destroy(tc,REASON_EFFECT)
Duel.Destroy(g,REASON_EFFECT)
end end
end end
...@@ -42,7 +42,8 @@ function c65010086.refil(c) ...@@ -42,7 +42,8 @@ function c65010086.refil(c)
return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0) return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0)
end end
function c65010086.sumcon(e,c) function c65010086.sumcon(e,c)
local tp=e:GetHandler():GetControler() if c==nil then return true end
local tp=c:GetControler()
return Duel.IsExistingMatchingCard(c65010086.refil,tp,LOCATION_EXTRA,0,1,nil) return Duel.IsExistingMatchingCard(c65010086.refil,tp,LOCATION_EXTRA,0,1,nil)
end end
function c65010086.sumop(e,tp,eg,ep,ev,re,r,rp,c) function c65010086.sumop(e,tp,eg,ep,ev,re,r,rp,c)
......
...@@ -34,7 +34,8 @@ function c65010088.refil(c) ...@@ -34,7 +34,8 @@ function c65010088.refil(c)
return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0) return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0)
end end
function c65010088.sumcon(e,c) function c65010088.sumcon(e,c)
local tp=e:GetHandler():GetControler() if c==nil then return true end
local tp=c:GetControler()
return Duel.IsExistingMatchingCard(c65010088.refil,tp,LOCATION_EXTRA,0,1,nil) return Duel.IsExistingMatchingCard(c65010088.refil,tp,LOCATION_EXTRA,0,1,nil)
end end
function c65010088.sumop(e,tp,eg,ep,ev,re,r,rp,c) function c65010088.sumop(e,tp,eg,ep,ev,re,r,rp,c)
......
...@@ -66,11 +66,12 @@ function c65010090.refil(c) ...@@ -66,11 +66,12 @@ function c65010090.refil(c)
return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0) return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0)
end end
function c65010090.sumcon(e,c) function c65010090.sumcon(e,c)
local tp=e:GetHandler():GetControler() if c==nil then return true end
local tp=c:GetControler()
return Duel.IsExistingMatchingCard(c65010090.refil,tp,LOCATION_EXTRA,0,1,nil) return Duel.IsExistingMatchingCard(c65010090.refil,tp,LOCATION_EXTRA,0,1,nil)
end end
function c65010090.sumop(e,tp,eg,ep,ev,re,r,rp,c) function c65010090.sumop(e,tp,eg,ep,ev,re,r,rp,c)
local g=Duel.SelectMatchingCard(tp,c65010090.refil,tp,LOCATION_EXTRA,0,1,1,nil) local g=Duel.SelectMatchingCard(tp,c65010090.refil2,tp,LOCATION_EXTRA,0,1,1,nil)
Duel.Remove(g,POS_FACEUP,REASON_COST) Duel.Remove(g,POS_FACEUP,REASON_COST)
end end
function c65010090.setcon(e,tp,eg,ep,ev,re,r,rp) function c65010090.setcon(e,tp,eg,ep,ev,re,r,rp)
......
...@@ -64,7 +64,8 @@ function c65010092.refil(c) ...@@ -64,7 +64,8 @@ function c65010092.refil(c)
return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0) return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0)
end end
function c65010092.sumcon(e,c) function c65010092.sumcon(e,c)
local tp=e:GetHandler():GetControler() if c==nil then return true end
local tp=c:GetControler()
return Duel.IsExistingMatchingCard(c65010092.refil,tp,LOCATION_EXTRA,0,1,nil) return Duel.IsExistingMatchingCard(c65010092.refil,tp,LOCATION_EXTRA,0,1,nil)
end end
function c65010092.sumop(e,tp,eg,ep,ev,re,r,rp,c) function c65010092.sumop(e,tp,eg,ep,ev,re,r,rp,c)
......
...@@ -38,7 +38,8 @@ function c65010094.refil(c) ...@@ -38,7 +38,8 @@ function c65010094.refil(c)
return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0) return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0)
end end
function c65010094.sumcon(e,c) function c65010094.sumcon(e,c)
local tp=e:GetHandler():GetControler() if c==nil then return true end
local tp=c:GetControler()
return Duel.IsExistingMatchingCard(c65010094.refil,tp,LOCATION_EXTRA,0,1,nil) return Duel.IsExistingMatchingCard(c65010094.refil,tp,LOCATION_EXTRA,0,1,nil)
end end
function c65010094.sumop(e,tp,eg,ep,ev,re,r,rp,c) function c65010094.sumop(e,tp,eg,ep,ev,re,r,rp,c)
......
...@@ -26,7 +26,8 @@ function c65010129.refil(c) ...@@ -26,7 +26,8 @@ function c65010129.refil(c)
return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0) return c:IsAbleToRemoveAsCost() and c:IsSetCard(0x9da0)
end end
function c65010129.sumcon(e,c) function c65010129.sumcon(e,c)
local tp=e:GetHandler():GetControler() if c==nil then return true end
local tp=c:GetControler()
return Duel.IsExistingMatchingCard(c65010129.refil,tp,LOCATION_EXTRA,0,1,nil) return Duel.IsExistingMatchingCard(c65010129.refil,tp,LOCATION_EXTRA,0,1,nil)
end end
function c65010129.sumop(e,tp,eg,ep,ev,re,r,rp,c) function c65010129.sumop(e,tp,eg,ep,ev,re,r,rp,c)
......
...@@ -76,9 +76,7 @@ function c66915005.condition(e,tp,eg,ep,ev,re,r,rp) ...@@ -76,9 +76,7 @@ function c66915005.condition(e,tp,eg,ep,ev,re,r,rp)
and (re:IsActiveType(TYPE_MONSTER) or re:IsHasType(EFFECT_TYPE_ACTIVATE)) and Duel.IsChainNegatable(ev) and (re:IsActiveType(TYPE_MONSTER) or re:IsHasType(EFFECT_TYPE_ACTIVATE)) and Duel.IsChainNegatable(ev)
end end
function c66915005.target(e,tp,eg,ep,ev,re,r,rp,chk) function c66915005.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return if chk==0 then return true end
Duel.GetFlagEffect(tp,60018643)==0 end
Duel.RegisterFlagEffect(tp,60018643,RESET_CHAIN,0,1)
Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0) Duel.SetOperationInfo(0,CATEGORY_NEGATE,eg,1,0,0)
if re:GetHandler():IsRelateToEffect(re) then if re:GetHandler():IsRelateToEffect(re) then
Duel.SetOperationInfo(0,CATEGORY_TODECK,eg,1,0,0) Duel.SetOperationInfo(0,CATEGORY_TODECK,eg,1,0,0)
......
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