Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
9c402738
Commit
9c402738
authored
Jun 12, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
f67a7cb5
Changes
49
Hide whitespace changes
Inline
Side-by-side
Showing
49 changed files
with
50 additions
and
52 deletions
+50
-52
c22888900.lua
c22888900.lua
+2
-4
c26842483.lua
c26842483.lua
+1
-1
c32207100.lua
c32207100.lua
+1
-1
c3536537.lua
c3536537.lua
+1
-1
c35494087.lua
c35494087.lua
+1
-1
c41855169.lua
c41855169.lua
+1
-1
c42009836.lua
c42009836.lua
+1
-1
c42679662.lua
c42679662.lua
+1
-1
c45591967.lua
c45591967.lua
+1
-1
c47395382.lua
c47395382.lua
+1
-1
c48179391.lua
c48179391.lua
+1
-1
c48716527.lua
c48716527.lua
+1
-1
c50155385.lua
c50155385.lua
+1
-1
c51945556.lua
c51945556.lua
+1
-1
c52687916.lua
c52687916.lua
+1
-1
c52709508.lua
c52709508.lua
+1
-1
c53389254.lua
c53389254.lua
+1
-1
c56768355.lua
c56768355.lua
+1
-1
c57288708.lua
c57288708.lua
+1
-1
c5795980.lua
c5795980.lua
+1
-1
c60800381.lua
c60800381.lua
+1
-1
c61757117.lua
c61757117.lua
+1
-1
c62242678.lua
c62242678.lua
+1
-1
c62473983.lua
c62473983.lua
+1
-1
c63101919.lua
c63101919.lua
+1
-1
c63821877.lua
c63821877.lua
+1
-1
c66141736.lua
c66141736.lua
+1
-1
c66698383.lua
c66698383.lua
+1
-1
c66976526.lua
c66976526.lua
+1
-1
c67120578.lua
c67120578.lua
+1
-1
c67556500.lua
c67556500.lua
+1
-1
c68124775.lua
c68124775.lua
+1
-1
c68371799.lua
c68371799.lua
+1
-1
c68477598.lua
c68477598.lua
+1
-1
c68543408.lua
c68543408.lua
+1
-1
c69230391.lua
c69230391.lua
+1
-1
c69327790.lua
c69327790.lua
+1
-1
c72497366.lua
c72497366.lua
+1
-1
c73125233.lua
c73125233.lua
+1
-1
c73580471.lua
c73580471.lua
+1
-1
c77428945.lua
c77428945.lua
+1
-1
c78637313.lua
c78637313.lua
+1
-1
c82293134.lua
c82293134.lua
+1
-1
c83266092.lua
c83266092.lua
+1
-1
c87602890.lua
c87602890.lua
+1
-1
c90122655.lua
c90122655.lua
+1
-1
c91468551.lua
c91468551.lua
+1
-1
c93157004.lua
c93157004.lua
+1
-1
c99214782.lua
c99214782.lua
+1
-1
No files found.
c22888900.lua
View file @
9c402738
...
@@ -9,10 +9,8 @@ function c22888900.initial_effect(c)
...
@@ -9,10 +9,8 @@ function c22888900.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c22888900
.
cfilter
(
c
)
function
c22888900
.
cfilter
(
c
)
local
sumtype
=
c
:
GetSummonType
()
return
c
:
IsFaceup
()
return
c
:
IsFaceup
()
and
(
bit
.
band
(
sumtype
,
SUMMON_TYPE_ADVANCE
)
==
SUMMON_TYPE_ADVANCE
and
(
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
or
c
:
IsSummonType
(
SUMMON_TYPE_RITUAL
)
or
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
))
or
bit
.
band
(
sumtype
,
SUMMON_TYPE_RITUAL
)
==
SUMMON_TYPE_RITUAL
or
bit
.
band
(
sumtype
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
)
end
end
function
c22888900
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c22888900
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c22888900
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c22888900
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
...
...
c26842483.lua
View file @
9c402738
...
@@ -17,7 +17,7 @@ end
...
@@ -17,7 +17,7 @@ end
function
c26842483
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c26842483
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
return
ep
~=
tp
and
loc
==
LOCATION_MZONE
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
return
ep
~=
tp
and
loc
==
LOCATION_MZONE
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
Duel
.
IsChainNegatable
(
ev
)
and
bit
.
band
(
re
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
~=
0
and
re
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
end
end
function
c26842483
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c26842483
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c32207100.lua
View file @
9c402738
...
@@ -19,7 +19,7 @@ function c32207100.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -19,7 +19,7 @@ function c32207100.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
c32207100
.
filter
(
c
)
function
c32207100
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
7
)
and
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
~=
0
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
7
)
and
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
c
:
IsAbleToHand
()
end
end
function
c32207100
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c32207100
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c32207100
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c32207100
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
...
...
c3536537.lua
View file @
9c402738
...
@@ -18,7 +18,7 @@ function c3536537.descon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -18,7 +18,7 @@ function c3536537.descon(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
end
end
function
c3536537
.
filter
(
c
)
function
c3536537
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
5
)
and
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
~=
0
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
5
)
and
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
end
end
function
c3536537
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c3536537
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c3536537
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c3536537
.
filter
(
chkc
)
end
...
...
c35494087.lua
View file @
9c402738
...
@@ -47,7 +47,7 @@ function c35494087.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function c35494087.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c35494087
.
indval
(
e
,
c
)
function
c35494087
.
indval
(
e
,
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
~=
0
return
c
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
end
end
function
c35494087
.
sdfilter
(
c
)
function
c35494087
.
sdfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsSetCard
(
0x2016
)
return
c
:
IsFaceup
()
and
not
c
:
IsSetCard
(
0x2016
)
...
...
c41855169.lua
View file @
9c402738
...
@@ -29,7 +29,7 @@ function c41855169.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -29,7 +29,7 @@ function c41855169.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SendtoGrave
(
sg
,
REASON_COST
+
REASON_DISCARD
)
Duel
.
SendtoGrave
(
sg
,
REASON_COST
+
REASON_DISCARD
)
end
end
function
c41855169
.
filter
(
c
)
function
c41855169
.
filter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
~=
0
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
end
end
function
c41855169
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c41855169
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c41855169
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c41855169
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
...
...
c42009836.lua
View file @
9c402738
...
@@ -19,7 +19,7 @@ function c42009836.initial_effect(c)
...
@@ -19,7 +19,7 @@ function c42009836.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c42009836
.
filter
(
c
)
function
c42009836
.
filter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
~=
0
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
end
end
function
c42009836
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c42009836
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c42679662.lua
View file @
9c402738
...
@@ -11,7 +11,7 @@ function c42679662.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c42679662.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c42679662
.
filter
(
c
)
function
c42679662
.
filter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
~=
0
and
c
:
IsAbleToDeck
()
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
c
:
IsAbleToDeck
()
end
end
function
c42679662
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c42679662
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c42679662
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c42679662
.
filter
(
chkc
)
end
...
...
c45591967.lua
View file @
9c402738
...
@@ -28,7 +28,7 @@ function c45591967.initial_effect(c)
...
@@ -28,7 +28,7 @@ function c45591967.initial_effect(c)
Duel
.
AddCustomActivityCounter
(
45591967
,
ACTIVITY_SPSUMMON
,
c45591967
.
counterfilter
)
Duel
.
AddCustomActivityCounter
(
45591967
,
ACTIVITY_SPSUMMON
,
c45591967
.
counterfilter
)
end
end
function
c45591967
.
counterfilter
(
c
)
function
c45591967
.
counterfilter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_PENDULUM
)
~=
SUMMON_TYPE_PENDULUM
return
not
c
:
IsSummonType
(
SUMMON_TYPE_PENDULUM
)
end
end
function
c45591967
.
dmcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c45591967
.
dmcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
45591967
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
45591967
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
...
...
c47395382.lua
View file @
9c402738
...
@@ -16,7 +16,7 @@ function c47395382.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c47395382.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c47395382
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c47395382
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c47395382
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c47395382
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
...
...
c48179391.lua
View file @
9c402738
...
@@ -50,7 +50,7 @@ function c48179391.actcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -50,7 +50,7 @@ function c48179391.actcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterFlagEffect
(
tp
,
48179391
,
0
,
0
,
0
)
Duel
.
RegisterFlagEffect
(
tp
,
48179391
,
0
,
0
,
0
)
end
end
function
c48179391
.
desfilter
(
c
)
function
c48179391
.
desfilter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
~=
0
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
end
end
function
c48179391
.
acttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c48179391
.
acttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c48716527.lua
View file @
9c402738
...
@@ -32,7 +32,7 @@ function c48716527.actcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -32,7 +32,7 @@ function c48716527.actcon(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
IsExistingMatchingCard
(
c48716527
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c48716527
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
c48716527
.
distg
(
e
,
c
)
function
c48716527
.
distg
(
e
,
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_ADVANCE
)
~=
SUMMON_TYPE_ADVANCE
return
not
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
end
function
c48716527
.
tgcon
(
e
)
function
c48716527
.
tgcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
local
tp
=
e
:
GetHandlerPlayer
()
...
...
c50155385.lua
View file @
9c402738
...
@@ -24,7 +24,7 @@ function c50155385.valcon(e,re,r,rp)
...
@@ -24,7 +24,7 @@ function c50155385.valcon(e,re,r,rp)
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
return
bit
.
band
(
r
,
REASON_BATTLE
)
~=
0
end
end
function
c50155385
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c50155385
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_PENDULUM
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_PENDULUM
)
end
end
function
c50155385
.
filter
(
c
)
function
c50155385
.
filter
(
c
)
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsAbleToHand
()
return
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsAbleToHand
()
...
...
c51945556.lua
View file @
9c402738
...
@@ -13,7 +13,7 @@ function c51945556.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c51945556.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c51945556
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c51945556
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
end
function
c51945556
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c51945556
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
...
...
c52687916.lua
View file @
9c402738
...
@@ -15,7 +15,7 @@ function c52687916.initial_effect(c)
...
@@ -15,7 +15,7 @@ function c52687916.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c52687916
.
remcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c52687916
.
remcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c52687916
.
remtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c52687916
.
remtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
0x1e
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
0x1e
,
1
,
nil
)
end
...
...
c52709508.lua
View file @
9c402738
...
@@ -32,7 +32,7 @@ function c52709508.valcheck(e,c)
...
@@ -32,7 +32,7 @@ function c52709508.valcheck(e,c)
e
:
SetLabel
(
att
)
e
:
SetLabel
(
att
)
end
end
function
c52709508
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c52709508
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
e
:
GetLabelObject
():
GetLabel
()
~=
0
and
e
:
GetLabelObject
():
GetLabel
()
~=
0
end
end
function
c52709508
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c52709508
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c53389254.lua
View file @
9c402738
...
@@ -64,7 +64,7 @@ function c53389254.tnop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,7 +64,7 @@ function c53389254.tnop(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c53389254
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c53389254
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c53389254
.
spfilter
(
c
,
e
,
tp
)
function
c53389254
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x1033
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x1033
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c56768355.lua
View file @
9c402738
...
@@ -25,7 +25,7 @@ function c56768355.initial_effect(c)
...
@@ -25,7 +25,7 @@ function c56768355.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c56768355
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c56768355
.
eqcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c56768355
.
filter
(
c
,
ec
)
function
c56768355
.
filter
(
c
,
ec
)
return
c
:
IsType
(
TYPE_EQUIP
)
and
c
:
CheckEquipTarget
(
ec
)
return
c
:
IsType
(
TYPE_EQUIP
)
and
c
:
CheckEquipTarget
(
ec
)
...
...
c57288708.lua
View file @
9c402738
...
@@ -61,7 +61,7 @@ function c57288708.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -61,7 +61,7 @@ function c57288708.tgop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c57288708
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c57288708
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
==
0
return
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
not
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
end
end
function
c57288708
.
spfilter
(
c
,
e
,
tp
)
function
c57288708
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xfd
)
and
not
c
:
IsCode
(
57288708
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0xfd
)
and
not
c
:
IsCode
(
57288708
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c5795980.lua
View file @
9c402738
...
@@ -26,7 +26,7 @@ function c5795980.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -26,7 +26,7 @@ function c5795980.cost(e,tp,eg,ep,ev,re,r,rp,chk)
return
true
return
true
end
end
function
c5795980
.
cfilter
(
c
,
e
,
dg
)
function
c5795980
.
cfilter
(
c
,
e
,
dg
)
if
c
:
IsFacedown
()
or
not
c
:
IsLevelAbove
(
5
)
or
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
==
0
then
return
false
end
if
c
:
IsFacedown
()
or
not
c
:
IsLevelAbove
(
5
)
or
not
c
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
then
return
false
end
local
a
=
0
local
a
=
0
if
dg
:
IsContains
(
c
)
then
a
=
1
end
if
dg
:
IsContains
(
c
)
then
a
=
1
end
if
c
:
GetEquipCount
()
==
0
then
return
dg
:
GetCount
()
-
a
>=
1
end
if
c
:
GetEquipCount
()
==
0
then
return
dg
:
GetCount
()
-
a
>=
1
end
...
...
c60800381.lua
View file @
9c402738
...
@@ -18,7 +18,7 @@ function c60800381.tfilter(c)
...
@@ -18,7 +18,7 @@ function c60800381.tfilter(c)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
return
c
:
IsCode
(
63977008
)
or
c
:
IsHasEffect
(
20932152
)
end
end
function
c60800381
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c60800381
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c60800381
.
filter
(
c
)
function
c60800381
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelBelow
(
2
)
return
c
:
IsFaceup
()
and
c
:
IsLevelBelow
(
2
)
...
...
c61757117.lua
View file @
9c402738
...
@@ -22,7 +22,7 @@ function c61757117.initial_effect(c)
...
@@ -22,7 +22,7 @@ function c61757117.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c61757117
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c61757117
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_RITUAL
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_RITUAL
)
end
end
function
c61757117
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c61757117
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsFaceup
()
and
chkc
~=
e
:
GetHandler
()
end
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
:
IsFaceup
()
and
chkc
~=
e
:
GetHandler
()
end
...
...
c62242678.lua
View file @
9c402738
...
@@ -173,7 +173,7 @@ function c62242678.synop(e,tp,eg,ep,ev,re,r,rp,c,tuner,mg)
...
@@ -173,7 +173,7 @@ function c62242678.synop(e,tp,eg,ep,ev,re,r,rp,c,tuner,mg)
Duel
.
SendtoGrave
(
g
,
REASON_MATERIAL
+
REASON_SYNCHRO
)
Duel
.
SendtoGrave
(
g
,
REASON_MATERIAL
+
REASON_SYNCHRO
)
end
end
function
c62242678
.
limcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c62242678
.
limcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c62242678
.
limtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c62242678
.
limtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c62473983.lua
View file @
9c402738
...
@@ -20,7 +20,7 @@ function c62473983.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c62473983.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c62473983
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c62473983
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
0xff000000
)
==
SUMMON_TYPE_ADVANCE
return
c
:
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
end
function
c62473983
.
filter
(
c
,
e
,
tp
)
function
c62473983
.
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x2e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x2e
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c63101919.lua
View file @
9c402738
...
@@ -38,7 +38,7 @@ function c63101919.initial_effect(c)
...
@@ -38,7 +38,7 @@ function c63101919.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c63101919
.
addcc1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c63101919
.
addcc1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c63101919
.
addct1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c63101919
.
addct1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c63821877.lua
View file @
9c402738
...
@@ -48,7 +48,7 @@ function c63821877.efop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function c63821877.efop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterFlagEffect
(
p
,
63821877
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
p
,
63821877
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c63821877
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c63821877
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_XYZ
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_XYZ
)
end
end
function
c63821877
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c63821877
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
c66141736.lua
View file @
9c402738
...
@@ -33,7 +33,7 @@ function c66141736.counterfilter(c)
...
@@ -33,7 +33,7 @@ function c66141736.counterfilter(c)
return
c
:
GetSummonLocation
()
~=
LOCATION_EXTRA
or
(
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsRace
(
RACE_DRAGON
))
return
c
:
GetSummonLocation
()
~=
LOCATION_EXTRA
or
(
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
c
:
IsRace
(
RACE_DRAGON
))
end
end
function
c66141736
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c66141736
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c66141736
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c66141736
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
66141736
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
66141736
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
...
...
c66698383.lua
View file @
9c402738
...
@@ -54,7 +54,7 @@ end
...
@@ -54,7 +54,7 @@ end
function
c66698383
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c66698383
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsReason
(
REASON_EFFECT
)
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c66698383
.
thfilter
(
c
)
function
c66698383
.
thfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToHand
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToHand
()
...
...
c66976526.lua
View file @
9c402738
...
@@ -28,7 +28,7 @@ function c66976526.initial_effect(c)
...
@@ -28,7 +28,7 @@ function c66976526.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c66976526
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c66976526
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c66976526
.
spfilter
(
c
,
e
,
tp
)
function
c66976526
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x11
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x11
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c67120578.lua
View file @
9c402738
...
@@ -115,7 +115,7 @@ function c67120578.efop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -115,7 +115,7 @@ function c67120578.efop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c67120578
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c67120578
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_XYZ
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_XYZ
)
end
end
function
c67120578
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c67120578
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c67556500.lua
View file @
9c402738
...
@@ -16,7 +16,7 @@ function c67556500.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c67556500.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c67556500
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c67556500
.
lvcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c67556500
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c67556500
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c68124775.lua
View file @
9c402738
...
@@ -16,7 +16,7 @@ function c68124775.initial_effect(c)
...
@@ -16,7 +16,7 @@ function c68124775.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c68124775
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68124775
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c68124775
.
filter
(
c
)
function
c68124775
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemove
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsAbleToRemove
()
...
...
c68371799.lua
View file @
9c402738
...
@@ -71,7 +71,7 @@ function c68371799.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,7 +71,7 @@ function c68371799.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c68371799
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68371799
.
spcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
end
function
c68371799
.
spfilter
(
c
,
e
,
tp
)
function
c68371799
.
spfilter
(
c
,
e
,
tp
)
return
c
:
GetLevel
()
==
6
and
c
:
IsSetCard
(
0x45
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
return
c
:
GetLevel
()
==
6
and
c
:
IsSetCard
(
0x45
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
)
...
...
c68477598.lua
View file @
9c402738
...
@@ -11,7 +11,7 @@ function c68477598.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c68477598.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c68477598
.
cfilter
(
c
)
function
c68477598
.
cfilter
(
c
)
return
c
:
GetSummonType
()
==
SUMMON_TYPE_PENDULUM
return
c
:
IsSummonType
(
SUMMON_TYPE_PENDULUM
)
end
end
function
c68477598
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68477598
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentChain
()
==
0
and
eg
:
IsExists
(
c68477598
.
cfilter
,
1
,
nil
)
return
Duel
.
GetCurrentChain
()
==
0
and
eg
:
IsExists
(
c68477598
.
cfilter
,
1
,
nil
)
...
...
c68543408.lua
View file @
9c402738
...
@@ -23,7 +23,7 @@ function c68543408.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c68543408.initial_effect(c)
end
end
function
c68543408
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c68543408
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
local
tc
=
eg
:
GetFirst
()
return
tc
:
IsControler
(
tp
)
and
tc
:
IsCode
(
44508094
)
and
tc
:
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
tc
:
IsControler
(
tp
)
and
tc
:
IsCode
(
44508094
)
and
tc
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c68543408
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c68543408
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
c69230391.lua
View file @
9c402738
...
@@ -45,7 +45,7 @@ function c69230391.otop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -45,7 +45,7 @@ function c69230391.otop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
end
function
c69230391
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c69230391
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
end
function
c69230391
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c69230391
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c69327790.lua
View file @
9c402738
...
@@ -46,7 +46,7 @@ function c69327790.otop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -46,7 +46,7 @@ function c69327790.otop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
end
function
c69327790
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c69327790
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
end
function
c69327790
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c69327790
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
...
...
c72497366.lua
View file @
9c402738
...
@@ -35,7 +35,7 @@ end
...
@@ -35,7 +35,7 @@ end
function
c72497366
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c72497366
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
tc
=
eg
:
GetFirst
()
local
tc
=
eg
:
GetFirst
()
if
chk
==
0
then
return
eg
:
GetCount
()
==
1
and
tc
:
IsFaceup
()
and
tc
:
IsLocation
(
LOCATION_MZONE
)
if
chk
==
0
then
return
eg
:
GetCount
()
==
1
and
tc
:
IsFaceup
()
and
tc
:
IsLocation
(
LOCATION_MZONE
)
and
tc
:
IsRace
(
RACE_FIEND
)
and
tc
:
IsLevelAbove
(
5
)
and
bit
.
band
(
tc
:
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
~=
0
end
and
tc
:
IsRace
(
RACE_FIEND
)
and
tc
:
IsLevelAbove
(
5
)
and
tc
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
end
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
72497366
,
1
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
72497366
,
1
))
then
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
return
true
return
true
...
...
c73125233.lua
View file @
9c402738
...
@@ -13,7 +13,7 @@ function c73125233.initial_effect(c)
...
@@ -13,7 +13,7 @@ function c73125233.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c73125233
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73125233
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
end
function
c73125233
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c73125233
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
end
if
chkc
then
return
chkc
:
IsOnField
()
end
...
...
c73580471.lua
View file @
9c402738
...
@@ -27,7 +27,7 @@ function c73580471.initial_effect(c)
...
@@ -27,7 +27,7 @@ function c73580471.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c73580471
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73580471
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c73580471
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c73580471
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
...
...
c77428945.lua
View file @
9c402738
...
@@ -12,7 +12,7 @@ function c77428945.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c77428945.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c77428945
.
filter
(
c
)
function
c77428945
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanTurnSet
()
and
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
~=
0
return
c
:
IsFaceup
()
and
c
:
IsCanTurnSet
()
and
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
end
end
function
c77428945
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c77428945
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c78637313.lua
View file @
9c402738
...
@@ -32,7 +32,7 @@ function c78637313.initial_effect(c)
...
@@ -32,7 +32,7 @@ function c78637313.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c78637313
.
filter
(
c
)
function
c78637313
.
filter
(
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
~=
0
and
c
:
GetReasonEffect
()
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
c
:
GetReasonEffect
()
and
c
:
GetReasonEffect
():
GetHandler
():
IsCode
(
83764718
)
and
c
:
GetReasonEffect
():
GetHandler
():
IsCode
(
83764718
)
end
end
function
c78637313
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c78637313
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c82293134.lua
View file @
9c402738
...
@@ -23,7 +23,7 @@ function c82293134.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c82293134.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c82293134
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c82293134
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
bit
.
band
(
e
:
GetHandler
():
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
~=
0
return
c
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
and
e
:
GetHandler
():
GetTurnID
()
==
Duel
.
GetTurnCount
()
and
e
:
GetHandler
():
GetTurnID
()
==
Duel
.
GetTurnCount
()
end
end
function
c82293134
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c82293134
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c83266092.lua
View file @
9c402738
...
@@ -24,5 +24,5 @@ function c83266092.initial_effect(c)
...
@@ -24,5 +24,5 @@ function c83266092.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c83266092
.
target
(
e
,
c
)
function
c83266092
.
target
(
e
,
c
)
return
c
:
GetLevel
()
>=
6
and
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
~=
0
return
c
:
GetLevel
()
>=
6
and
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
end
end
c87602890.lua
View file @
9c402738
...
@@ -46,7 +46,7 @@ function c87602890.otop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -46,7 +46,7 @@ function c87602890.otop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
end
function
c87602890
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c87602890
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_ADVANCE
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_ADVANCE
)
end
end
function
c87602890
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c87602890
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
end
...
...
c90122655.lua
View file @
9c402738
...
@@ -11,7 +11,7 @@ end
...
@@ -11,7 +11,7 @@ end
function
c90122655
.
chainop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c90122655
.
chainop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
local
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_LOCATION
)
if
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
==
LOCATION_MZONE
and
bit
.
band
(
rc
:
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
~=
0
then
if
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
==
LOCATION_MZONE
and
rc
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
then
Duel
.
SetChainLimit
(
c90122655
.
chainlm
)
Duel
.
SetChainLimit
(
c90122655
.
chainlm
)
end
end
end
end
...
...
c91468551.lua
View file @
9c402738
...
@@ -16,5 +16,5 @@ function c91468551.initial_effect(c)
...
@@ -16,5 +16,5 @@ function c91468551.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c91468551
.
atktg
(
e
,
c
)
function
c91468551
.
atktg
(
e
,
c
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
~=
0
and
c
:
GetSummonLocation
()
==
LOCATION_GRAVE
return
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
and
c
:
GetSummonLocation
()
==
LOCATION_GRAVE
end
end
c93157004.lua
View file @
9c402738
...
@@ -204,7 +204,7 @@ function c93157004.descon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -204,7 +204,7 @@ function c93157004.descon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
end
function
c93157004
.
desfilter
(
c
)
function
c93157004
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_NORMAL
)
~=
0
return
c
:
IsFaceup
()
and
c
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
end
end
function
c93157004
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c93157004
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
...
...
c99214782.lua
View file @
9c402738
...
@@ -14,5 +14,5 @@ function c99214782.condition(e)
...
@@ -14,5 +14,5 @@ function c99214782.condition(e)
return
e
:
GetHandler
():
IsAttackPos
()
return
e
:
GetHandler
():
IsAttackPos
()
end
end
function
c99214782
.
target
(
e
,
c
)
function
c99214782
.
target
(
e
,
c
)
return
c
:
GetLevel
()
>=
5
and
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
~=
0
return
c
:
GetLevel
()
>=
5
and
c
:
IsSummonType
(
SUMMON_TYPE_SPECIAL
)
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