Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
062ea05b
Commit
062ea05b
authored
Sep 15, 2012
by
Fluorohydride
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #264 from VanillaSalt/patch28
fix
parents
1084efd6
abf6f670
Changes
30
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
45 additions
and
34 deletions
+45
-34
script/c18752938.lua
script/c18752938.lua
+2
-1
script/c21924381.lua
script/c21924381.lua
+1
-2
script/c25988873.lua
script/c25988873.lua
+1
-1
script/c35781051.lua
script/c35781051.lua
+1
-1
script/c35950025.lua
script/c35950025.lua
+1
-1
script/c36870345.lua
script/c36870345.lua
+1
-1
script/c43973174.lua
script/c43973174.lua
+2
-1
script/c52977572.lua
script/c52977572.lua
+1
-1
script/c58551308.lua
script/c58551308.lua
+1
-1
script/c60417395.lua
script/c60417395.lua
+2
-1
script/c60930169.lua
script/c60930169.lua
+2
-1
script/c61344030.lua
script/c61344030.lua
+1
-1
script/c70624184.lua
script/c70624184.lua
+2
-1
script/c73752131.lua
script/c73752131.lua
+2
-1
script/c74509280.lua
script/c74509280.lua
+2
-2
script/c76442347.lua
script/c76442347.lua
+1
-1
script/c77847678.lua
script/c77847678.lua
+1
-1
script/c79407975.lua
script/c79407975.lua
+1
-1
script/c79856792.lua
script/c79856792.lua
+1
-1
script/c82324105.lua
script/c82324105.lua
+2
-2
script/c83274244.lua
script/c83274244.lua
+2
-2
script/c84926738.lua
script/c84926738.lua
+1
-1
script/c88989706.lua
script/c88989706.lua
+2
-1
script/c91422370.lua
script/c91422370.lua
+2
-1
script/c9236985.lua
script/c9236985.lua
+2
-1
script/c93882364.lua
script/c93882364.lua
+2
-1
script/c96553688.lua
script/c96553688.lua
+2
-1
script/c96965364.lua
script/c96965364.lua
+1
-1
script/c97151365.lua
script/c97151365.lua
+2
-1
script/c9718968.lua
script/c9718968.lua
+1
-1
No files found.
script/c18752938.lua
View file @
062ea05b
...
...
@@ -13,7 +13,8 @@ function c18752938.filter(c,e,tp)
return
c
:
IsLevelBelow
(
2
)
and
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c18752938
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c18752938
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c18752938
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
function
c18752938
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c21924381.lua
View file @
062ea05b
...
...
@@ -19,8 +19,7 @@ function c21924381.filter(c)
end
function
c21924381
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c21924381
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c21924381
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
Duel
.
GetAttackTarget
())
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c21924381
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
Duel
.
GetAttackTarget
())
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c21924381
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
Duel
.
GetAttackTarget
())
Duel
.
GetAttacker
():
CreateEffectRelation
(
e
)
...
...
script/c25988873.lua
View file @
062ea05b
...
...
@@ -20,7 +20,7 @@ function c25988873.filter(c,e,tp)
return
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_WINDBEAST
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c25988873
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_
MZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_
SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c25988873
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
...
...
script/c35781051.lua
View file @
062ea05b
...
...
@@ -69,7 +69,7 @@ function c35781051.spfilter(c,e,tp)
return
c
:
IsSetCard
(
0x5
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c35781051
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c35781051
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
...
...
script/c35950025.lua
View file @
062ea05b
...
...
@@ -27,7 +27,7 @@ end
function
c35950025
.
ntcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
c
:
GetLevel
()
>
4
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c35950025
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c35950025
.
cfilter
,
c
:
GetControler
()
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c35950025
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_NORMAL
+
1
...
...
script/c36870345.lua
View file @
062ea05b
...
...
@@ -25,7 +25,7 @@ function c36870345.filter(c,e,tp)
return
c
:
IsSetCard
(
0x29
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c36870345
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_
MZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_
SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c36870345
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
...
...
script/c43973174.lua
View file @
062ea05b
...
...
@@ -20,7 +20,8 @@ function c43973174.filter(c,e,tp)
return
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c43973174
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c43973174
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c43973174
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
function
c43973174
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c52977572.lua
View file @
062ea05b
...
...
@@ -27,7 +27,7 @@ function c52977572.filter(c,e,tp)
return
c
:
IsSetCard
(
0x29
)
and
c
:
IsRace
(
RACE_WINDBEAST
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c52977572
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_
MZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_
SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c52977572
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
e
:
GetHandler
(),
1
,
0
,
0
)
...
...
script/c58551308.lua
View file @
062ea05b
...
...
@@ -19,7 +19,7 @@ end
function
c58551308
.
flipop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
then
c
:
RegisterFlagEffect
(
58551308
,
RESET_EVENT
+
0x
1
7a0000
,
0
,
0
)
c
:
RegisterFlagEffect
(
58551308
,
RESET_EVENT
+
0x
5
7a0000
,
0
,
0
)
end
end
function
c58551308
.
filter
(
c
,
e
,
tp
)
...
...
script/c60417395.lua
View file @
062ea05b
...
...
@@ -59,7 +59,8 @@ function c60417395.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
g1
,
REASON_COST
)
end
function
c60417395
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c60417395
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c60930169.lua
View file @
062ea05b
...
...
@@ -41,7 +41,8 @@ function c60930169.spfilter(c,e,tp,code)
return
c
:
IsCode
(
code
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c60930169
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c60930169
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
e
:
GetLabel
())
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c60930169
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
,
e
:
GetLabel
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c60930169
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c61344030.lua
View file @
062ea05b
...
...
@@ -34,7 +34,7 @@ function c61344030.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
2
,
2
,
REASON_COST
)
end
function
c61344030
.
filter
(
c
)
return
c
:
IsFacup
()
and
c
:
GetAttack
()
>
0
return
c
:
IsFac
e
up
()
and
c
:
GetAttack
()
>
0
end
function
c61344030
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c61344030
.
filter
(
chkc
)
end
...
...
script/c70624184.lua
View file @
062ea05b
...
...
@@ -19,7 +19,8 @@ function c70624184.filter(c,e,tp)
return
c
:
IsSetCard
(
0x53
)
and
c
:
GetCode
()
~=
70624184
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
end
function
c70624184
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c70624184
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c70624184
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
)
end
function
c70624184
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c73752131.lua
View file @
062ea05b
...
...
@@ -34,7 +34,8 @@ function c73752131.filter(c,e,tp)
return
c
:
IsCode
(
46986414
)
and
not
c
:
IsHasEffect
(
EFFECT_NECRO_VALLEY
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c73752131
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c73752131
.
filter
,
tp
,
0x13
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c73752131
.
filter
,
tp
,
0x13
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
0
,
tp
,
0x13
)
end
function
c73752131
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c74509280.lua
View file @
062ea05b
...
...
@@ -19,12 +19,12 @@ function c74509280.target(e,syncard,f,minc)
if
minc
>
1
then
return
false
end
local
lv
=
syncard
:
GetLevel
()
-
c
:
GetLevel
()
if
lv
<=
0
then
return
false
end
return
Duel
.
IsExistingMatchingCard
(
c74509280
.
filter
,
syncard
:
GetControler
(),
LOCATION_HAND
,
0
,
1
,
nil
,
syncard
,
c
,
f
,
lv
)
return
Duel
.
IsExistingMatchingCard
(
c74509280
.
syn
filter
,
syncard
:
GetControler
(),
LOCATION_HAND
,
0
,
1
,
nil
,
syncard
,
c
,
f
,
lv
)
end
function
c74509280
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
syncard
,
f
,
minc
)
local
c
=
e
:
GetHandler
()
local
lv
=
syncard
:
GetLevel
()
-
c
:
GetLevel
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SMATERIAL
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c74509280
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
syncard
,
c
,
f
,
lv
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c74509280
.
syn
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
syncard
,
c
,
f
,
lv
)
Duel
.
SetSynchroMaterial
(
g
)
end
script/c76442347.lua
View file @
062ea05b
...
...
@@ -19,7 +19,7 @@ function c76442347.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c76442347
.
flipop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
RegisterFlagEffect
(
76442347
,
RESET_EVENT
+
0x
1
7a0000
,
0
,
0
)
e
:
GetHandler
():
RegisterFlagEffect
(
76442347
,
RESET_EVENT
+
0x
5
7a0000
,
0
,
0
)
end
function
c76442347
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
76442347
)
~=
0
...
...
script/c77847678.lua
View file @
062ea05b
...
...
@@ -17,7 +17,7 @@ function c77847678.filter(c,e,tp)
return
c
:
IsSetCard
(
0x3d
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c77847678
.
target
(
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
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c77847678
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
...
...
script/c79407975.lua
View file @
062ea05b
...
...
@@ -31,7 +31,7 @@ function c79407975.spfilter(c)
end
function
c79407975
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
=
=
0
then
return
false
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
<
=
0
then
return
false
end
local
g
=
Duel
.
GetMatchingGroup
(
c79407975
.
spfilter
,
c
:
GetControler
(),
LOCATION_GRAVE
,
0
,
nil
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
return
ct
>=
7
...
...
script/c79856792.lua
View file @
062ea05b
...
...
@@ -52,7 +52,7 @@ function c79856792.spfilter(c)
end
function
c79856792
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
=
=
0
then
return
false
end
if
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
<
=
0
then
return
false
end
local
g
=
Duel
.
GetMatchingGroup
(
c79856792
.
spfilter
,
c
:
GetControler
(),
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
nil
)
local
ct
=
g
:
GetClassCount
(
Card
.
GetCode
)
return
ct
>
6
...
...
script/c82324105.lua
View file @
062ea05b
...
...
@@ -20,8 +20,8 @@ end
function
c82324105
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
82324106
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_FIEND
,
ATTRIBUTE_DARK
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
4
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
4
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
2
,
0
,
0
)
end
function
c82324105
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
1
...
...
script/c83274244.lua
View file @
062ea05b
...
...
@@ -36,8 +36,8 @@ function c83274244.atop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EVENT_CHAIN_ACTIVATING
)
e1
:
SetOperation
(
c83274244
.
negop
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_DAMAGE
)
Duel
.
RegisterEffect
(
e1
,
tp
)
e1
:
SetReset
(
RESET_
EVENT
+
0x1ff0000
+
RESET_
PHASE
+
PHASE_DAMAGE
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
end
function
c83274244
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
...
...
script/c84926738.lua
View file @
062ea05b
...
...
@@ -20,7 +20,7 @@ function c84926738.flipop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
Duel
.
Recover
(
tp
,
3000
,
REASON_EFFECT
)
if
c
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
then
c
:
RegisterFlagEffect
(
84926738
,
RESET_EVENT
+
0x
1
7a0000
,
0
,
0
)
c
:
RegisterFlagEffect
(
84926738
,
RESET_EVENT
+
0x
5
7a0000
,
0
,
0
)
end
end
function
c84926738
.
lptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c88989706.lua
View file @
062ea05b
...
...
@@ -56,7 +56,8 @@ function c88989706.filter(c,e,tp)
return
c
:
IsCode
(
39711336
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
function
c88989706
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c88989706
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c88989706
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
0
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
)
end
function
c88989706
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c91422370.lua
View file @
062ea05b
...
...
@@ -26,7 +26,8 @@ function c91422370.filter2(c,atk,e,tp)
return
c
:
IsSetCard
(
0x58
)
and
c
:
GetAttack
()
==
atk
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c91422370
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c91422370
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c91422370
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
function
c91422370
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c9236985.lua
View file @
062ea05b
...
...
@@ -17,7 +17,8 @@ end
function
c9236985
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
lp
=
Duel
.
GetLP
(
tp
)
return
Duel
.
IsExistingMatchingCard
(
c9236985
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
,
lp
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c9236985
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
,
lp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
...
...
script/c93882364.lua
View file @
062ea05b
...
...
@@ -19,7 +19,8 @@ function c93882364.filter(c,e,tp)
return
c
:
IsSetCard
(
0x2
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c93882364
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c93882364
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c93882364
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
function
c93882364
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c96553688.lua
View file @
062ea05b
...
...
@@ -19,7 +19,8 @@ function c96553688.filter(c,e,tp)
return
c
:
IsCode
(
23558733
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
function
c96553688
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c96553688
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c96553688
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
function
c96553688
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c96965364.lua
View file @
062ea05b
...
...
@@ -26,7 +26,7 @@ function c96965364.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
if
e
:
GetLabel
()
~=
100
then
return
false
end
e
:
SetLabel
(
0
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c96965364
.
cfilter
,
1
,
nil
,
e
,
tp
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
CheckReleaseGroup
(
tp
,
c96965364
.
cfilter
,
1
,
nil
,
e
,
tp
)
end
local
rg
=
Duel
.
SelectReleaseGroup
(
tp
,
c96965364
.
cfilter
,
1
,
1
,
nil
,
e
,
tp
)
e
:
SetLabel
(
rg
:
GetFirst
():
GetLevel
())
...
...
script/c97151365.lua
View file @
062ea05b
...
...
@@ -42,7 +42,8 @@ function c97151365.filter(c,e,tp,lv)
return
c
:
IsLevelBelow
(
lv
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c97151365
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c97151365
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
,
e
:
GetHandler
():
GetCounter
(
0x1e
))
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c97151365
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
,
e
:
GetHandler
():
GetCounter
(
0x1e
))
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
function
c97151365
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c9718968.lua
View file @
062ea05b
...
...
@@ -16,5 +16,5 @@ end
function
c9718968
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
return
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c9718968
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c9718968
.
cfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
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