Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
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
GuGu
ygopro-THC-cards
Commits
af0090e1
Commit
af0090e1
authored
May 21, 2022
by
oilloillo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c999530.lua
parent
281ff302
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
script/c999530.lua
script/c999530.lua
+2
-1
No files found.
script/c999530.lua
View file @
af0090e1
...
@@ -33,7 +33,7 @@ function M.filterEx(c, e, tp, g, code)
...
@@ -33,7 +33,7 @@ function M.filterEx(c, e, tp, g, code)
return
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
g
,
nil
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
(
g
,
nil
,
tp
)
elseif
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsSetCard
(
0x999
)
then
elseif
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsType
(
TYPE_RITUAL
)
and
c
:
IsSetCard
(
0x999
)
then
return
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
and
M
.
RMatFilter
(
g
:
GetFirst
())
return
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
and
M
.
RMatFilter
(
g
:
GetFirst
())
and
Duel
.
IsExistingMatchingCard
(
M
.
RMatFilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_ONFIELD
,
0
,
2
,
nil
,
code
)
and
Duel
.
IsExistingMatchingCard
(
M
.
RMatFilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
+
LOCATION_ONFIELD
,
0
,
2
,
g
:
GetFirst
()
,
code
)
end
end
end
end
...
@@ -62,6 +62,7 @@ function M.op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,6 +62,7 @@ function M.op(e,tp,eg,ep,ev,re,r,rp)
local
mat2
=
Duel
.
SelectMatchingCard
(
tp
,
M
.
filter3
,
tp
,
LOCATION_SZONE
+
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
,
mat1
,
code
)
local
mat2
=
Duel
.
SelectMatchingCard
(
tp
,
M
.
filter3
,
tp
,
LOCATION_SZONE
+
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
,
mat1
,
code
)
if
mat2
:
GetCount
()
>
0
and
Duel
.
SpecialSummon
(
mat2
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
mat2
:
GetCount
()
>
0
and
Duel
.
SpecialSummon
(
mat2
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
Duel
.
RaiseEvent
(
e
:
GetHandler
(),
EVENT_ADJUST
,
nil
,
0
,
PLAYER_NONE
,
PLAYER_NONE
,
0
)
Duel
.
BreakEffect
()
mat2
=
mat2
:
GetFirst
()
mat2
=
mat2
:
GetFirst
()
local
loc
=
LOCATION_HAND
local
loc
=
LOCATION_HAND
...
...
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