Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
ygopro
Commits
17959947
Commit
17959947
authored
Dec 06, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3fb19fcb
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
26 additions
and
24 deletions
+26
-24
script/c30575681.lua
script/c30575681.lua
+9
-9
script/c3580032.lua
script/c3580032.lua
+2
-3
script/c35952884.lua
script/c35952884.lua
+2
-2
script/c52198054.lua
script/c52198054.lua
+1
-1
script/c60229110.lua
script/c60229110.lua
+1
-1
script/c66970385.lua
script/c66970385.lua
+5
-4
script/c73125233.lua
script/c73125233.lua
+4
-1
script/c87288189.lua
script/c87288189.lua
+1
-1
script/c99311109.lua
script/c99311109.lua
+1
-1
script/utility.lua
script/utility.lua
+0
-1
No files found.
script/c30575681.lua
View file @
17959947
...
@@ -39,22 +39,22 @@ function c30575681.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -39,22 +39,22 @@ function c30575681.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
end
end
end
end
function
c30575681
.
eqfilter1
(
c
,
ec
)
function
c30575681
.
eqfilter1
(
c
)
return
ec
:
CheckEquipTarget
(
c
)
end
function
c30575681
.
eqfilter2
(
c
,
tp
)
return
c
:
IsSetCard
(
0x207a
)
and
c
:
GetEquipTarget
()
return
c
:
IsSetCard
(
0x207a
)
and
c
:
GetEquipTarget
()
and
Duel
.
IsExistingTarget
(
c30575681
.
eqfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
:
GetEquipTarget
(),
c
)
and
Duel
.
IsExistingTarget
(
c30575681
.
eqfilter2
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
c
:
GetEquipTarget
(),
c
)
end
function
c30575681
.
eqfilter2
(
c
,
ec
)
return
c
:
IsFaceup
()
and
ec
:
CheckEquipTarget
(
c
)
end
end
function
c30575681
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c30575681
.
eqtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
end
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c30575681
.
eqfilter
2
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c30575681
.
eqfilter
1
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c30575681
.
eqfilter
2
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
1
,
nil
,
tp
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c30575681
.
eqfilter
1
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
1
,
1
,
nil
)
local
tc
=
g1
:
GetFirst
()
local
tc
=
g1
:
GetFirst
()
e
:
SetLabelObject
(
tc
)
e
:
SetLabelObject
(
tc
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
c30575681
.
eqfilter
1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
tc
:
GetEquipTarget
(),
tc
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
c30575681
.
eqfilter
2
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
tc
:
GetEquipTarget
(),
tc
)
end
end
function
c30575681
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c30575681
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
GetLabelObject
()
local
ec
=
e
:
GetLabelObject
()
...
...
script/c3580032.lua
View file @
17959947
...
@@ -78,8 +78,7 @@ function c3580032.spfilter(c,e,tp)
...
@@ -78,8 +78,7 @@ function c3580032.spfilter(c,e,tp)
end
end
function
c3580032
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c3580032
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c3580032
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c3580032
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
c3580032
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c3580032
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -95,7 +94,7 @@ function c3580032.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -95,7 +94,7 @@ function c3580032.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
end
function
c3580032
.
scfilter
(
c
)
function
c3580032
.
scfilter
(
c
)
return
c
:
IsSetCard
(
0x107a
)
and
c
:
IsSynchroSummonable
(
nil
,
nil
)
return
c
:
IsSetCard
(
0x107a
)
and
c
:
IsSynchroSummonable
(
nil
)
end
end
function
c3580032
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c3580032
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c3580032
.
scfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c3580032
.
scfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
...
...
script/c35952884.lua
View file @
17959947
...
@@ -54,13 +54,13 @@ end
...
@@ -54,13 +54,13 @@ end
function
c35952884
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c35952884
.
mtop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
mg
=
c
:
GetMaterial
()
local
mg
=
c
:
GetMaterial
()
local
ct
=
mg
:
FilterCount
(
mg
,
c35952884
.
mfilter
,
nil
)
local
ct
=
mg
:
FilterCount
(
c35952884
.
mfilter
,
nil
)
if
bit
.
band
(
r
,
REASON_SYNCHRO
)
~=
0
and
ct
>
0
then
if
bit
.
band
(
r
,
REASON_SYNCHRO
)
~=
0
and
ct
>
0
then
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
e1
:
SetCode
(
EFFECT_EXTRA_ATTACK
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e1
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e1
:
SetValue
(
ct
)
e1
:
SetValue
(
ct
-
1
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
end
end
...
...
script/c52198054.lua
View file @
17959947
...
@@ -55,7 +55,7 @@ function c52198054.target1(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -55,7 +55,7 @@ function c52198054.target1(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
e
:
SetLabel
(
1
)
e
:
SetLabel
(
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
RESET_CHAIN
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
40555959
,
2
))
e
:
GetHandler
():
RegisterFlagEffect
(
0
,
RESET_CHAIN
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
52198054
,
2
))
else
else
e
:
SetCategory
(
0
)
e
:
SetCategory
(
0
)
e
:
SetProperty
(
0
)
e
:
SetProperty
(
0
)
...
...
script/c60229110.lua
View file @
17959947
...
@@ -19,7 +19,7 @@ function c60229110.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -19,7 +19,7 @@ function c60229110.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsFacedown
()
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsFacedown
()
end
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFacedown
()
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsFacedown
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c60229110
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c60229110
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c66970385.lua
View file @
17959947
...
@@ -6,7 +6,7 @@ function c66970385.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c66970385.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
,
66970385
)
e1
:
SetCountLimit
(
1
,
66970385
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
c66970385
.
condition
)
e1
:
SetCondition
(
c66970385
.
condition
)
e1
:
SetTarget
(
c66970385
.
target
)
e1
:
SetTarget
(
c66970385
.
target
)
e1
:
SetOperation
(
c66970385
.
activate
)
e1
:
SetOperation
(
c66970385
.
activate
)
...
@@ -16,14 +16,14 @@ function c66970385.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -16,14 +16,14 @@ function c66970385.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
0
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
0
end
end
function
c66970385
.
filter
(
c
,
e
,
tp
)
function
c66970385
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x107a
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x107a
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
IsExistingTarget
(
c66970385
.
eqfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
,
c
)
and
Duel
.
IsExistingTarget
(
c66970385
.
eqfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
tp
,
c
)
end
end
function
c66970385
.
eqfilter
(
c
,
tp
,
ec
)
function
c66970385
.
eqfilter
(
c
,
tp
,
ec
)
return
c
:
IsSetCard
(
0x207a
)
and
c
:
CheckUniqueOnField
(
tp
)
and
c
:
CheckEquipTarget
(
ec
)
return
c
:
IsSetCard
(
0x207a
)
and
c
:
CheckUniqueOnField
(
tp
)
and
c
:
CheckEquipTarget
(
ec
)
end
end
function
c66970385
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c66970385
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
end
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c66970385
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingTarget
(
c66970385
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
@@ -40,7 +40,8 @@ function c66970385.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -40,7 +40,8 @@ function c66970385.activate(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
ec
=
tg
:
GetFirst
()
local
ec
=
tg
:
GetFirst
()
if
ec
==
tc
then
ec
=
tg
:
GetNext
()
end
if
ec
==
tc
then
ec
=
tg
:
GetNext
()
end
if
tc
:
IsRelateToEffect
(
e
)
and
ec
:
IsRelateToEffect
(
e
)
and
ec
:
CheckUniqueOnField
(
tp
)
and
ec
:
CheckEquipTarget
(
tc
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
tc
:
IsRelateToEffect
(
e
)
and
ec
:
IsRelateToEffect
(
e
)
and
ec
:
CheckUniqueOnField
(
tp
)
and
ec
:
CheckEquipTarget
(
tc
)
and
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
Duel
.
Equip
(
tp
,
ec
,
tc
)
Duel
.
Equip
(
tp
,
ec
,
tc
)
end
end
end
end
script/c73125233.lua
View file @
17959947
...
@@ -20,7 +20,10 @@ function c73125233.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -20,7 +20,10 @@ function c73125233.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
local
tc
=
g
:
GetFirst
()
if
tc
and
tc
:
IsAbleToDeck
()
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
tc
,
1
,
0
,
0
)
end
end
end
function
c73125233
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73125233
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
...
...
script/c87288189.lua
View file @
17959947
...
@@ -53,7 +53,7 @@ function c87288189.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -53,7 +53,7 @@ function c87288189.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsAbleToRemove
()
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsAbleToRemove
()
end
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
ct
=
1
local
ct
=
1
if
e
:
GetLabel
()
==
1
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
87288189
,
2
))
then
ct
=
2
end
if
e
:
GetLabel
()
==
1
then
ct
=
2
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
ct
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
g
:
GetCount
(),
0
,
0
)
...
...
script/c99311109.lua
View file @
17959947
...
@@ -13,7 +13,7 @@ function c99311109.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c99311109.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c99311109
.
cfilter
(
c
)
function
c99311109
.
cfilter
(
c
)
return
c
:
Get
FlagEffect
(
LOCATION_EXTRA
)
~=
0
return
c
:
Get
SummonLocation
()
==
LOCATION_EXTRA
end
end
function
c99311109
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c99311109
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
Duel
.
IsExistingMatchingCard
(
c99311109
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
not
Duel
.
IsExistingMatchingCard
(
c99311109
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
script/utility.lua
View file @
17959947
...
@@ -938,6 +938,5 @@ function Auxiliary.PendOperation()
...
@@ -938,6 +938,5 @@ function Auxiliary.PendOperation()
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Auxiliary
.
PConditionFilter
,
tp
,
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
1
,
ft
,
nil
,
e
,
tp
,
lscale
,
rscale
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Auxiliary
.
PConditionFilter
,
tp
,
LOCATION_HAND
+
LOCATION_EXTRA
,
0
,
1
,
ft
,
nil
,
e
,
tp
,
lscale
,
rscale
)
sg
:
Merge
(
g
)
sg
:
Merge
(
g
)
end
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
aux
.
Stringid
(
0
,
1074
))
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment