11-- ティアラメンツ・カレイドハート
2- -- Tearalaments Kaleidoheart
2+ -- Tearlaments Kaleido-Heart
33-- Scripted by Eerie Code
44local s ,id = GetID ()
55function s .initial_effect (c )
@@ -12,7 +12,7 @@ function s.initial_effect(c)
1212 e0 :SetCode (EFFECT_CANNOT_BE_FUSION_MATERIAL )
1313 e0 :SetValue (1 )
1414 c :RegisterEffect (e0 )
15- -- Shuffle into the Deck
15+ -- Shuffle 1 card your opponent controls into the Deck
1616 local e1 = Effect .CreateEffect (c )
1717 e1 :SetDescription (aux .Stringid (id ,0 ))
1818 e1 :SetCategory (CATEGORY_TODECK )
@@ -25,12 +25,12 @@ function s.initial_effect(c)
2525 c :RegisterEffect (e1 )
2626 local e2 = e1 :Clone ()
2727 e2 :SetType (EFFECT_TYPE_FIELD + EFFECT_TYPE_TRIGGER_O )
28- e2 :SetProperty (EFFECT_FLAG_DELAY + EFFECT_FLAG_CARD_TARGET ,EFFECT_FLAG2_CHECK_SIMULTANEOUS )
28+ e2 :SetProperty (EFFECT_FLAG_DELAY + EFFECT_FLAG_CARD_TARGET + EFFECT_FLAG_DAMAGE_STEP ,EFFECT_FLAG2_CHECK_SIMULTANEOUS )
2929 e2 :SetCode (EVENT_TO_GRAVE )
3030 e2 :SetRange (LOCATION_MZONE )
3131 e2 :SetCondition (s .tdcon )
3232 c :RegisterEffect (e2 )
33- -- Special Summon itself
33+ -- Special Summon this card from the GY, and if you do, send 1 "Tearlaments" card to the GY
3434 local e3 = Effect .CreateEffect (c )
3535 e3 :SetDescription (aux .Stringid (id ,1 ))
3636 e3 :SetCategory (CATEGORY_SPECIAL_SUMMON + CATEGORY_TOGRAVE )
@@ -43,8 +43,8 @@ function s.initial_effect(c)
4343 e3 :SetOperation (s .spop )
4444 c :RegisterEffect (e3 )
4545end
46- s .listed_names = {73956664 }
47- s .listed_series = {0x182 }
46+ s .listed_names = {73956664 } -- Tearlaments Reinoheart
47+ s .listed_series = {SET_TEARLAMENTS }
4848function s .tdtg (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk ,chkc )
4949 if chkc then return chkc :IsLocation (LOCATION_ONFIELD ) and chkc :IsControler (1 - tp ) and chkc :IsAbleToDeck () end
5050 if chk == 0 then return Duel .IsExistingTarget (Card .IsAbleToDeck ,tp ,0 ,LOCATION_ONFIELD ,1 ,nil ) end
@@ -65,14 +65,14 @@ function s.tdcon(e,tp,eg,ep,ev,re,r,rp)
6565 return eg :IsExists (s .tdcfilter ,1 ,nil ,tp )
6666end
6767function s .gyfilter (c )
68- return c :IsSetCard (0x182 ) and c :IsAbleToGrave ()
68+ return c :IsSetCard (SET_TEARLAMENTS ) and c :IsAbleToGrave ()
6969end
7070function s .sptg (e ,tp ,eg ,ep ,ev ,re ,r ,rp ,chk )
7171 local c = e :GetHandler ()
7272 if chk == 0 then return Duel .GetLocationCount (tp ,LOCATION_MZONE )> 0
7373 and c :IsCanBeSpecialSummoned (e ,0 ,tp ,false ,false )
7474 and Duel .IsExistingMatchingCard (s .gyfilter ,tp ,LOCATION_DECK ,0 ,1 ,nil ) end
75- Duel .SetOperationInfo (0 ,CATEGORY_SPECIAL_SUMMON ,c ,1 ,0 ,0 )
75+ Duel .SetOperationInfo (0 ,CATEGORY_SPECIAL_SUMMON ,c ,1 ,tp ,0 )
7676 Duel .SetOperationInfo (0 ,CATEGORY_TOGRAVE ,nil ,1 ,tp ,LOCATION_DECK )
7777end
7878function s .spop (e ,tp ,eg ,ep ,ev ,re ,r ,rp )
0 commit comments