Skip to content

Commit 00bab25

Browse files
committed
batch8
1 parent 1e9e4d3 commit 00bab25

8 files changed

Lines changed: 102 additions & 110 deletions

File tree

official/c70252926.lua

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,21 @@
22
--Fortune Lady Every
33
local s,id=GetID()
44
function s.initial_effect(c)
5-
--synchro summon
6-
Synchro.AddProcedure(c,nil,1,1,Synchro.NonTunerEx(Card.IsRace,RACE_SPELLCASTER),1,99)
75
c:EnableReviveLimit()
8-
--atk,def
6+
--Synchro Summon procedure: 1 Tuner + 1+ non-Tuner Spellcaster monsters
7+
Synchro.AddProcedure(c,nil,1,1,Synchro.NonTunerEx(Card.IsRace,RACE_SPELLCASTER),1,99)
8+
--This card's ATK/DEF become its Level x 400
99
local e1=Effect.CreateEffect(c)
1010
e1:SetType(EFFECT_TYPE_SINGLE)
1111
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
1212
e1:SetRange(LOCATION_MZONE)
1313
e1:SetCode(EFFECT_SET_ATTACK)
14-
e1:SetValue(s.value)
14+
e1:SetValue(function(e,c) return c:GetLevel()*400 end)
1515
c:RegisterEffect(e1)
1616
local e2=e1:Clone()
1717
e2:SetCode(EFFECT_SET_DEFENSE)
1818
c:RegisterEffect(e2)
19-
--level up
19+
--Increase this card's Level by 1 (max. 12), then, you can banish 1 face-up monster your opponent controls
2020
local e3=Effect.CreateEffect(c)
2121
e3:SetDescription(aux.Stringid(id,0))
2222
e3:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)
@@ -27,22 +27,20 @@ function s.initial_effect(c)
2727
e3:SetCondition(s.lvcon)
2828
e3:SetOperation(s.lvop)
2929
c:RegisterEffect(e3)
30-
--special summon
30+
--Special Summon this card from the GY
3131
local e4=Effect.CreateEffect(c)
3232
e4:SetDescription(aux.Stringid(id,1))
3333
e4:SetCategory(CATEGORY_SPECIAL_SUMMON)
3434
e4:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
3535
e4:SetCode(EVENT_PHASE+PHASE_END)
3636
e4:SetRange(LOCATION_GRAVE)
3737
e4:SetCountLimit(1,id)
38-
e4:SetCondition(s.spcon)
38+
e4:SetCondition(function(e,tp) return Duel.IsTurnPlayer(1-tp) end)
39+
e4:SetCost(s.spcost)
3940
e4:SetTarget(s.sptg)
4041
e4:SetOperation(s.spop)
4142
c:RegisterEffect(e4)
4243
end
43-
function s.value(e,c)
44-
return c:GetLevel()*400
45-
end
4644
function s.lvcon(e,tp,eg,ep,ev,re,r,rp)
4745
return Duel.IsTurnPlayer(tp) and e:GetHandler():IsLevelAbove(1) and e:GetHandler():IsLevelBelow(11)
4846
end
@@ -76,20 +74,21 @@ function s.lvop(e,tp,eg,ep,ev,re,r,rp)
7674
end
7775
end
7876
end
79-
function s.spcon(e,tp,eg,ep,ev,re,r,rp)
80-
return Duel.IsTurnPlayer(1-tp)
81-
end
82-
function s.rmfilter(c)
77+
function s.spcostfilter(c)
8378
return c:IsAbleToRemoveAsCost() and c:IsRace(RACE_SPELLCASTER)
8479
end
80+
function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
81+
local c=e:GetHandler()
82+
if chk==0 then returnDuel.IsExistingMatchingCard(s.spcostfilter,tp,LOCATION_GRAVE,0,1,c) end
83+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
84+
local g=Duel.SelectMatchingCard(tp,s.spcostfilter,tp,LOCATION_GRAVE,0,1,1,c)
85+
Duel.Remove(g,POS_FACEUP,REASON_COST)
86+
end
8587
function s.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
8688
local c=e:GetHandler()
8789
if chk==0 then return Duel.GetLocationCount(tp,LOCATION_MZONE)>0
88-
and c:IsCanBeSpecialSummoned(e,0,tp,false,false)
89-
and Duel.IsExistingMatchingCard(s.rmfilter,tp,LOCATION_GRAVE,0,1,c) end
90-
local g=Duel.SelectMatchingCard(tp,s.rmfilter,tp,LOCATION_GRAVE,0,1,1,c)
91-
Duel.Remove(g,POS_FACEUP,REASON_COST)
92-
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,0,LOCATION_GRAVE)
90+
and c:IsCanBeSpecialSummoned(e,0,tp,false,false) end
91+
Duel.SetOperationInfo(0,CATEGORY_SPECIAL_SUMMON,c,1,tp,0)
9392
end
9493
function s.spop(e,tp,eg,ep,ev,re,r,rp)
9594
local c=e:GetHandler()

official/c70369116.lua

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ local s,id=GetID()
55
function s.initial_effect(c)
66
c:EnableReviveLimit()
77
Link.AddProcedure(c,aux.FilterBoolFunctionEx(Card.IsType,TYPE_EFFECT),2,2)
8-
--Change attribute to DARK
8+
--The attribute of 1 face-up monster becomes DARK until the end of this turn
99
local e1=Effect.CreateEffect(c)
1010
e1:SetDescription(aux.Stringid(id,0))
1111
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
@@ -15,7 +15,7 @@ function s.initial_effect(c)
1515
e1:SetTarget(s.attg)
1616
e1:SetOperation(s.atop)
1717
c:RegisterEffect(e1)
18-
--Apply the effects of a "Fusion/Polymerization" spell
18+
--This effect becomes the effect of 1 "Fusion" or "Polymerization" Normal or Quick-Play Spel when that card is activated
1919
local e2=Effect.CreateEffect(c)
2020
e2:SetDescription(aux.Stringid(id,1))
2121
e2:SetType(EFFECT_TYPE_IGNITION)
@@ -60,6 +60,7 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
6060
return tg and tg(e,tp,eg,ep,ev,re,r,rp,0,chkc)
6161
end
6262
if chk==0 then return Duel.IsExistingMatchingCard(s.copfilter,tp,LOCATION_DECK,0,1,nil) end
63+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_TOGRAVE)
6364
local g=Duel.SelectMatchingCard(tp,s.copfilter,tp,LOCATION_DECK,0,1,1,nil)
6465
if not Duel.SendtoGrave(g,REASON_COST) then return end
6566
local te=g:GetFirst():CheckActivateEffect(true,true,false)
@@ -84,11 +85,12 @@ function s.operation(e,tp,eg,ep,ev,re,r,rp)
8485
te:SetLabel(e:GetLabel())
8586
te:SetLabelObject(e:GetLabelObject())
8687
end
88+
--You cannot Special Summon monsters for the rest of this turn
8789
local e1=Effect.CreateEffect(e:GetHandler())
90+
e1:SetDescription(aux.Stringid(id,2))
8891
e1:SetType(EFFECT_TYPE_FIELD)
8992
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
9093
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CLIENT_HINT)
91-
e1:SetDescription(aux.Stringid(id,2))
9294
e1:SetTargetRange(1,0)
9395
e1:SetReset(RESET_PHASE|PHASE_END)
9496
Duel.RegisterEffect(e1,tp)

official/c72272462.lua

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ local s,id=GetID()
55
function s.initial_effect(c)
66
Fusion.AddProcMix(c,true,true,aux.FilterBoolFunctionEx(Card.IsSetCard,SET_DESPIA),s.matfilter)
77
c:EnableReviveLimit()
8-
--Change ATK to 0
8+
--Change the ATK of all monsters currently on the field to 0, except Level 8 or higher Fusion Monsters
99
local e1=Effect.CreateEffect(c)
1010
e1:SetDescription(aux.Stringid(id,0))
1111
e1:SetCategory(CATEGORY_ATKCHANGE)
@@ -14,16 +14,16 @@ function s.initial_effect(c)
1414
e1:SetRange(LOCATION_MZONE)
1515
e1:SetHintTiming(0,TIMING_MAIN_END)
1616
e1:SetCountLimit(1,id)
17-
e1:SetCondition(s.atkcon)
17+
e1:SetCondition(function() return Duel.IsMainPhase() end)
1818
e1:SetTarget(s.atktg)
1919
e1:SetOperation(s.atkop)
2020
c:RegisterEffect(e1)
21-
--Search or Special Summon
21+
--Add to your hand, or Special Summon, 1 "Fallen of Albaz" or 1 "Despia" monster, from your Deck
2222
local e2=Effect.CreateEffect(c)
2323
e2:SetDescription(aux.Stringid(id,1))
2424
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_SPECIAL_SUMMON)
25-
e2:SetProperty(EFFECT_FLAG_DELAY+EFFECT_FLAG_DAMAGE_STEP)
2625
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
26+
e2:SetProperty(EFFECT_FLAG_DELAY)
2727
e2:SetCode(EVENT_LEAVE_FIELD)
2828
e2:SetCountLimit(1,{id,1})
2929
e2:SetCondition(s.thcon)
@@ -36,10 +36,6 @@ s.listed_names={CARD_ALBAZ}
3636
function s.matfilter(c,fc,st,tp)
3737
return c:IsAttribute(ATTRIBUTE_LIGHT,fc,st,tp) or c:IsAttribute(ATTRIBUTE_DARK,fc,st,tp)
3838
end
39-
--Change ATK
40-
function s.atkcon(e,tp,eg,ep,ev,re,r,rp)
41-
return Duel.IsMainPhase()
42-
end
4339
function s.atkfilter(c)
4440
return c:IsFaceup() and c:GetAttack()>0 and not (c:IsType(TYPE_FUSION) and c:IsLevelAbove(8))
4541
end
@@ -49,10 +45,11 @@ function s.atktg(e,tp,eg,ep,ev,re,r,rp,chk)
4945
Duel.SetOperationInfo(0,CATEGORY_ATKCHANGE,g,#g,PLAYER_ALL,LOCATION_MZONE)
5046
end
5147
function s.atkop(e,tp,eg,ep,ev,re,r,rp)
52-
local c=e:GetHandler()
5348
local g=Duel.GetMatchingGroup(s.atkfilter,tp,LOCATION_MZONE,LOCATION_MZONE,nil)
49+
if #g==0 then return end
50+
local c=e:GetHandler()
5451
for tc in g:Iter() do
55-
--Make ATK 0
52+
--Change the ATK to 0 until the end of this turn
5653
local e1=Effect.CreateEffect(c)
5754
e1:SetType(EFFECT_TYPE_SINGLE)
5855
e1:SetCode(EFFECT_SET_ATTACK_FINAL)
@@ -61,7 +58,6 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
6158
tc:RegisterEffect(e1)
6259
end
6360
end
64-
--Search or Special Summon
6561
function s.thcon(e,tp,eg,ep,ev,re,r,rp)
6662
local c=e:GetHandler()
6763
return rp==1-tp and c:IsReason(REASON_EFFECT) and c:IsPreviousPosition(POS_FACEUP) and c:IsPreviousControler(tp)
@@ -73,16 +69,18 @@ end
7369
function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
7470
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
7571
if chk==0 then return Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil,e,tp,ft) end
72+
Duel.SetPossibleOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
73+
Duel.SetPossibleOperationInfo(0,CATEGORY_SPECIAL_SUMMON,nil,1,tp,LOCATION_DECK)
7674
end
7775
function s.thop(e,tp,eg,ep,ev,re,r,rp)
78-
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
7976
local ft=Duel.GetLocationCount(tp,LOCATION_MZONE)
77+
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(id,2))
8078
local tc=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil,e,tp,ft):GetFirst()
8179
if tc then
8280
aux.ToHandOrElse(tc,tp,function(c)
8381
return tc:IsCanBeSpecialSummoned(e,0,tp,false,false) and ft>0 end,
8482
function(c)
8583
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP) end,
86-
aux.Stringid(id,1))
84+
aux.Stringid(id,3))
8785
end
8886
end

official/c72332074.lua

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
--Super Quantal Alphan Spike
33
local s,id=GetID()
44
function s.initial_effect(c)
5-
--Activate
5+
--Shuffle as many cards your opponent controls as possible into the Deck, then your opponent Special Summons 1 monster from their Extra Deck
66
local e1=Effect.CreateEffect(c)
77
e1:SetDescription(aux.Stringid(id,0))
88
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TODECK)
@@ -12,7 +12,7 @@ function s.initial_effect(c)
1212
e1:SetTarget(s.target)
1313
e1:SetOperation(s.activate)
1414
c:RegisterEffect(e1)
15-
--activate field spell
15+
--Activate 1 "Super Quantal Mech Ship Magnacarrier" from your Deck
1616
local e2=Effect.CreateEffect(c)
1717
e2:SetDescription(aux.Stringid(id,1))
1818
e2:SetType(EFFECT_TYPE_IGNITION)
@@ -23,7 +23,7 @@ function s.initial_effect(c)
2323
c:RegisterEffect(e2)
2424
end
2525
s.listed_series={SET_SUPER_QUANTUM}
26-
s.listed_names={58753372,10424147}
26+
s.listed_names={58753372,10424147} --"Super Quantal Fairy Alphan", "Super Quantal Mech Ship Magnacarrier"
2727
function s.cfilter(c)
2828
return c:IsFaceup() and c:IsSetCard(SET_SUPER_QUANTUM)
2929
end
@@ -59,7 +59,7 @@ function s.costfilter(c)
5959
end
6060
function s.actcost(e,tp,eg,ep,ev,re,r,rp,chk)
6161
local c=e:GetHandler()
62-
if chk==0 then return aux.bfgcost(e,tp,eg,ep,ev,re,r,rp,0)
62+
if chk==0 then return Cost.SelfBanish(e,tp,eg,ep,ev,re,r,rp,0)
6363
and Duel.IsExistingMatchingCard(s.costfilter,tp,LOCATION_MZONE|LOCATION_GRAVE,0,1,c) end
6464
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_REMOVE)
6565
local g=Duel.SelectMatchingCard(tp,s.costfilter,tp,LOCATION_MZONE|LOCATION_GRAVE,0,1,1,c)
@@ -73,6 +73,7 @@ function s.acttg(e,tp,eg,ep,ev,re,r,rp,chk)
7373
if chk==0 then return Duel.IsExistingMatchingCard(s.actfilter,tp,LOCATION_DECK,0,1,nil,tp) end
7474
end
7575
function s.actop(e,tp,eg,ep,ev,re,r,rp)
76+
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(id,2))
7677
local tc=Duel.SelectMatchingCard(tp,s.actfilter,tp,LOCATION_DECK,0,1,1,nil,tp):GetFirst()
7778
Duel.ActivateFieldSpell(tc,e,tp,eg,ep,ev,re,r,rp)
7879
end

official/c72498838.lua

Lines changed: 26 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
--Scripted by Naim
44
local s,id=GetID()
55
function s.initial_effect(c)
6-
--Add "Magistus" Spell/Trap to the hand or return 1 Spellcaster to the GY
6+
--Activate 1 of these effects
77
local e1=Effect.CreateEffect(c)
88
e1:SetDescription(aux.Stringid(id,0))
9-
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
10-
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
9+
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
10+
e1:SetProperty(EFFECT_FLAG_DELAY)
1111
e1:SetCode(EVENT_SUMMON_SUCCESS)
1212
e1:SetCountLimit(1,id)
1313
e1:SetTarget(s.target)
@@ -16,9 +16,9 @@ function s.initial_effect(c)
1616
local e2=e1:Clone()
1717
e2:SetCode(EVENT_SPSUMMON_SUCCESS)
1818
c:RegisterEffect(e2)
19-
--Equip from grave
19+
--Equip 1 "Magistus" monster you control with 1 "Magistus" monster from your GY, except a Level 4 monster.
2020
local e3=Effect.CreateEffect(c)
21-
e3:SetDescription(aux.Stringid(id,3))
21+
e3:SetDescription(aux.Stringid(id,1))
2222
e3:SetCategory(CATEGORY_EQUIP)
2323
e3:SetType(EFFECT_TYPE_IGNITION)
2424
e3:SetRange(LOCATION_GRAVE)
@@ -30,56 +30,46 @@ function s.initial_effect(c)
3030
c:RegisterEffect(e3)
3131
end
3232
s.listed_series={SET_MAGISTUS}
33-
function s.schfilter(c)
33+
function s.thfilter(c)
3434
return c:IsSetCard(SET_MAGISTUS) and c:IsSpellTrap() and c:IsAbleToHand()
3535
end
3636
function s.tgfilter(c)
3737
return c:IsRace(RACE_SPELLCASTER) and c:IsLevelBelow(4) and c:IsFaceup()
3838
end
3939
function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
4040
local c=e:GetHandler()
41-
if chk==0 then
42-
local sel=0
43-
if Duel.IsExistingMatchingCard(s.schfilter,tp,LOCATION_DECK,0,1,nil) then sel=sel+1 end
44-
if Duel.IsExistingMatchingCard(s.tgfilter,tp,LOCATION_REMOVED,0,1,nil) then sel=sel+2 end
45-
e:SetLabel(sel)
46-
return sel~=0
47-
end
48-
local sel=e:GetLabel()
49-
if sel==3 then
50-
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(id,0))
51-
sel=Duel.SelectOption(tp,aux.Stringid(id,1),aux.Stringid(id,2))+1
52-
elseif sel==1 then
53-
Duel.SelectOption(tp,aux.Stringid(id,1))
54-
else
55-
Duel.SelectOption(tp,aux.Stringid(id,2))
56-
end
57-
e:SetLabel(sel)
58-
if sel==1 then
41+
local b1=Duel.IsExistingMatchingCard(s.thfilter,tp,LOCATION_DECK,0,1,nil)
42+
local b2=Duel.IsExistingMatchingCard(s.tgfilter,tp,LOCATION_REMOVED,0,1,nil)
43+
if chk==0 then return b1 or b2 end
44+
local op=Duel.SelectEffect(tp,
45+
{b1,aux.Stringid(id,2)},
46+
{b2,aux.Stringid(id,3)})
47+
e:SetLabel(op)
48+
if op==1 then
5949
e:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
6050
Duel.SetOperationInfo(0,CATEGORY_TOHAND,nil,1,tp,LOCATION_DECK)
61-
else
51+
elseif op==2
6252
local g=Duel.GetMatchingGroup(s.tgfilter,tp,LOCATION_REMOVED,0,nil)
6353
e:SetCategory(CATEGORY_TOGRAVE)
64-
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,1,0,0)
54+
Duel.SetOperationInfo(0,CATEGORY_TOGRAVE,g,1,tp,0)
6555
end
6656
end
6757
function s.operation(e,tp,eg,ep,ev,re,r,rp)
68-
local c=e:GetHandler()
69-
local sel=e:GetLabel()
70-
if sel==1 then
58+
local op=e:GetLabel()
59+
if op==1 then
60+
--Add 1 "Magistus" Spell/Trap from your Deck to your hand.
7161
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_ATOHAND)
72-
local g=Duel.SelectMatchingCard(tp,s.schfilter,tp,LOCATION_DECK,0,1,1,nil)
62+
local g=Duel.SelectMatchingCard(tp,s.thfiler,tp,LOCATION_DECK,0,1,1,nil)
7363
if #g>0 then
7464
Duel.SendtoHand(g,nil,REASON_EFFECT)
7565
Duel.ConfirmCards(1-tp,g)
7666
end
77-
else
78-
if Duel.IsExistingMatchingCard(s.tgfilter,tp,LOCATION_REMOVED,0,1,nil) then
79-
local tg=Duel.SelectMatchingCard(tp,s.tgfilter,tp,LOCATION_REMOVED,0,1,1,nil)
80-
if #tg>0 then
81-
Duel.SendtoGrave(tg,REASON_EFFECT|REASON_RETURN)
82-
end
67+
elseif op==2
68+
--Return 1 of your banished Level 4 or lower Spellcaster monsters to your GY
69+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_RTOGRAVE)
70+
local tg=Duel.SelectMatchingCard(tp,s.tgfilter,tp,LOCATION_REMOVED,0,1,1,nil)
71+
if #tg>0 then
72+
Duel.SendtoGrave(tg,REASON_EFFECT|REASON_RETURN)
8373
end
8474
end
8575
end

official/c78199891.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,13 @@ function s.eqptg(e,tp,eg,ep,ev,re,r,rp,chk)
4545
local ft=Duel.GetLocationCount(tp,LOCATION_SZONE)
4646
if e:GetHandler():IsLocation(LOCATION_HAND) then ft=ft-1 end
4747
if chk==0 then return ft>0 and Duel.IsExistingTarget(s.cfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,nil,tp) end
48+
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP)
4849
Duel.SelectTarget(tp,s.cfilter,tp,LOCATION_MZONE,LOCATION_MZONE,1,1,nil,tp)
4950
Duel.SetOperationInfo(0,CATEGORY_EQUIP,nil,1,tp,LOCATION_DECK)
5051
end
5152
function s.eqpop(e,tp,eg,ep,ev,re,r,rp)
5253
local tc=Duel.GetFirstTarget()
53-
if not (tc:IsFaceup() and tc:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0) then return end
54+
if not (tc:IsFaceup() and tc:IsRelateToEffect(e) and Duel.GetLocationCount(tp,LOCATION_SZONE)>0) then return end
5455
Duel.Hint(HINT_SELECTMSG,tp,HINTMSG_EQUIP)
5556
local g=Duel.SelectMatchingCard(tp,s.eqfilter,tp,LOCATION_DECK,0,1,1,nil,tc,tp)
5657
if #g>0 then

0 commit comments

Comments
 (0)