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
1f073bd9
Commit
1f073bd9
authored
Nov 18, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1cb74447
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
52 additions
and
59 deletions
+52
-59
script/c10004783.lua
script/c10004783.lua
+4
-4
script/c11136371.lua
script/c11136371.lua
+3
-3
script/c12644061.lua
script/c12644061.lua
+3
-3
script/c1516510.lua
script/c1516510.lua
+5
-17
script/c21698716.lua
script/c21698716.lua
+1
-1
script/c32710364.lua
script/c32710364.lua
+1
-1
script/c34487429.lua
script/c34487429.lua
+4
-4
script/c35486099.lua
script/c35486099.lua
+3
-3
script/c47121070.lua
script/c47121070.lua
+3
-3
script/c47408488.lua
script/c47408488.lua
+2
-2
script/c60876124.lua
script/c60876124.lua
+1
-1
script/c63806265.lua
script/c63806265.lua
+1
-1
script/c66127916.lua
script/c66127916.lua
+3
-1
script/c69937550.lua
script/c69937550.lua
+1
-1
script/c7093411.lua
script/c7093411.lua
+2
-2
script/c72881007.lua
script/c72881007.lua
+2
-2
script/c7617253.lua
script/c7617253.lua
+1
-1
script/c79856792.lua
script/c79856792.lua
+3
-3
script/c8275702.lua
script/c8275702.lua
+1
-1
script/c8559793.lua
script/c8559793.lua
+1
-1
script/c95326659.lua
script/c95326659.lua
+2
-2
script/c96331676.lua
script/c96331676.lua
+1
-1
script/utility.lua
script/utility.lua
+2
-1
strings.conf
strings.conf
+2
-0
No files found.
script/c10004783.lua
View file @
1f073bd9
...
...
@@ -34,10 +34,10 @@ function c10004783.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c10004783
.
eqlimit
(
e
,
c
)
return
c
:
IsSetCard
(
0x34
)
return
c
:
IsSetCard
(
0x
10
34
)
end
function
c10004783
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x34
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
34
)
end
function
c10004783
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetLocation
()
==
LOCATION_MZONE
and
c10004783
.
filter
(
chkc
)
end
...
...
@@ -57,12 +57,12 @@ function c10004783.tfcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c10004783
.
tftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
0x34
)
end
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
0x
10
34
)
end
end
function
c10004783
.
tfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
0x34
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
0x
10
34
)
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
...
...
script/c11136371.lua
View file @
1f073bd9
...
...
@@ -18,14 +18,14 @@ function c11136371.plcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
function
c11136371
.
pltg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
0x34
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
0x
10
34
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
function
c11136371
.
plop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
if
ft
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
ft
,
ft
,
nil
,
0x34
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
ft
,
ft
,
nil
,
0x
10
34
)
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
while
tc
do
...
...
@@ -51,7 +51,7 @@ function c11136371.plop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c11136371
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x34
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
34
)
end
function
c11136371
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c11136371
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
...
...
script/c12644061.lua
View file @
1f073bd9
...
...
@@ -11,7 +11,7 @@ function c12644061.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
+
LOCATION_GRAVE
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
e2
:
SetCode
(
EFFECT_CHANGE_ATTRIBUTE
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x34
))
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x
10
34
))
e2
:
SetValue
(
ATTRIBUTE_DARK
)
c
:
RegisterEffect
(
e2
)
--negate
...
...
@@ -55,10 +55,10 @@ end
function
c12644061
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
local
at
=
Duel
.
GetAttackTarget
()
return
ep
==
tp
and
((
a
:
IsControler
(
tp
)
and
a
:
IsSetCard
(
0x
34
))
or
(
at
and
at
:
IsControler
(
tp
)
and
at
:
IsSetCard
(
0x
34
)))
return
ep
==
tp
and
((
a
:
IsControler
(
tp
)
and
a
:
IsSetCard
(
0x
1034
))
or
(
at
and
at
:
IsControler
(
tp
)
and
at
:
IsSetCard
(
0x10
34
)))
end
function
c12644061
.
dfilter
(
c
)
return
c
:
IsSetCard
(
0x34
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c12644061
.
damcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c12644061
.
dfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
script/c1516510.lua
View file @
1f073bd9
...
...
@@ -6,30 +6,18 @@ function c1516510.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_FUSION_MATERIAL
)
e1
:
SetCondition
(
c1516510
.
fscon
)
e1
:
SetOperation
(
c1516510
.
fsop
)
e1
:
SetCondition
(
aux
.
FConditionCodeFun
(
16178681
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_SPELLCASTER
),
1
,
true
,
false
)
)
e1
:
SetOperation
(
c1516510
.
fsop
2
)
c
:
RegisterEffect
(
e1
)
end
c1516510
.
material_count
=
1
c1516510
.
material
=
{
16178681
}
function
c1516510
.
mfilter
(
c
,
mg
)
return
(
c
:
IsCode
(
16178681
)
or
c
:
IsHasEffect
(
EFFECT_FUSION_SUBSTITUTE
))
and
mg
:
IsExists
(
Card
.
IsRace
,
1
,
c
,
RACE_SPELLCASTER
)
end
function
c1516510
.
fscon
(
e
,
mg
,
gc
)
if
mg
==
nil
then
return
false
end
if
gc
then
return
false
end
return
mg
:
IsExists
(
c1516510
.
mfilter
,
1
,
nil
,
mg
)
end
c1516510
.
fsop1
=
aux
.
FOperationCodeFun
(
16178681
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_SPELLCASTER
),
1
,
true
,
false
)
function
c1516510
.
imfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSummonType
()
==
SUMMON_TYPE_PENDULUM
end
function
c1516510
.
fsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
gc
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
local
g1
=
eg
:
FilterSelect
(
tp
,
c1516510
.
mfilter
,
1
,
1
,
nil
,
eg
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FMATERIAL
)
local
g2
=
eg
:
FilterSelect
(
tp
,
Card
.
IsRace
,
1
,
1
,
g1
:
GetFirst
(),
RACE_SPELLCASTER
)
g1
:
Merge
(
g2
)
Duel
.
SetFusionMaterial
(
g1
)
function
c1516510
.
fsop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
gc
,
chkf
)
c1516510
.
fsop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
gc
,
chkf
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c21698716.lua
View file @
1f073bd9
...
...
@@ -39,7 +39,7 @@ function c21698716.repop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RaiseEvent
(
c
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
function
c21698716
.
filter
(
c
)
return
c
:
IsSetCard
(
0x34
)
and
c
:
IsAbleToDeck
()
and
c
:
IsFaceup
()
return
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsAbleToDeck
()
and
c
:
IsFaceup
()
end
function
c21698716
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsControler
(
tp
)
and
c21698716
.
filter
(
chkc
)
end
...
...
script/c32710364.lua
View file @
1f073bd9
...
...
@@ -38,7 +38,7 @@ function c32710364.repop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RaiseEvent
(
c
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
function
c32710364
.
filter
(
c
,
e
,
sp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x34
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
sp
,
true
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
sp
,
true
,
false
)
end
function
c32710364
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c32710364
.
filter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
,
e
,
tp
)
...
...
script/c34487429.lua
View file @
1f073bd9
...
...
@@ -60,17 +60,17 @@ function c34487429.initial_effect(c)
c
:
RegisterEffect
(
e6
)
end
function
c34487429
.
filter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x34
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
34
)
end
function
c34487429
.
desrepcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c34487429
.
filter1
,
e
:
GetHandler
():
GetControler
(),
LOCATION_SZONE
,
0
,
1
,
nil
)
end
function
c34487429
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsChainNegatable
(
ev
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_SZONE
,
0
,
3
,
nil
,
0x34
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_SZONE
,
0
,
3
,
nil
,
0x
10
34
)
end
function
c34487429
.
filter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x34
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c34487429
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c34487429
.
filter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
...
...
@@ -110,7 +110,7 @@ function c34487429.spcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsExistingMatchingCard
(
c34487429
.
filter1
,
tp
,
LOCATION_SZONE
,
0
,
5
,
nil
)
end
function
c34487429
.
filter3
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x34
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c34487429
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetLocation
()
==
LOCATION_SZONE
and
chkc
:
GetControler
()
==
tp
and
c34487429
.
filter3
(
chkc
,
e
,
tp
)
end
...
...
script/c35486099.lua
View file @
1f073bd9
...
...
@@ -11,9 +11,9 @@ function c35486099.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c35486099
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
GetControler
()
==
tp
and
chkc
:
GetLocation
()
==
LOCATION_GRAVE
and
chkc
:
IsSetCard
(
0x34
)
end
if
chkc
then
return
chkc
:
GetControler
()
==
tp
and
chkc
:
GetLocation
()
==
LOCATION_GRAVE
and
chkc
:
IsSetCard
(
0x
10
34
)
end
if
chk
==
0
then
if
not
Duel
.
IsExistingTarget
(
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
0x34
)
then
return
false
end
if
not
Duel
.
IsExistingTarget
(
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
0x
10
34
)
then
return
false
end
if
e
:
GetHandler
():
IsLocation
(
LOCATION_HAND
)
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
1
else
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
end
...
...
@@ -21,7 +21,7 @@ function c35486099.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
if
ft
>
2
then
ft
=
2
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
ft
,
nil
,
0x34
)
local
g
=
Duel
.
SelectTarget
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
ft
,
nil
,
0x
10
34
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
g
,
2
,
0
,
0
)
end
function
c35486099
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c47121070.lua
View file @
1f073bd9
...
...
@@ -10,19 +10,19 @@ function c47121070.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c47121070
.
filter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x34
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsReason
(
REASON_BATTLE
)
return
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsReason
(
REASON_BATTLE
)
end
function
c47121070
.
tfcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c47121070
.
filter
,
1
,
nil
,
tp
)
end
function
c47121070
.
tftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
0x34
)
end
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
0x
10
34
)
end
end
function
c47121070
.
tfop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
0x34
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
0x
10
34
)
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
...
...
script/c47408488.lua
View file @
1f073bd9
...
...
@@ -37,7 +37,7 @@ function c47408488.initial_effect(c)
end
function
c47408488
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
return
tc
:
IsFaceup
()
and
tc
:
IsSetCard
(
0x34
)
return
tc
:
IsFaceup
()
and
tc
:
IsSetCard
(
0x
10
34
)
end
function
c47408488
.
ctop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
AddCounter
(
0x6
,
1
)
...
...
@@ -58,7 +58,7 @@ function c47408488.plop(e,tp,eg,ep,ev,re,r,rp)
if
ft
<=
0
then
return
end
if
ft
>
e
:
GetLabel
()
then
ft
=
e
:
GetLabel
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
ft
,
ft
,
nil
,
0x34
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
ft
,
ft
,
nil
,
0x
10
34
)
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
while
tc
do
...
...
script/c60876124.lua
View file @
1f073bd9
...
...
@@ -11,7 +11,7 @@ function c60876124.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c60876124
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x34
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
34
)
end
function
c60876124
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c60876124
.
filter
,
tp
,
LOCATION_SZONE
,
0
,
2
,
nil
)
...
...
script/c63806265.lua
View file @
1f073bd9
...
...
@@ -12,7 +12,7 @@ function c63806265.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c63806265
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x34
)
and
(
not
c
:
IsOnField
()
or
c
:
IsFaceup
())
return
c
:
IsSetCard
(
0x
10
34
)
and
(
not
c
:
IsOnField
()
or
c
:
IsFaceup
())
end
function
c63806265
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c63806265
.
cfilter
,
tp
,
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
...
...
script/c66127916.lua
View file @
1f073bd9
...
...
@@ -35,7 +35,9 @@ function c66127916.activate(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
local
tc
=
Duel
.
GetFirstMatchingCard
(
c66127916
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
tg
=
Duel
.
SelectMatchingCard
(
c66127916
.
filter3
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
tc
=
tg
:
GetFirst
()
if
tc
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
66127916
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
...
...
script/c69937550.lua
View file @
1f073bd9
...
...
@@ -39,7 +39,7 @@ end
function
c69937550
.
cbcondition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
bt
=
eg
:
GetFirst
()
return
r
~=
REASON_REPLACE
and
c
~=
bt
and
bt
:
IsFaceup
()
and
bt
:
IsSetCard
(
0x34
)
and
bt
:
GetControler
()
==
c
:
GetControler
()
return
r
~=
REASON_REPLACE
and
c
~=
bt
and
bt
:
IsFaceup
()
and
bt
:
IsSetCard
(
0x
10
34
)
and
bt
:
GetControler
()
==
c
:
GetControler
()
end
function
c69937550
.
cboperation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ChangeAttackTarget
(
e
:
GetHandler
())
...
...
script/c7093411.lua
View file @
1f073bd9
...
...
@@ -43,13 +43,13 @@ function c7093411.repop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RaiseEvent
(
c
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
function
c7093411
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
nil
,
0x34
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
nil
,
0x
10
34
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
end
end
function
c7093411
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
0x34
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
0x
10
34
)
if
g
:
GetCount
()
>
0
then
local
tc
=
g
:
GetFirst
()
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
...
...
script/c72881007.lua
View file @
1f073bd9
...
...
@@ -11,7 +11,7 @@ function c72881007.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c72881007
.
costfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x34
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c72881007
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
e
:
SetLabel
(
1
)
...
...
@@ -21,7 +21,7 @@ function c72881007.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
function
c72881007
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x34
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c72881007
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
script/c7617253.lua
View file @
1f073bd9
...
...
@@ -16,7 +16,7 @@ function c7617253.condition(e,tp,eg,ep,ev,re,r,rp)
return
tp
~=
Duel
.
GetTurnPlayer
()
end
function
c7617253
.
costfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x34
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c7617253
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c7617253
.
costfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
...
...
script/c79856792.lua
View file @
1f073bd9
...
...
@@ -48,7 +48,7 @@ function c79856792.initial_effect(c)
c
:
RegisterEffect
(
e5
)
end
function
c79856792
.
spfilter
(
c
)
return
c
:
IsSetCard
(
0x34
)
and
(
not
c
:
IsOnField
()
or
c
:
IsFaceup
())
return
c
:
IsSetCard
(
0x
10
34
)
and
(
not
c
:
IsOnField
()
or
c
:
IsFaceup
())
end
function
c79856792
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
@@ -66,7 +66,7 @@ function c79856792.atcon(e,tp,eg,ep,ev,re,r,rp)
return
phase
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
()
end
function
c79856792
.
afilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x34
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c79856792
.
atcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c79856792
.
afilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
...
...
@@ -89,7 +89,7 @@ function c79856792.tdcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetFlagEffect
(
79856792
)
==
0
end
function
c79856792
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0x34
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsAbleToRemoveAsCost
()
end
function
c79856792
.
tdcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c79856792
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
script/c8275702.lua
View file @
1f073bd9
...
...
@@ -11,7 +11,7 @@ function c8275702.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c8275702
.
filter
(
c
,
e
,
sp
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x34
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
sp
,
true
,
false
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
sp
,
true
,
false
)
end
function
c8275702
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_SZONE
)
and
chkc
:
IsControler
(
tp
)
and
c8275702
.
filter
(
chkc
,
e
,
tp
)
end
...
...
script/c8559793.lua
View file @
1f073bd9
...
...
@@ -23,7 +23,7 @@ function c8559793.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsExistingMatchingCard
(
c8559793
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
2
,
nil
)
end
function
c8559793
.
filter
(
c
)
return
c
:
IsSetCard
(
0xb
9
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
return
c
:
IsSetCard
(
0xb
a
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
function
c8559793
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c8559793
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
script/c95326659.lua
View file @
1f073bd9
...
...
@@ -11,13 +11,13 @@ function c95326659.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c95326659
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x34
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
34
)
end
function
c95326659
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c95326659
.
cfilter
,
tp
,
LOCATION_SZONE
,
0
,
2
,
nil
)
end
function
c95326659
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x34
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
return
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
function
c95326659
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
script/c96331676.lua
View file @
1f073bd9
...
...
@@ -12,7 +12,7 @@ function c96331676.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c96331676
.
costfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x34
)
and
c
:
IsAbleToGraveAsCost
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x
10
34
)
and
c
:
IsAbleToGraveAsCost
()
end
function
c96331676
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c96331676
.
costfilter
,
tp
,
LOCATION_SZONE
,
0
,
1
,
nil
)
end
...
...
script/utility.lua
View file @
1f073bd9
...
...
@@ -142,11 +142,12 @@ function Auxiliary.SynCondition(f1,f2,minct,maxc)
return
Duel
.
CheckSynchroMaterial
(
c
,
f1
,
f2
,
minc
,
maxc
,
smat
,
mg
)
end
end
function
Auxiliary
.
SynOperation
(
f1
,
f2
,
minc
,
maxc
)
function
Auxiliary
.
SynOperation
(
f1
,
f2
,
minc
t
,
maxc
)
return
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
smat
,
mg
)
local
g
=
nil
local
ft
=
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
local
ct
=-
ft
local
minc
=
minct
if
minc
<
ct
then
minc
=
ct
end
if
smat
and
smat
:
IsType
(
TYPE_TUNER
)
and
(
not
f1
or
f1
(
smat
))
then
g
=
Duel
.
SelectTunerMaterial
(
c
:
GetControler
(),
c
,
smat
,
f1
,
f2
,
minc
,
maxc
,
mg
)
...
...
strings.conf
View file @
1f073bd9
...
...
@@ -435,3 +435,5 @@
!
counter
0
x31
希望剑指示物
!
counter
0
x32
气球指示物
!
counter
0
x33
妖仙指示物
!
counter
0
x34
指示物(
BOX
)
!
counter
0
x35
音响指示物
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