Skip to content

Commit bf8bdda

Browse files
authored
Added new card scripts
1 parent 54541c0 commit bf8bdda

File tree

5 files changed

+506
-0
lines changed

5 files changed

+506
-0
lines changed

pre-release/c101301017.lua

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
--冥帝王エイドス
2+
--Eidos the Underworld Monarch
3+
--scripted by Naim
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Add 1 "Monarch" Spell/Trap or 1 monster with 2800 ATK/1000 DEF from your Deck or GY to your hand
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
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+
--Change the Attribute of 1 monster on the field
21+
local e3=Effect.CreateEffect(c)
22+
e3:SetDescription(aux.Stringid(id,1))
23+
e3:SetType(EFFECT_TYPE_IGNITION)
24+
e3:SetRange(LOCATION_MZONE)
25+
e3:SetCountLimit(1,{id,1})
26+
e3:SetTarget(s.attrtg)
27+
e3:SetOperation(s.attrop)
28+
c:RegisterEffect(e3)
29+
--Add this card to your hand or Special Summon it
30+
local e4=Effect.CreateEffect(c)
31+
e4:SetDescription(aux.Stringid(id,2))
32+
e4:SetCategory(CATEGORY_TOHAND+CATEGORY_SPECIAL_SUMMON)
33+
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
34+
e4:SetProperty(EFFECT_FLAG_DELAY,EFFECT_FLAG2_CHECK_SIMULTANEOUS)
35+
e4:SetCode(EVENT_SUMMON_SUCCESS)
36+
e4:SetRange(LOCATION_GRAVE)
37+
e4:SetCountLimit(1,{id,2})
38+
e4:SetCondition(s.thspcon)
39+
e4:SetTarget(s.thsptg)
40+
e4:SetOperation(s.thspop)
41+
c:RegisterEffect(e4)
42+
end
43+
s.listed_series={SET_MONARCH}
44+
function s.thfilter(c)
45+
return ((c:IsSetCard(SET_MONARCH) and c:IsSpellTrap()) or (c:IsAttack(2800) and c:IsDefense(1000))) and c:IsAbleToHand()
46+
end
47+
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
48+
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK|LOCATION_GRAVE,0,1,nil) end
49+
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK|LOCATION_GRAVE)
50+
end
51+
function s.thop(e,tp,eg,ep,ev,re,r,rp)
52+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
53+
local g=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.thfilter),tp,LOCATION_DECK|LOCATION_GRAVE,0,1,1,nil)
54+
if #g>0 then
55+
Duel.SendtoHand(g,nil,REASON_EFFECT)
56+
Duel.ConfirmCards(1-tp,g)
57+
end
58+
end
59+
function s.attrtg(e,tp,eg,ep,ev,re,r,rp,chk)
60+
if chk==0 then return true end
61+
local g=Duel.GetMatchingGroup(Card.IsFaceup,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
62+
local attr=Duel.AnnounceAnotherAttribute(g,tp)
63+
e:SetLabel(attr)
64+
end
65+
function s.attrop(e,tp,eg,ep,ev,re,r,rp)
66+
local attr=e:GetLabel()
67+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_APPLYTO)
68+
local sc=Duel.SelectMatchingCard(tp,aux.FaceupFilter(Card.IsAttributeExcept,attr),tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil):GetFirst()
69+
if sc then
70+
Duel.HintSelection(sc)
71+
--It becomes the declared Attribute
72+
local e1=Effect.CreateEffect(e:GetHandler())
73+
e1:SetType(EFFECT_TYPE_SINGLE)
74+
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
75+
e1:SetCode(EFFECT_CHANGE_ATTRIBUTE)
76+
e1:SetValue(attr)
77+
e1:SetReset(RESET_EVENT|RESETS_STANDARD)
78+
sc:RegisterEffect(e1)
79+
end
80+
end
81+
function s.thspcon(e,tp,eg,ep,ev,re,r,rp)
82+
local ec=eg:GetFirst()
83+
return ec:IsSummonPlayer(tp) and ec:IsTributeSummoned() and ec:IsAttackAbove(2400) and ec:IsDefense(1000) and ec:IsFaceup()
84+
end
85+
function s.thsptg(e,tp,eg,ep,ev,re,r,rp,chk)
86+
local c=e:GetHandler()
87+
if chk==0 then return c:IsAbleToHand() or (Duel.GetLocationCount(tp,LOCATION_MZONE)>0
88+
and c:IsCanBeSpecialSummoned(e,0,tp,false,false)) end
89+
Duel.SetOperationInfo(0,CATEGORY_LEAVE_GRAVE,c,1,tp,0)
90+
Duel.SetPossibleOperationInfo(0,CATEGORY_TOHAND,c,1,tp,0)
91+
Duel.SetPossibleOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,tp,0)
92+
end
93+
function s.thspop(e,tp,eg,ep,ev,re,r,rp)
94+
local c=e:GetHandler()
95+
if not c:IsRelateToEffect(e) then return end
96+
aux.ToHandOrElse(c,tp,
97+
function(sc) return Duel.GetLocationCount(tp,LOCATION_MZONE)>0 and sc:IsCanBeSpecialSummoned(e,0,tp,false,false) end,
98+
function(sc) Duel.SpecialSummon(sc,0,tp,tp,false,false,POS_FACEUP) end,
99+
aux.Stringid(id,3)
100+
)
101+
end

pre-release/c101301018.lua

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
--源帝従騎テセラ
2+
--Tessera the Prime Squire
3+
--scripted by Naim
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Special Summon this card from your hand
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
10+
e1:SetType(EFFECT_TYPE_IGNITION)
11+
e1:SetRange(LOCATION_HAND)
12+
e1:SetCountLimit(1,id)
13+
e1:SetCost(s.selfspcost)
14+
e1:SetTarget(s.selfsptg)
15+
e1:SetOperation(s.selfspop)
16+
c:RegisterEffect(e1)
17+
--Tribute Summon 1 monster
18+
local e2=Effect.CreateEffect(c)
19+
e2:SetDescription(aux.Stringid(id,1))
20+
e2:SetCategory(CATEGORY_SUMMON)
21+
e2:SetType(EFFECT_TYPE_IGNITION)
22+
e2:SetRange(LOCATION_MZONE)
23+
e2:SetCountLimit(1,{id,1})
24+
e2:SetTarget(s.tribsumtg)
25+
e2:SetOperation(s.tribsumop)
26+
c:RegisterEffect(e2)
27+
--Special Summon 1 monster with 800 ATK/1000 DEF from your Deck
28+
local e3=Effect.CreateEffect(c)
29+
e3:SetDescription(aux.Stringid(id,2))
30+
e3:SetCategory(CATEGORY_SPECIAL_SUMMON)
31+
e3:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
32+
e3:SetProperty(EFFECT_FLAG_DELAY)
33+
e3:SetCode(EVENT_TO_GRAVE)
34+
e3:SetCountLimit(1,{id,2})
35+
e3:SetTarget(s.sptg)
36+
e3:SetOperation(s.spop)
37+
c:RegisterEffect(e3)
38+
end
39+
s.listed_series={SET_MONARCH}
40+
function s.selfspcostfilter(c)
41+
return c:IsSetCard(SET_MONARCH) and c:IsSpellTrap() and not c:IsPublic()
42+
end
43+
function s.selfspcost(e,tp,eg,ep,ev,re,r,rp,chk)
44+
if chk==0 then return Duel.IsExistingMatchingCard(s.selfspcostfilter,tp,LOCATION_HAND,0,1,nil) end
45+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_CONFIRM)
46+
local g=Duel.SelectMatchingCard(tp,s.selfspcostfilter,tp,LOCATION_HAND,0,1,1,nil)
47+
Duel.ConfirmCards(1-tp,g)
48+
Duel.ShuffleHand(tp)
49+
end
50+
function s.selfsptg(e,tp,eg,ep,ev,re,r,rp,chk)
51+
local c=e:GetHandler()
52+
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
53+
and c:IsCanBeSpecialSummoned(e,0,tp,false,false) end
54+
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,tp,0)
55+
end
56+
function s.selfspop(e,tp,eg,ep,ev,re,r,rp)
57+
local c=e:GetHandler()
58+
if c:IsRelateToEffect(e) then
59+
Duel.SpecialSummon(c,0,tp,tp,false,false,POS_FACEUP)
60+
end
61+
end
62+
function s.tribsumtg(e,tp,eg,ep,ev,re,r,rp,chk)
63+
if chk==0 then return Duel.IsExistingMatchingCard(Card.CanSummonOrSet,tp,LOCATION_HAND,0,1,nil,true,nil,1) end
64+
Duel.SetOperationInfo(0,CATEGORY_SUMMON,nil,1,0,0)
65+
end
66+
function s.tribsumop(e,tp,eg,ep,ev,re,r,rp)
67+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SUMMON)
68+
local tc=Duel.SelectMatchingCard(tp,Card.CanSummonOrSet,tp,LOCATION_HAND,0,1,1,nil,true,nil,1):GetFirst()
69+
if tc then
70+
Duel.SummonOrSet(tp,tc,true,nil,1)
71+
end
72+
end
73+
function s.spfilter(c,e,tp)
74+
return c:IsAttack(800) and c:IsDefense(1000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
75+
end
76+
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
77+
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
78+
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_DECK,0,1,nil,e,tp) end
79+
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
80+
end
81+
function s.spop(e,tp,eg,ep,ev,re,r,rp)
82+
--You cannot Special Summon from the Extra Deck for the rest of this turn
83+
local e1=Effect.CreateEffect(e:GetHandler())
84+
e1:SetDescription(aux.Stringid(id,3))
85+
e1:SetType(EFFECT_TYPE_FIELD)
86+
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CLIENT_HINT)
87+
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
88+
e1:SetTargetRange(1,0)
89+
e1:SetTarget(function(e,c) return c:IsLocation(LOCATION_EXTRA) end)
90+
e1:SetReset(RESET_PHASE|PHASE_END)
91+
Duel.RegisterEffect(e1,tp)
92+
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
93+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
94+
local g=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp)
95+
if #g>0 then
96+
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
97+
end
98+
end

pre-release/c101301061.lua

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
--帝王の策略
2+
--Scheme of the Monarchs
3+
--scripted by Naim
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Send 1 "Monarch" Spell/Trap from your Deck to the GY
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_TOGRAVE)
10+
e1:SetType(EFFECT_TYPE_ACTIVATE)
11+
e1:SetCode(EVENT_FREE_CHAIN)
12+
e1:SetTarget(s.tgtg)
13+
e1:SetOperation(s.tgop)
14+
c:RegisterEffect(e1)
15+
--Add 1 monster with 2400 ATK/1000 DEF from your Deck or GY to your hand, then you can Normal Summon 1 listed monster
16+
local e2=Effect.CreateEffect(c)
17+
e2:SetDescription(aux.Stringid(id,1))
18+
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_SUMMON)
19+
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
20+
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_CARD_TARGET)
21+
e2:SetCode(EVENT_REMOVE)
22+
e2:SetCountLimit(1,id)
23+
e2:SetTarget(s.thtg)
24+
e2:SetOperation(s.thop)
25+
c:RegisterEffect(e2)
26+
end
27+
s.listed_series={SET_MONARCH}
28+
s.listed_names={id,51945556,4929256,26205777,60229110,73125233,9748752}
29+
--"Zaborg the Thunder Monarch", "Mobius the Frost Monarch", "Thestalos the Firestorm Monarch", "Granmarg the Rock Monarch", "Raiza the Storm Monarch", "Caius the Shadow Monarch"
30+
function s.tgfilter(c)
31+
return c:IsSetCard(SET_MONARCH) and c:IsSpellTrap() and not c:IsCode(id) and c:IsAbleToGrave()
32+
end
33+
function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
34+
if chk==0 then return Duel.IsExistingMatchingCard(s.tgfilter,tp,LOCATION_DECK,0,1,nil) end
35+
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,1,tp,LOCATION_DECK)
36+
end
37+
function s.tgop(e,tp,eg,ep,ev,re,r,rp)
38+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
39+
local g=Duel.SelectMatchingCard(tp,s.tgfilter,tp,LOCATION_DECK,0,1,1,nil)
40+
if #g>0 then
41+
Duel.SendtoGrave(g,REASON_EFFECT)
42+
end
43+
end
44+
function s.attrfilter(c,tp)
45+
return c:IsFaceup() and Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK|LOCATION_GRAVE,0,1,nil,c:GetAttribute())
46+
end
47+
function s.thfilter(c,attr)
48+
return c:IsAttribute(attr) and c:IsAttack(2400) and c:IsDefense(1000) and c:IsAbleToHand()
49+
end
50+
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
51+
if chkc then return chkc:IsLocation(LOCATION_MZONE) and chkc:IsControler(1-tp) and s.attrfilter(chkc,tp) end
52+
if chk==0 then return Duel.IsExistingTarget(s.attrfilter,tp,0,LOCATION_MZONE,1,nil,tp) end
53+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TARGET)
54+
local tc=Duel.SelectTarget(tp,s.attrfilter,tp,0,LOCATION_MZONE,1,1,nil,tp):GetFirst()
55+
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK|LOCATION_GRAVE)
56+
Duel.SetPossibleOperationInfo(0,CATEGORY_SUMMON,nil,1,tp,LOCATION_HAND)
57+
end
58+
function s.sumfilter(c)
59+
return c:IsSummonable(true,nil) and c:IsCode(51945556,4929256,26205777,60229110,73125233,9748752)
60+
end
61+
function s.thop(e,tp,eg,ep,ev,re,r,rp)
62+
local tc=Duel.GetFirstTarget()
63+
if not (tc:IsRelateToEffect(e) and tc:IsFaceup()) then return end
64+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
65+
local sc=Duel.SelectMatchingCard(tp,aux.NecroValleyFilter(s.thfilter),tp,LOCATION_DECK|LOCATION_GRAVE,0,1,1,nil,tc:GetAttribute()):GetFirst()
66+
if sc and Duel.SendtoHand(sc,nil,REASON_EFFECT)>0 and sc:IsLocation(LOCATION_HAND) then
67+
Duel.ConfirmCards(1-tp,sc)
68+
Duel.ShuffleHand(tp)
69+
Duel.ShuffleDeck(tp)
70+
local sg=Duel.GetMatchingGroup(s.sumfilter,tp,LOCATION_HAND|LOCATION_MZONE,0,nil)
71+
if #sg>0 and Duel.SelectYesNo(tp,aux.Stringid(id,2)) then
72+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SUMMON)
73+
local sumc=sg:Select(tp,1,1,nil):GetFirst()
74+
Duel.BreakEffect()
75+
Duel.Summon(tp,sumc,true,nil)
76+
end
77+
end
78+
end

pre-release/c101301062.lua

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
--叛逆の帝王
2+
--Rebellion of the Monarchs
3+
--scripted by Naim
4+
local s,id=GetID()
5+
function s.initial_effect(c)
6+
--Reveal 3 monsters with 800 or 2400 or more ATK, and 1000 DEF, from your Deck, your opponent chooses 1 for you to add to your hand, and you send the rest to the GY
7+
local e1=Effect.CreateEffect(c)
8+
e1:SetDescription(aux.Stringid(id,0))
9+
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_TOGRAVE)
10+
e1:SetType(EFFECT_TYPE_ACTIVATE)
11+
e1:SetCode(EVENT_FREE_CHAIN)
12+
e1:SetCountLimit(1,id)
13+
e1:SetCost(Cost.Discard(nil,true))
14+
e1:SetTarget(s.thtgtg)
15+
e1:SetOperation(s.thtgop)
16+
c:RegisterEffect(e1)
17+
--Special Summon 1 monster with 800 ATK/1000 DEF from your hand
18+
local e2=Effect.CreateEffect(c)
19+
e2:SetDescription(aux.Stringid(id,1))
20+
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
21+
e2:SetType(EFFECT_TYPE_IGNITION)
22+
e2:SetRange(LOCATION_GRAVE)
23+
e2:SetCountLimit(1,{id,1})
24+
e2:SetCost(Cost.SelfBanish)
25+
e2:SetTarget(s.sptg)
26+
e2:SetOperation(s.spop)
27+
c:RegisterEffect(e2)
28+
end
29+
function s.revfilter(c)
30+
return (c:IsAttack(800) or c:IsAttackAbove(2400)) and c:IsDefense(1000) and (c:IsAbleToHand() or c:IsAbleToGrave())
31+
end
32+
function s.thtgtg(e,tp,eg,ep,ev,re,r,rp,chk)
33+
local g=Duel.GetMatchingGroup(s.revfilter,tp,LOCATION_DECK,0,nil)
34+
if chk==0 then return #g>=3 and g:IsExists(Card.IsAbleToHand,1,nil) end
35+
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
36+
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,nil,2,tp,LOCATION_DECK)
37+
end
38+
function s.rescon(sg,e,tp,mg)
39+
return sg:IsExists(Card.IsAbleToHand,1,nil)
40+
end
41+
function s.thtgop(e,tp,eg,ep,ev,re,r,rp)
42+
local g=Duel.GetMatchingGroup(s.revfilter,tp,LOCATION_DECK,0,nil)
43+
if #g>=3 then
44+
local rg=aux.SelectUnselectGroup(g,e,tp,3,3,s.rescon,1,tp,HINTMSG_CONFIRM)
45+
Duel.ConfirmCards(1-tp,rg)
46+
Duel.Hint(HINT_SELECTMSG,1-tp,aux.Stringid(id,2))
47+
local sc=rg:FilterSelect(1-tp,Card.IsAbleToHand,1,1,nil):GetFirst()
48+
Duel.SendtoHand(sc,nil,REASON_EFFECT)
49+
Duel.SendtoGrave(rg-sc,REASON_EFFECT)
50+
end
51+
if not e:IsHasType(EFFECT_TYPE_ACTIVATE) then return end
52+
--You cannot Special Summon from the Extra Deck for the rest of this turn after this card resolves
53+
local e1=Effect.CreateEffect(e:GetHandler())
54+
e1:SetDescription(aux.Stringid(id,3))
55+
e1:SetType(EFFECT_TYPE_FIELD)
56+
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CLIENT_HINT)
57+
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
58+
e1:SetTargetRange(1,0)
59+
e1:SetTarget(function(e,c) return c:IsLocation(LOCATION_EXTRA) end)
60+
e1:SetReset(RESET_PHASE|PHASE_END)
61+
Duel.RegisterEffect(e1,tp)
62+
end
63+
function s.spfilter(c,e,tp)
64+
return c:IsAttack(800) and c:IsDefense(1000) and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
65+
end
66+
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
67+
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
68+
and Duel.IsExistingMatchingCard(s.spfilter,tp,LOCATION_HAND,0,1,nil,e,tp) end
69+
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_HAND)
70+
end
71+
function s.spop(e,tp,eg,ep,ev,re,r,rp)
72+
if Duel.GetLocationCount(tp,LOCATION_MZONE)<=0 then return end
73+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_SPSUMMON)
74+
local g=Duel.SelectMatchingCard(tp,s.spfilter,tp,LOCATION_HAND,0,1,1,nil,e,tp)
75+
if #g>0 then
76+
Duel.SpecialSummon(g,0,tp,tp,false,false,POS_FACEUP)
77+
end
78+
end

0 commit comments

Comments
 (0)