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
5
Merge Requests
5
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
MyCard
ygopro-scripts-888
Commits
e067c4ea
Commit
e067c4ea
authored
Jan 12, 2023
by
Chrono-Genex
Committed by
GitHub
Jan 12, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Contact with Gusto (#2011)
parent
beb4dfe4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
c83544697.lua
c83544697.lua
+9
-5
No files found.
c83544697.lua
View file @
e067c4ea
...
@@ -24,12 +24,16 @@ function c83544697.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -24,12 +24,16 @@ function c83544697.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g1
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g1
,
2
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g2
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g2
,
1
,
0
,
0
)
end
end
function
c83544697
.
filter2
(
c
,
tp
)
return
c
:
IsOnField
()
and
c
:
IsControler
(
tp
)
end
function
c83544697
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c83544697
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ex
,
g1
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_TODECK
)
local
g
=
Duel
.
GetTargetsRelateToChain
()
local
ex
,
g2
=
Duel
.
GetOperationInfo
(
0
,
CATEGORY_DESTROY
)
local
g1
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_GRAVE
)
if
g1
:
GetFirst
():
IsRelateToEffect
(
e
)
and
g1
:
GetNext
():
IsRelateToEffect
(
e
)
then
local
g2
=
g
:
Filter
(
c83544697
.
filter2
,
nil
,
1
-
tp
)
Duel
.
SendtoDeck
(
g1
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
if
g1
:
GetCount
()
==
2
and
Duel
.
SendtoDeck
(
g1
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
==
2
then
if
g2
:
GetFirst
():
IsRelateToEffect
(
e
)
then
local
ct
=
Duel
.
GetOperatedGroup
():
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_DECK
+
LOCATION_EXTRA
)
if
ct
==
2
and
g2
:
GetCount
()
>
0
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Destroy
(
g2
,
REASON_EFFECT
)
Duel
.
Destroy
(
g2
,
REASON_EFFECT
)
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