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
8a1ab435
Commit
8a1ab435
authored
Sep 29, 2019
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #1220
parent
701cb310
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
7 deletions
+7
-7
c12219047.lua
c12219047.lua
+1
-1
c47387961.lua
c47387961.lua
+1
-1
c51570882.lua
c51570882.lua
+1
-1
c75130221.lua
c75130221.lua
+1
-1
c90036274.lua
c90036274.lua
+1
-1
c93356623.lua
c93356623.lua
+1
-1
c99185129.lua
c99185129.lua
+1
-1
No files found.
c12219047.lua
View file @
8a1ab435
...
...
@@ -31,7 +31,7 @@ function c12219047.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c12219047
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
(
c
:
IsAttack
(
0
)
and
c
:
IsDisabled
(
))
return
c
:
IsFaceup
()
and
(
c
:
IsAttackAbove
(
1
)
or
aux
.
disfilter1
(
c
))
end
function
c12219047
.
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
c12219047
.
filter
(
chkc
)
end
...
...
c47387961.lua
View file @
8a1ab435
...
...
@@ -17,7 +17,7 @@ function c47387961.initial_effect(c)
end
c47387961
.
xyz_number
=
8
function
c47387961
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
(
c
:
IsAttackAbove
(
1
)
or
aux
.
disfilter1
(
c
))
end
function
c47387961
.
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
c47387961
.
filter
(
chkc
)
end
...
...
c51570882.lua
View file @
8a1ab435
...
...
@@ -39,7 +39,7 @@ function c51570882.splimit(e,se,sp,st)
return
not
e
:
GetHandler
():
IsLocation
(
LOCATION_EXTRA
)
or
aux
.
fuslimit
(
e
,
se
,
sp
,
st
)
end
function
c51570882
.
disfilter
(
c
)
return
c
:
IsFaceup
()
and
not
(
c
:
IsAttack
(
0
)
and
c
:
IsDisabled
(
))
return
c
:
IsFaceup
()
and
(
c
:
IsAttackAbove
(
1
)
or
aux
.
disfilter1
(
c
))
end
function
c51570882
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c51570882
.
disfilter
(
chkc
)
end
...
...
c75130221.lua
View file @
8a1ab435
...
...
@@ -38,7 +38,7 @@ function c75130221.discon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
+
LOCATION_HAND
)
and
r
==
REASON_LINK
and
c
:
GetReasonCard
():
IsSetCard
(
0x101
)
end
function
c75130221
.
disfilter
(
c
)
return
c
:
IsFaceup
()
and
not
(
c
:
IsAttack
(
0
)
and
c
:
IsDisabled
(
))
return
c
:
IsFaceup
()
and
(
c
:
IsAttackAbove
(
1
)
or
aux
.
disfilter1
(
c
))
end
function
c75130221
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c75130221
.
disfilter
(
chkc
)
end
...
...
c90036274.lua
View file @
8a1ab435
...
...
@@ -71,7 +71,7 @@ function c90036274.discon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
()
end
function
c90036274
.
disfilter
(
c
)
return
c
:
GetSummonLocation
()
==
LOCATION_EXTRA
and
not
(
c
:
IsAttack
(
0
)
and
c
:
IsDisabled
(
))
return
c
:
IsFaceup
()
and
c
:
GetSummonLocation
()
==
LOCATION_EXTRA
and
(
c
:
IsAttackAbove
(
1
)
or
aux
.
disfilter1
(
c
))
end
function
c90036274
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
and
c90036274
.
disfilter
(
chkc
)
end
...
...
c93356623.lua
View file @
8a1ab435
...
...
@@ -21,7 +21,7 @@ function c93356623.condition(e,tp,eg,ep,ev,re,r,rp)
and
(
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
())
end
function
c93356623
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
(
c
:
IsAttack
(
0
)
and
c
:
IsDefense
(
0
)
and
c
:
IsDisabled
(
))
return
c
:
IsFaceup
()
and
(
c
:
IsAttackAbove
(
1
)
or
c
:
IsDefenseAbove
(
1
)
or
aux
.
disfilter1
(
c
))
end
function
c93356623
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c93356623
.
filter
(
chkc
)
end
...
...
c99185129.lua
View file @
8a1ab435
...
...
@@ -58,7 +58,7 @@ function c99185129.condition(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
()
end
function
c99185129
.
filter
(
c
)
return
c
:
GetSummonLocation
()
==
LOCATION_EXTRA
and
not
(
c
:
IsAttack
(
0
)
and
c
:
IsDisabled
(
))
return
c
:
IsFaceup
()
and
c
:
GetSummonLocation
()
==
LOCATION_EXTRA
and
(
c
:
IsAttackAbove
(
1
)
or
aux
.
disfilter1
(
c
))
end
function
c99185129
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c99185129
.
filter
(
chkc
)
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