Commit 269ef6ff authored by TanakaKotoha's avatar TanakaKotoha

tnndx

parent 0c662069
......@@ -25,17 +25,16 @@ function cm.initial_effect(c)
c:RegisterEffect(e2)
end
function cm.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return Duel.IsPlayerCanDraw(tp,1) and Duel.GetMZoneCount(tp)>0
if chk==0 then return Duel.IsPlayerCanDraw(tp,3) and Duel.GetMZoneCount(tp)>0
and e:GetHandler():IsCanBeSpecialSummoned(e,0,tp,false,false)end
Duel.SetOperationInfo(0,CATEGORY_DRAW,nil,0,tp,1)
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,0,0)
end
function cm.thop(e,tp,eg,ep,ev,re,r,rp)
Duel.Draw(tp,tt,REASON_EFFECT)
Duel.Draw(tp,3,REASON_EFFECT)
local tg=Duel.GetOperatedGroup()
Duel.ConfirmCards(1-tp,tc)
local g=Group.CreateGroup()
if tg:IsExists(Card.IsSetCard,nil,0xcfbe) and e:GetHandler():IsRelateToEffect(e) then
Duel.ConfirmCards(1-tp,tg)
if tg:IsExists(Card.IsSetCard,1,nil,0xcfbe) and e:GetHandler():IsRelateToEffect(e) then
Duel.SpecialSummon(e:GetHandler(),0,tp,tp,false,false,POS_FACEUP)
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TODECK)
g=Duel.SelectMatchingCard(tp,aux.TRUE,tp,LOCATION_HAND,0,3,3,e:GetHandler())
......
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