Skip to content

Commit 64734e9

Browse files
authored
Added new card scripts
1 parent 983284e commit 64734e9

File tree

7 files changed

+509
-0
lines changed

7 files changed

+509
-0
lines changed

pre-release/c101207090.lua

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
--Japanese name
2+
--Mitsurugi no Mikoto, Kusanagi
3+
--scripted by Naim
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Add to your hand 1 "Mitsurugi" card from your GY or that is banished
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_TOHAND)
10+
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
11+
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
12+
e1:SetCode(EVENT_SUMMON_SUCCESS)
13+
e1:SetCountLimit(1,id)
14+
e1:SetTarget(s.thtg)
15+
e1:SetOperation(s.thop)
16+
c:RegisterEffect(e1)
17+
local e2=e1:Clone()
18+
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
19+
c:RegisterEffect(e2)
20+
local e3=e1:Clone()
21+
e3:SetCode(EVENT_RELEASE)
22+
c:RegisterEffect(e3)
23+
--If another Reptile monster(s) you control would be destroyed by battle or card effect, you can Tribute this card instead
24+
local e4=Effect.CreateEffect(c)
25+
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
26+
e4:SetCode(EFFECT_DESTROY_REPLACE)
27+
e4:SetRange(LOCATION_MZONE)
28+
e4:SetCountLimit(1,{id,1})
29+
e4:SetTarget(s.reptg)
30+
e4:SetValue(function(e,c) return s.repfilter(c,e:GetHandlerPlayer()) end)
31+
e4:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) Duel.Release(e:GetHandler(),REASON_EFFECT|REASON_REPLACE) end)
32+
c:RegisterEffect(e4)
33+
end
34+
s.listed_series={SET_MITSURUGI}
35+
s.listed_names={id}
36+
function s.thfilter(c)
37+
return c:IsSetCard(SET_MITSURUGI) and c:IsFaceup() and c:IsAbleToHand() and not c:IsCode(id)
38+
end
39+
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
40+
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE|LOCATION_REMOVED) and s.thfilter(chkc) end
41+
if chk==0 then return Duel.IsExistingTarget(s.thfilter,tp,LOCATION_GRAVE|LOCATION_REMOVED,0,1,nil) end
42+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
43+
local g=Duel.SelectTarget(tp,s.thfilter,tp,LOCATION_GRAVE|LOCATION_REMOVED,0,1,1,nil)
44+
Duel.SetOperationInfo(0,CATEGORY_TOHAND,g,1,tp,0)
45+
end
46+
function s.thop(e,tp,eg,ep,ev,re,r,rp)
47+
local tc=Duel.GetFirstTarget()
48+
if tc:IsRelateToEffect(e) then
49+
Duel.SendtoHand(tc,tp,REASON_EFFECT)
50+
end
51+
end
52+
function s.repfilter(c,tp)
53+
return c:IsFaceup() and c:IsControler(tp) and c:IsLocation(LOCATION_MZONE) and c:IsRace(RACE_REPTILE)
54+
and c:IsReason(REASON_BATTLE|REASON_EFFECT) and not c:IsReason(REASON_REPLACE)
55+
end
56+
function s.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
57+
local c=e:GetHandler()
58+
if chk==0 then return eg:IsExists(s.repfilter,1,c,tp)
59+
and c:IsReleasableByEffect(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED) end
60+
return Duel.SelectEffectYesNo(tp,c,96)
61+
end

pre-release/c101207091.lua

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
--Japanese name
2+
--Mitsurugi no Mikoto, Saji
3+
--scripted by Naim
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Add to your hand 1 "Mitsurugi" card from your GY or that is banished
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND)
10+
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
11+
e1:SetProperty(EFFECT_FLAG_DELAY)
12+
e1:SetCode(EVENT_SUMMON_SUCCESS)
13+
e1:SetCountLimit(1,id)
14+
e1:SetTarget(s.thtg)
15+
e1:SetOperation(s.thop)
16+
c:RegisterEffect(e1)
17+
local e2=e1:Clone()
18+
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
19+
c:RegisterEffect(e2)
20+
local e3=e1:Clone()
21+
e3:SetCode(EVENT_RELEASE)
22+
c:RegisterEffect(e3)
23+
--If another Reptile monster(s) you control would be destroyed by battle or card effect, you can Tribute this card instead
24+
local e4=Effect.CreateEffect(c)
25+
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
26+
e4:SetCode(EFFECT_DESTROY_REPLACE)
27+
e4:SetRange(LOCATION_MZONE)
28+
e4:SetCountLimit(1,{id,1})
29+
e4:SetTarget(s.reptg)
30+
e4:SetValue(function(e,c) return s.repfilter(c,e:GetHandlerPlayer()) end)
31+
e4:SetOperation(function(e,tp,eg,ep,ev,re,r,rp) Duel.Release(e:GetHandler(),REASON_EFFECT|REASON_REPLACE) end)
32+
c:RegisterEffect(e4)
33+
end
34+
s.listed_series={SET_MITSURUGI}
35+
function s.thfilter(c)
36+
return c:IsSetCard(SET_MITSURUGI) and c:IsSpellTrap() and c:IsAbleToHand()
37+
end
38+
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
39+
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil) end
40+
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
41+
end
42+
function s.thop(e,tp,eg,ep,ev,re,r,rp)
43+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
44+
local g=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil)
45+
if #g>0 then
46+
Duel.SendtoHand(g,nil,REASON_EFFECT)
47+
Duel.ConfirmCards(1-tp,g)
48+
end
49+
end
50+
function s.repfilter(c,tp)
51+
return c:IsFaceup() and c:IsControler(tp) and c:IsLocation(LOCATION_MZONE) and c:IsRace(RACE_REPTILE)
52+
and c:IsReason(REASON_BATTLE|REASON_EFFECT) and not c:IsReason(REASON_REPLACE)
53+
end
54+
function s.reptg(e,tp,eg,ep,ev,re,r,rp,chk)
55+
local c=e:GetHandler()
56+
if chk==0 then return eg:IsExists(s.repfilter,1,c,tp)
57+
and c:IsReleasableByEffect(e) and not c:IsStatus(STATUS_DESTROY_CONFIRMED) end
58+
return Duel.SelectEffectYesNo(tp,c,96)
59+
end

pre-release/c101207092.lua

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
--Japanese name
2+
--Ame no Murakumo no Mitsurugi
3+
--scripted by Naim
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
c:EnableReviveLimit()
7+
--Destroy all monsters your opponent controls
8+
local e1=Effect.CreateEffect(c)
9+
e1:SetDescription(aux.Stringid(id,0))
10+
e1:SetCategory(CATEGORY_DESTROY)
11+
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
12+
e1:SetProperty(EFFECT_FLAG_DELAY)
13+
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
14+
e1:SetCountLimit(1,id)
15+
e1:SetTarget(s.destg)
16+
e1:SetOperation(s.desop)
17+
c:RegisterEffect(e1)
18+
--Negate an opponent's activated effect
19+
local e2=Effect.CreateEffect(c)
20+
e2:SetDescription(aux.Stringid(id,1))
21+
e2:SetCategory(CATEGORY_DISABLE+CATEGORY_HANDES)
22+
e2:SetType(EFFECT_TYPE_QUICK_O)
23+
e2:SetCode(EVENT_CHAINING)
24+
e2:SetRange(LOCATION_MZONE)
25+
e2:SetCountLimit(1,{id,1})
26+
e2:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return rp==1-tp and (Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,0,LOCATION_HAND,1,nil,REASON_EFFECT,1-tp) or Duel.IsChainDisablable(ev)) end)
27+
e2:SetTarget(s.distg)
28+
e2:SetOperation(s.disop)
29+
c:RegisterEffect(e2)
30+
--Add 1 "Mitsurugi" card from your Deck to your hand then you can Special Summon this card
31+
local e3=Effect.CreateEffect(c)
32+
e3:SetDescription(aux.Stringid(id,2))
33+
e3:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_SPECIAL_SUMMON)
34+
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
35+
e3:SetProperty(EFFECT_FLAG_DELAY)
36+
e3:SetCode(EVENT_RELEASE)
37+
e3:SetCountLimit(1,{id,2})
38+
e3:SetTarget(s.thtg)
39+
e3:SetOperation(s.thop)
40+
c:RegisterEffect(e3)
41+
end
42+
s.listed_series={SET_MITSURUGI}
43+
s.listed_names={id,101207095} --"Mitsurugi Ritual"
44+
function s.destg(e,tp,eg,ep,ev,re,r,rp,chk)
45+
local g=Duel.GetMatchingGroup(nil,tp,0,LOCATION_MZONE,nil)
46+
if chk==0 then return #g>0 end
47+
Duel.SetOperationInfo(0,CATEGORY_DESTROY,g,#g,tp,0)
48+
end
49+
function s.desop(e,tp,eg,ep,ev,re,r,rp)
50+
local g=Duel.GetMatchingGroup(nil,tp,0,LOCATION_MZONE,nil)
51+
if #g>0 then
52+
Duel.Destroy(g,REASON_EFFECT)
53+
end
54+
end
55+
function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
56+
if chk==0 then return true end
57+
Duel.SetPossibleOperationInfo(0,CATEGORY_DISABLE,eg,1,0,0)
58+
Duel.SetPossibleOperationInfo(0,CATEGORY_HANDES,nil,1,1-tp,1)
59+
end
60+
function s.disop(e,tp,eg,ep,ev,re,r,rp)
61+
local b1=Duel.IsExistingMatchingCard(Card.IsDiscardable,tp,0,LOCATION_HAND,1,nil,REASON_EFFECT,1-tp)
62+
local b2=Duel.IsChainDisablable(ev)
63+
local op=nil
64+
if b1 and b2 then
65+
op=Duel.SelectEffect(1-tp,
66+
{b1,aux.Stringid(id,3)},
67+
{b2,aux.Stringid(id,4)})
68+
else
69+
op=(b1 and 1) or (b2 and 2)
70+
end
71+
if op==1 then
72+
Duel.DiscardHand(1-tp,nil,1,1,REASON_EFFECT|REASON_DISCARD,nil)
73+
elseif op==2 then
74+
Duel.NegateEffect(ev)
75+
end
76+
end
77+
function s.thfilter(c)
78+
return c:IsSetCard(SET_MITSURUGI) and c:IsAbleToHand() and not c:IsCode(id)
79+
end
80+
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
81+
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil) end
82+
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
83+
Duel.SetPossibleOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,tp,0)
84+
end
85+
function s.thop(e,tp,eg,ep,ev,re,r,rp)
86+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
87+
local g=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil)
88+
if #g==0 or Duel.SendtoHand(g,nil,REASON_EFFECT)==0 then return end
89+
Duel.ConfirmCards(1-tp,g)
90+
local c=e:GetHandler()
91+
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsRelateToEffect(e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
92+
and Duel.SelectYesNo(tp,aux.Stringid(id,5)) then
93+
Duel.BreakEffect()
94+
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
95+
end
96+
end

pre-release/c101207093.lua

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
--Japanese name
2+
--Futsu no Mitama no Mitsurugi
3+
--scripted by Naim
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
c:EnableReviveLimit()
7+
--Special Summon 1 Reptile monster from your GY
8+
local e1=Effect.CreateEffect(c)
9+
e1:SetDescription(aux.Stringid(id,0))
10+
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
11+
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
12+
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY)
13+
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
14+
e1:SetRange(LOCATION_MZONE)
15+
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_CHAIN)
16+
e1:SetCondition(function(e,tp,eg,ep,ev,re,r,rp) return eg:IsExists(Card.IsSummonPlayer,1,nil,1-tp) end)
17+
e1:SetTarget(s.sptg)
18+
e1:SetOperation(s.spop)
19+
c:RegisterEffect(e1)
20+
--Add 1 "Mitsurugi" card from your Deck to your hand then you can Special Summon this card
21+
local e2=Effect.CreateEffect(c)
22+
e2:SetDescription(aux.Stringid(id,1))
23+
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_SPECIAL_SUMMON)
24+
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
25+
e2:SetProperty(EFFECT_FLAG_DELAY)
26+
e2:SetCode(EVENT_RELEASE)
27+
e2:SetCountLimit(1,{id,2})
28+
e2:SetTarget(s.thtg)
29+
e2:SetOperation(s.thop)
30+
c:RegisterEffect(e2)
31+
end
32+
s.listed_series={SET_MITSURUGI}
33+
s.listed_names={id,101207095} --"Mitsurugi Ritual"
34+
function s.spfilter(c,e,tp)
35+
return c:IsRace(RACE_REPTILE) and c:IsCanBeSpecialSummoned(e,0,tp,false,false) and not c:IsCode(id)
36+
end
37+
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
38+
if chkc then return chkc:IsControler(tp) and chkc:IsLocation(LOCATION_GRAVE) and s.spfilter(chkc,e,tp) end
39+
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
40+
and Duel.IsExistingTarget(s.spfilter,tp,LOCATION_GRAVE,0,1,nil,e,tp) end
41+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
42+
local g=Duel.SelectTarget(tp,s.spfilter,tp,LOCATION_GRAVE,0,1,1,nil,e,tp)
43+
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,g,1,tp,0)
44+
end
45+
function s.spop(e,tp,eg,ep,ev,re,r,rp)
46+
local tc=Duel.GetFirstTarget()
47+
if tc:IsRelateToEffect(e) then
48+
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
49+
end
50+
end
51+
function s.thfilter(c)
52+
return c:IsSetCard(SET_MITSURUGI) and c:IsAbleToHand() and not c:IsCode(id)
53+
end
54+
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
55+
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil) end
56+
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
57+
Duel.SetPossibleOperationInfo(0,CATEGORY_SPECIAL_SUMMON,e:GetHandler(),1,tp,0)
58+
end
59+
function s.thop(e,tp,eg,ep,ev,re,r,rp)
60+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
61+
local g=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil)
62+
if #g==0 or Duel.SendtoHand(g,nil,REASON_EFFECT)==0 then return end
63+
Duel.ConfirmCards(1-tp,g)
64+
local c=e:GetHandler()
65+
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and c:IsRelateToEffect(e) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
66+
and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
67+
Duel.BreakEffect()
68+
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
69+
end
70+
end

pre-release/c101207094.lua

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
--Japanese name
2+
--Mitsurugi Prayers
3+
--scripted by Naim
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Apply 1 of these effects, or if you Tributed a monster at activation, you can apply both effects in sequence
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_DAMAGE+CATEGORY_SPECIAL_SUMMON)
10+
e1:SetType(EFFECT_TYPE_ACTIVATE)
11+
e1:SetCode(EVENT_FREE_CHAIN)
12+
e1:SetHintTiming(0,TIMING_STANDBY_PHASE|TIMING_MAIN_END|TIMINGS_CHECK_MONSTER_E)
13+
e1:SetCountLimit(1,id,EFFECT_COUNT_CODE_OATH)
14+
e1:SetCost(s.effcost)
15+
e1:SetTarget(s.efftg)
16+
e1:SetOperation(s.effop)
17+
c:RegisterEffect(e1)
18+
end
19+
s.listed_series={SET_MITSURUGI}
20+
function s.effcost(e,tp,eg,ep,ev,re,r,rp,chk)
21+
if chk==0 then return true end
22+
if Duel.CheckReleaseGroupCost(tp,Card.IsRace,1,true,nil,nil,RACE_REPTILE) and Duel.SelectYesNo(tp,aux.Stringid(id,1)) then
23+
local g=Duel.SelectReleaseGroupCost(tp,Card.IsRace,1,1,true,nil,nil,RACE_REPTILE)
24+
Duel.Release(g,REASON_COST)
25+
e:SetLabel(1)
26+
else
27+
e:SetLabel(0)
28+
end
29+
end
30+
function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk)
31+
if chk==0 then return true end
32+
Duel.SetPossibleOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
33+
Duel.SetPossibleOperationInfo(0,CATEGORY_DAMAGE,nil,1,tp,800)
34+
Duel.SetPossibleOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND|LOCATION_GRAVE)
35+
end
36+
function s.thfilter(c)
37+
return c:IsSetCard(SET_MITSURUGI) and c:IsMonster() and c:IsAbleToHand()
38+
end
39+
function s.spfilter(c,e,tp)
40+
return c:IsSetCard(SET_MITSURUGI) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
41+
end
42+
function s.effop(e,tp,eg,ep,ev,re,r,rp)
43+
local b1=Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil)
44+
local both=b1 and e:GetLabel()==1
45+
local op=Duel.SelectEffect(tp,
46+
{b1,aux.Stringid(id,2)},
47+
{true,aux.Stringid(id,3)},
48+
{both,aux.Stringid(id,4)})
49+
local breakeffect=false
50+
if op==1 or op==3 then
51+
--Add 1 "Mitsurugi" monster from your Deck to your hand
52+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
53+
local g=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil)
54+
if #g>0 then
55+
Duel.SendtoHand(g,nil,REASON_EFFECT)
56+
Duel.ConfirmCards(1-tp,g)
57+
Duel.ShuffleHand(tp)
58+
breakeffect=true
59+
end
60+
end
61+
if op==2 or op==3 then
62+
--Take 800 damage
63+
if breakeffect then Duel.BreakEffect() end
64+
Duel.Damage(tp,800,REASON_EFFECT)
65+
--Special Summon 1 "Mitsurugi" monster from your hand or GY, but it cannot attack directly
66+
if Duel.GetLocationCount(tp,LOCATION_MZONE)>0
67+
and Duel.IsExistingMatchingCard(aux.NecroValleyFilter(s.spfilter),tp,LOCATION_HAND|LOCATION_GRAVE,0,1,nil,e,tp)
68+
and Duel.SelectYesNo(tp,aux.Stringid(id,5)) then
69+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
70+
local sc=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.spfilter),tp,LOCATION_HAND|LOCATION_GRAVE,0,1,1,nil,e,tp):GetFirst()
71+
Duel.BreakEffect()
72+
if Duel.SpecialSummonStep(sc,0,tp,tp,false,false,POS_FACEUP) then
73+
--It cannot attack directly
74+
local e1=Effect.CreateEffect(e:GetHandler())
75+
e1:SetDescription(3207)
76+
e1:SetType(EFFECT_TYPE_SINGLE)
77+
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CLIENT_HINT)
78+
e1:SetCode(EFFECT_CANNOT_DIRECT_ATTACK)
79+
e1:SetReset(RESET_EVENT|RESETS_STANDARD)
80+
sc:RegisterEffect(e1)
81+
end
82+
Duel.SpecialSummonComplete()
83+
end
84+
end
85+
end

0 commit comments

Comments
 (0)