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
List
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
八宫一月
ygopro-scripts
Commits
996d1e1f
Commit
996d1e1f
authored
Aug 01, 2017
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
8b2019d3
Changes
41
Hide whitespace changes
Inline
Side-by-side
Showing
41 changed files
with
41 additions
and
41 deletions
+41
-41
c11613567.lua
c11613567.lua
+1
-1
c12800777.lua
c12800777.lua
+1
-1
c22790789.lua
c22790789.lua
+1
-1
c23874409.lua
c23874409.lua
+1
-1
c2519690.lua
c2519690.lua
+1
-1
c25262697.lua
c25262697.lua
+1
-1
c25652655.lua
c25652655.lua
+1
-1
c25880422.lua
c25880422.lua
+1
-1
c26533075.lua
c26533075.lua
+1
-1
c33245030.lua
c33245030.lua
+1
-1
c36033786.lua
c36033786.lua
+1
-1
c37993923.lua
c37993923.lua
+1
-1
c39751093.lua
c39751093.lua
+1
-1
c40619741.lua
c40619741.lua
+1
-1
c42647539.lua
c42647539.lua
+1
-1
c4417407.lua
c4417407.lua
+1
-1
c47579719.lua
c47579719.lua
+1
-1
c50122883.lua
c50122883.lua
+1
-1
c50896944.lua
c50896944.lua
+1
-1
c52551211.lua
c52551211.lua
+1
-1
c55106249.lua
c55106249.lua
+1
-1
c55470553.lua
c55470553.lua
+1
-1
c58464739.lua
c58464739.lua
+1
-1
c58569561.lua
c58569561.lua
+1
-1
c58859575.lua
c58859575.lua
+1
-1
c60410769.lua
c60410769.lua
+1
-1
c60950180.lua
c60950180.lua
+1
-1
c61864793.lua
c61864793.lua
+1
-1
c66506689.lua
c66506689.lua
+1
-1
c66625883.lua
c66625883.lua
+1
-1
c67270095.lua
c67270095.lua
+1
-1
c68215963.lua
c68215963.lua
+1
-1
c69514125.lua
c69514125.lua
+1
-1
c73652465.lua
c73652465.lua
+1
-1
c7541475.lua
c7541475.lua
+1
-1
c76520646.lua
c76520646.lua
+1
-1
c84243274.lua
c84243274.lua
+1
-1
c9109991.lua
c9109991.lua
+1
-1
c96146814.lua
c96146814.lua
+1
-1
c97362768.lua
c97362768.lua
+1
-1
c98045062.lua
c98045062.lua
+1
-1
No files found.
c11613567.lua
View file @
996d1e1f
...
...
@@ -28,7 +28,7 @@ function c11613567.ntcon(e,c,minc)
and
Duel
.
IsExistingMatchingCard
(
c11613567
.
ntfilter
,
c
:
GetControler
(),
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c11613567
.
filter
(
c
)
return
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsCanChangePosition
(
)
end
function
c11613567
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c11613567
.
filter
(
chkc
)
end
...
...
c12800777.lua
View file @
996d1e1f
...
...
@@ -41,7 +41,7 @@ function c12800777.poscon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetTurnPlayer
()
~=
tp
end
function
c12800777
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsFaceup
()
and
c
:
IsCanChangePosition
(
)
end
function
c12800777
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c12800777
.
filter
(
chkc
)
end
...
...
c22790789.lua
View file @
996d1e1f
...
...
@@ -78,7 +78,7 @@ function c22790789.desop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c22790789
.
filter
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsCanChangePosition
(
)
end
function
c22790789
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c22790789
.
filter
(
chkc
)
end
...
...
c23874409.lua
View file @
996d1e1f
...
...
@@ -45,7 +45,7 @@ function c23874409.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c23874409
.
filter
(
c
)
return
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsCanChangePosition
(
)
end
function
c23874409
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c23874409
.
filter
(
chkc
)
end
...
...
c2519690.lua
View file @
996d1e1f
...
...
@@ -48,7 +48,7 @@ function c2519690.thop(e,tp,eg,ep,ev,re,r,rp)
end
function
c2519690
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
d
=
Duel
.
GetAttackTarget
()
if
chk
==
0
then
return
d
and
d
:
IsControler
(
1
-
tp
)
and
not
d
:
IsType
(
TYPE_LINK
)
end
if
chk
==
0
then
return
d
and
d
:
IsControler
(
1
-
tp
)
and
d
:
IsCanChangePosition
(
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
d
,
1
,
0
,
0
)
end
function
c2519690
.
posop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c25262697.lua
View file @
996d1e1f
...
...
@@ -16,7 +16,7 @@ function c25262697.poscon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsEnvironment
(
47355498
)
end
function
c25262697
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsFaceup
()
and
c
:
IsCanChangePosition
(
)
end
function
c25262697
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c25262697
.
filter
(
chkc
)
end
...
...
c25652655.lua
View file @
996d1e1f
...
...
@@ -16,7 +16,7 @@ function c25652655.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
r
==
REASON_SYNCHRO
end
function
c25652655
.
filter
(
c
)
return
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsCanChangePosition
(
)
end
function
c25652655
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c25652655
.
filter
(
chkc
)
end
...
...
c25880422.lua
View file @
996d1e1f
...
...
@@ -11,7 +11,7 @@ function c25880422.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c25880422
.
filter
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsCanChangePosition
(
)
end
function
c25880422
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c25880422
.
filter
(
chkc
)
end
...
...
c26533075.lua
View file @
996d1e1f
...
...
@@ -28,7 +28,7 @@ end
function
c26533075
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
tg
=
Duel
.
GetAttacker
()
if
chkc
then
return
chkc
==
tg
end
if
chk
==
0
then
return
tg
:
IsOnField
()
and
not
tg
:
IsType
(
TYPE_LINK
)
and
tg
:
IsCanBeEffectTarget
(
e
)
end
if
chk
==
0
then
return
tg
:
IsOnField
()
and
tg
:
IsCanChangePosition
(
)
and
tg
:
IsCanBeEffectTarget
(
e
)
end
Duel
.
SetTargetCard
(
tg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
tg
,
1
,
0
,
0
)
end
...
...
c33245030.lua
View file @
996d1e1f
...
...
@@ -28,7 +28,7 @@ end
function
c33245030
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
at
=
Duel
.
GetAttacker
()
return
at
:
IsAttackPos
()
and
not
at
:
IsType
(
TYPE_LINK
)
return
at
:
IsAttackPos
()
and
at
:
IsCanChangePosition
(
)
end
end
function
c33245030
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c36033786.lua
View file @
996d1e1f
...
...
@@ -13,7 +13,7 @@ function c36033786.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c36033786
.
posfilter
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsCanChangePosition
(
)
end
function
c36033786
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c36033786
.
posfilter
(
chkc
)
end
...
...
c37993923.lua
View file @
996d1e1f
...
...
@@ -42,7 +42,7 @@ function c37993923.condition2(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c37993923
.
filter
(
c
)
return
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsCanChangePosition
(
)
end
function
c37993923
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c37993923
.
filter
(
chkc
)
end
...
...
c39751093.lua
View file @
996d1e1f
...
...
@@ -24,7 +24,7 @@ function c39751093.initial_effect(c)
c
:
RegisterEffect
(
e5
)
end
function
c39751093
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsFaceup
()
and
c
:
IsCanChangePosition
(
)
end
function
c39751093
.
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
c39751093
.
filter
(
chkc
)
end
...
...
c40619741.lua
View file @
996d1e1f
...
...
@@ -12,7 +12,7 @@ function c40619741.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c40619741
.
filter
(
c
)
return
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsCanChangePosition
(
)
end
function
c40619741
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c40619741
.
filter
(
chkc
)
end
...
...
c42647539.lua
View file @
996d1e1f
...
...
@@ -18,7 +18,7 @@ function c42647539.initial_effect(c)
c
:
RegisterEffect
(
e3
)
end
function
c42647539
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsFaceup
()
and
c
:
IsCanChangePosition
(
)
end
function
c42647539
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c42647539
.
filter
(
chkc
)
end
...
...
c4417407.lua
View file @
996d1e1f
...
...
@@ -69,7 +69,7 @@ function c4417407.poscost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c4417407
.
filter
(
c
)
return
not
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
and
not
c
:
IsType
(
TYPE_LINK
)
return
not
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
and
c
:
IsCanChangePosition
(
)
end
function
c4417407
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c4417407
.
filter
(
chkc
)
end
...
...
c47579719.lua
View file @
996d1e1f
...
...
@@ -20,7 +20,7 @@ function c47579719.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c47579719
.
filter
(
c
)
return
not
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
and
not
c
:
IsType
(
TYPE_LINK
)
return
not
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
and
c
:
IsCanChangePosition
(
)
end
function
c47579719
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c47579719
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
...
...
c50122883.lua
View file @
996d1e1f
...
...
@@ -11,7 +11,7 @@ function c50122883.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c50122883
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsFaceup
()
and
c
:
IsCanChangePosition
(
)
end
function
c50122883
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c50122883
.
filter
(
chkc
)
end
...
...
c50896944.lua
View file @
996d1e1f
...
...
@@ -12,7 +12,7 @@ function c50896944.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c50896944
.
filter
(
c
)
return
not
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
and
not
c
:
IsType
(
TYPE_LINK
)
return
not
c
:
IsPosition
(
POS_FACEUP_DEFENSE
)
and
c
:
IsCanChangePosition
(
)
end
function
c50896944
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c50896944
.
filter
(
chkc
)
end
...
...
c52551211.lua
View file @
996d1e1f
...
...
@@ -43,7 +43,7 @@ function c52551211.poscon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
)
end
function
c52551211
.
posfilter
(
c
)
return
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsCanChangePosition
(
)
end
function
c52551211
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c52551211
.
posfilter
(
chkc
)
end
...
...
c55106249.lua
View file @
996d1e1f
...
...
@@ -47,7 +47,7 @@ function c55106249.splimit(e,c,tp,sumtp,sumpos)
return
not
c
:
IsSetCard
(
0xab
)
and
bit
.
band
(
sumtp
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
function
c55106249
.
filter
(
c
)
return
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsCanChangePosition
(
)
end
function
c55106249
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c55106249
.
filter
(
chkc
)
end
...
...
c55470553.lua
View file @
996d1e1f
...
...
@@ -36,7 +36,7 @@ end
function
c55470553
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
local
at
=
Duel
.
GetAttacker
()
return
at
:
IsAttackPos
()
and
not
at
:
IsType
(
TYPE_LINK
)
return
at
:
IsAttackPos
()
and
at
:
IsCanChangePosition
(
)
end
end
function
c55470553
.
posop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c58464739.lua
View file @
996d1e1f
...
...
@@ -17,7 +17,7 @@ function c58464739.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsExistingMatchingCard
(
c58464739
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c58464739
.
filter
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsCanChangePosition
(
)
end
function
c58464739
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
c58569561.lua
View file @
996d1e1f
...
...
@@ -49,7 +49,7 @@ function c58569561.poscon(e,tp,eg,ep,ev,re,r,rp)
return
ep
==
tp
end
function
c58569561
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsFaceup
()
and
c
:
IsCanChangePosition
(
)
end
function
c58569561
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c58569561
.
filter
(
chkc
)
end
...
...
c58859575.lua
View file @
996d1e1f
...
...
@@ -66,7 +66,7 @@ function c58859575.poscost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
function
c58859575
.
filter
(
c
)
return
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsCanChangePosition
(
)
end
function
c58859575
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c58859575
.
filter
(
chkc
)
end
...
...
c60410769.lua
View file @
996d1e1f
...
...
@@ -13,7 +13,7 @@ function c60410769.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c60410769
.
filter
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsCanChangePosition
(
)
end
function
c60410769
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c60410769
.
filter
(
chkc
)
end
...
...
c60950180.lua
View file @
996d1e1f
...
...
@@ -43,7 +43,7 @@ function c60950180.poscon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
GetFlagEffect
(
60950180
)
>
0
end
function
c60950180
.
filter
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsCanChangePosition
(
)
end
function
c60950180
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c60950180
.
filter
(
chkc
)
end
...
...
c61864793.lua
View file @
996d1e1f
...
...
@@ -18,7 +18,7 @@ function c61864793.poscon(e,tp,eg,ep,ev,re,r,rp)
return
not
c
:
IsStatus
(
STATUS_CONTINUOUS_POS
)
and
((
np
<
3
and
pp
>
3
)
or
(
pp
<
3
and
np
>
3
))
end
function
c61864793
.
filter
(
c
)
return
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsCanChangePosition
(
)
end
function
c61864793
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c61864793
.
filter
(
chkc
)
end
...
...
c66506689.lua
View file @
996d1e1f
...
...
@@ -23,7 +23,7 @@ function c66506689.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c66506689
.
filter
(
c
)
return
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsCanChangePosition
(
)
end
function
c66506689
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c66506689
.
filter
(
chkc
)
end
...
...
c66625883.lua
View file @
996d1e1f
...
...
@@ -38,7 +38,7 @@ function c66625883.posop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c66625883
.
filter
(
c
)
return
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsCanChangePosition
(
)
end
function
c66625883
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c66625883
.
filter
(
chkc
)
end
...
...
c67270095.lua
View file @
996d1e1f
...
...
@@ -26,7 +26,7 @@ end
function
c67270095
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
d
=
Duel
.
GetAttackTarget
()
if
chkc
then
return
chkc
==
d
end
if
chk
==
0
then
return
d
and
d
:
IsAttackPos
()
and
not
d
:
IsType
(
TYPE_LINK
)
and
d
:
IsCanBeEffectTarget
(
e
)
end
if
chk
==
0
then
return
d
and
d
:
IsAttackPos
()
and
d
:
IsCanChangePosition
(
)
and
d
:
IsCanBeEffectTarget
(
e
)
end
Duel
.
SetTargetCard
(
d
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
d
,
1
,
0
,
0
)
end
...
...
c68215963.lua
View file @
996d1e1f
...
...
@@ -36,7 +36,7 @@ function c68215963.repop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RaiseEvent
(
c
,
EVENT_CUSTOM
+
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
function
c68215963
.
filter
(
c
)
return
c
:
IsAttackPos
()
and
c
:
GetAttackedCount
()
>
0
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsAttackPos
()
and
c
:
GetAttackedCount
()
>
0
and
c
:
IsCanChangePosition
(
)
end
function
c68215963
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c68215963
.
filter
(
chkc
)
end
...
...
c69514125.lua
View file @
996d1e1f
...
...
@@ -21,7 +21,7 @@ function c69514125.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c69514125
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsFaceup
()
and
c
:
IsCanChangePosition
(
)
end
function
c69514125
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c69514125
.
filter
(
chkc
)
end
...
...
c73652465.lua
View file @
996d1e1f
...
...
@@ -33,7 +33,7 @@ function c73652465.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
r
==
REASON_SYNCHRO
end
function
c73652465
.
posfilter
(
c
)
return
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsCanChangePosition
(
)
end
function
c73652465
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c73652465
.
posfilter
(
chkc
)
end
...
...
c7541475.lua
View file @
996d1e1f
...
...
@@ -14,7 +14,7 @@ function c7541475.initial_effect(c)
end
function
c7541475
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
d
=
Duel
.
GetAttackTarget
()
if
chk
==
0
then
return
d
and
d
:
GetControler
()
~=
Duel
.
GetAttacker
():
GetControler
()
and
not
d
:
IsType
(
TYPE_LINK
)
end
if
chk
==
0
then
return
d
and
d
:
GetControler
()
~=
Duel
.
GetAttacker
():
GetControler
()
and
d
:
IsCanChangePosition
(
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
d
,
1
,
0
,
0
)
end
function
c7541475
.
posop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
c76520646.lua
View file @
996d1e1f
...
...
@@ -14,7 +14,7 @@ function c76520646.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c76520646
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsFaceup
()
and
c
:
IsCanChangePosition
(
)
end
function
c76520646
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
1
-
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c76520646
.
filter
(
chkc
)
end
...
...
c84243274.lua
View file @
996d1e1f
...
...
@@ -87,7 +87,7 @@ end
function
c84243274
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
local
bc
=
Duel
.
GetAttackTarget
()
if
chk
==
0
then
return
bc
and
not
bc
:
IsType
(
TYPE_LINK
)
and
bc
:
IsCanBeEffectTarget
(
e
)
end
if
chk
==
0
then
return
bc
and
bc
:
IsCanChangePosition
(
)
and
bc
:
IsCanBeEffectTarget
(
e
)
end
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_POSITION
,
bc
,
1
,
0
,
0
)
end
...
...
c9109991.lua
View file @
996d1e1f
...
...
@@ -21,7 +21,7 @@ function c9109991.condition(e,tp,eg,ep,ev,re,r,rp)
return
ep
~=
tp
and
Duel
.
GetAttackTarget
()
==
nil
end
function
c9109991
.
filter
(
c
)
return
c
:
IsAttackPos
()
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsAttackPos
()
and
c
:
IsCanChangePosition
(
)
end
function
c9109991
.
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
c9109991
.
filter
(
chkc
)
end
...
...
c96146814.lua
View file @
996d1e1f
...
...
@@ -13,7 +13,7 @@ function c96146814.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c96146814
.
filter
(
c
)
return
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsCanChangePosition
(
)
end
function
c96146814
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c96146814
.
filter
(
chkc
)
end
...
...
c97362768.lua
View file @
996d1e1f
...
...
@@ -49,7 +49,7 @@ function c97362768.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c97362768
.
posfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsFaceup
()
and
c
:
IsCanChangePosition
(
)
end
function
c97362768
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c97362768
.
posfilter
(
chkc
)
end
...
...
c98045062.lua
View file @
996d1e1f
...
...
@@ -17,7 +17,7 @@ function c98045062.cost(e,tp,eg,ep,ev,re,r,rp,chk)
return
true
end
function
c98045062
.
filter1
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsType
(
TYPE_LINK
)
return
c
:
IsFaceup
()
and
c
:
IsCanChangePosition
(
)
end
function
c98045062
.
filter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsControlerCanBeChanged
(
true
)
...
...
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