Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
Vee4
ygopro-scripts-888
Commits
1215d102
Commit
1215d102
authored
Jan 23, 2022
by
Chrono-Genex
Committed by
GitHub
Jan 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#1799)
parent
f13aab93
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
c36092504.lua
c36092504.lua
+5
-5
No files found.
c36092504.lua
View file @
1215d102
...
@@ -23,7 +23,7 @@ function c36092504.lmfilter(c)
...
@@ -23,7 +23,7 @@ function c36092504.lmfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsAttackAbove
(
3000
)
return
c
:
IsFaceup
()
and
c
:
IsAttackAbove
(
3000
)
end
end
function
c36092504
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c36092504
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g1
=
Duel
.
GetMatchingGroup
(
c36092504
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c36092504
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_EXTRA
+
LOCATION_GRAVE
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_EXTRA
+
LOCATION_GRAVE
,
nil
)
if
chk
==
0
then
return
(
g1
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_FUSION
)
and
g2
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_MZONE
))
if
chk
==
0
then
return
(
g1
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_FUSION
)
and
g2
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_MZONE
))
or
(
g1
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_SYNCHRO
)
and
g2
:
IsExists
(
c36092504
.
rmfilter1
,
3
,
nil
))
or
(
g1
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_SYNCHRO
)
and
g2
:
IsExists
(
c36092504
.
rmfilter1
,
3
,
nil
))
...
@@ -37,7 +37,7 @@ function c36092504.chainlm(e,rp,tp)
...
@@ -37,7 +37,7 @@ function c36092504.chainlm(e,rp,tp)
return
tp
==
rp
return
tp
==
rp
end
end
function
c36092504
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c36092504
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g1
=
Duel
.
GetMatchingGroup
(
c36092504
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
local
g1
=
Duel
.
GetMatchingGroup
(
c36092504
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
Card
.
IsAbleToRemove
),
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_EXTRA
+
LOCATION_GRAVE
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
Card
.
IsAbleToRemove
),
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_EXTRA
+
LOCATION_GRAVE
,
nil
)
if
g1
:
GetCount
()
==
0
or
g2
:
GetCount
()
==
0
then
return
end
if
g1
:
GetCount
()
==
0
or
g2
:
GetCount
()
==
0
then
return
end
local
res
=
0
local
res
=
0
...
@@ -47,14 +47,14 @@ function c36092504.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,14 +47,14 @@ function c36092504.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
rg
)
Duel
.
HintSelection
(
rg
)
res
=
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
res
=
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
g1
=
Duel
.
GetMatchingGroup
(
c36092504
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
g1
=
Duel
.
GetMatchingGroup
(
c36092504
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
g2
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
Card
.
IsAbleToRemove
),
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_EXTRA
+
LOCATION_GRAVE
,
nil
)
g2
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
Card
.
IsAbleToRemove
),
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_EXTRA
+
LOCATION_GRAVE
,
nil
)
if
g1
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_SYNCHRO
)
and
g2
:
IsExists
(
c36092504
.
rmfilter1
,
3
,
nil
)
then
if
g1
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_SYNCHRO
)
and
g2
:
IsExists
(
c36092504
.
rmfilter1
,
3
,
nil
)
then
if
res
~=
0
then
Duel
.
BreakEffect
()
end
if
res
~=
0
then
Duel
.
BreakEffect
()
end
local
rg
=
g2
:
Filter
(
c36092504
.
rmfilter1
,
nil
):
RandomSelect
(
tp
,
3
)
local
rg
=
g2
:
Filter
(
c36092504
.
rmfilter1
,
nil
):
RandomSelect
(
tp
,
3
)
res
=
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
res
=
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
g1
=
Duel
.
GetMatchingGroup
(
c36092504
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
g1
=
Duel
.
GetMatchingGroup
(
c36092504
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
g2
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
Card
.
IsAbleToRemove
),
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_EXTRA
+
LOCATION_GRAVE
,
nil
)
g2
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
Card
.
IsAbleToRemove
),
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_EXTRA
+
LOCATION_GRAVE
,
nil
)
if
g1
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_XYZ
)
and
g2
:
IsExists
(
c36092504
.
rmfilter2
,
1
,
nil
)
then
if
g1
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_XYZ
)
and
g2
:
IsExists
(
c36092504
.
rmfilter2
,
1
,
nil
)
then
if
res
~=
0
then
Duel
.
BreakEffect
()
end
if
res
~=
0
then
Duel
.
BreakEffect
()
end
...
@@ -63,7 +63,7 @@ function c36092504.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -63,7 +63,7 @@ function c36092504.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
HintSelection
(
rg
)
Duel
.
HintSelection
(
rg
)
res
=
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
res
=
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
g1
=
Duel
.
GetMatchingGroup
(
c36092504
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
g1
=
Duel
.
GetMatchingGroup
(
c36092504
.
cfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
nil
)
g2
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
Card
.
IsAbleToRemove
),
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_EXTRA
+
LOCATION_GRAVE
,
nil
)
g2
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
Card
.
IsAbleToRemove
),
tp
,
0
,
LOCATION_ONFIELD
+
LOCATION_EXTRA
+
LOCATION_GRAVE
,
nil
)
if
g1
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_LINK
)
and
g2
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
)
then
if
g1
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_LINK
)
and
g2
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_GRAVE
)
then
if
res
~=
0
then
Duel
.
BreakEffect
()
end
if
res
~=
0
then
Duel
.
BreakEffect
()
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