Commit 73283341 authored by nanahira's avatar nanahira

predata

parent db663261
...@@ -66,8 +66,10 @@ function c100407009.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc) ...@@ -66,8 +66,10 @@ function c100407009.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end end
function c100407009.tdop(e,tp,eg,ep,ev,re,r,rp) function c100407009.tdop(e,tp,eg,ep,ev,re,r,rp)
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if tc:IsRelateToEffect(e) and Duel.SendtoDeck(tc,nil,2,REASON_EFFECT)~=0 if not tc:IsRelateToEffect(e) then return end
and tc:IsLocation(LOCATION_DECK+LOCATION_EXTRA) then Duel.SendtoDeck(tc,nil,0,REASON_EFFECT)
if tc:IsLocation(LOCATION_DECK) then Duel.ShuffleDeck(tp) end
if tc:IsLocation(LOCATION_DECK+LOCATION_EXTRA) then
Duel.BreakEffect() Duel.BreakEffect()
Duel.Draw(tp,1,REASON_EFFECT) Duel.Draw(tp,1,REASON_EFFECT)
end end
......
...@@ -65,10 +65,10 @@ function c101003056.costfilter2(c) ...@@ -65,10 +65,10 @@ function c101003056.costfilter2(c)
end end
function c101003056.tgcost(e,tp,eg,ep,ev,re,r,rp,chk) function c101003056.tgcost(e,tp,eg,ep,ev,re,r,rp,chk)
local g=Duel.GetMatchingGroup(c101003056.costfilter2,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,nil) local g=Duel.GetMatchingGroup(c101003056.costfilter2,tp,LOCATION_ONFIELD+LOCATION_GRAVE,0,nil)
if chk==0 then return g:GetClassCount(Card.GetCode)>=6 end if chk==0 then return g:GetClassCount(Card.GetCode)>=8 end
Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription()) Duel.Hint(HINT_OPSELECTED,1-tp,e:GetDescription())
local rg=Group.CreateGroup() local rg=Group.CreateGroup()
for i=1,6 do for i=1,8 do
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE) Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
local sg=g:Select(tp,1,1,nil) local sg=g:Select(tp,1,1,nil)
rg:AddCard(sg:GetFirst()) rg:AddCard(sg:GetFirst())
......
...@@ -56,7 +56,7 @@ function c101003072.activate(e,tp,eg,ep,ev,re,r,rp) ...@@ -56,7 +56,7 @@ function c101003072.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler() local c=e:GetHandler()
local tc=Duel.GetFirstTarget() local tc=Duel.GetFirstTarget()
if c:IsRelateToEffect(e) and tc:IsRelateToEffect(e) if c:IsRelateToEffect(e) and tc:IsRelateToEffect(e)
and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP_ATTACK) then and Duel.SpecialSummonStep(tc,0,tp,tp,false,false,POS_FACEUP) then
c:SetCardTarget(tc) c:SetCardTarget(tc)
Duel.SpecialSummonComplete() Duel.SpecialSummonComplete()
end 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