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
八宫一月
ygopro-THC-cards
Commits
f6b278e1
Commit
f6b278e1
authored
Jan 16, 2022
by
Grajade
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update c86379106.lua
parent
a79dbd97
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
script/c86379106.lua
script/c86379106.lua
+4
-2
No files found.
script/c86379106.lua
View file @
f6b278e1
...
...
@@ -38,15 +38,17 @@ function c86379106.op(e,tp,eg,ep,ev,re,r,rp)
if
g4
:
GetCount
()
>
1
then
Duel
.
ShuffleSetCard
(
g4
)
end
local
fid
=
c
:
GetFieldID
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetDescription
(
aux
.
Stringid
(
86379106
,
0
))
e1
:
SetType
(
EFFECT_TYPE_CONTINUOUS
+
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCountLimit
(
1
)
e1
:
SetLabel
(
fid
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetOperation
(
c86379106
.
setop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
e
:
GetHandler
():
RegisterFlagEffect
(
86379106
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_
LEAVE
+
RESET_OVERLAY
-
RESET_TOGRAVE
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
86379106
,
RESET_EVENT
+
RESETS_STANDARD
-
RESET_
TOGRAVE
+
RESET_PHASE
+
PHASE_END
,
0
,
1
,
fid
)
end
--
function
c86379106
.
setfilter
(
c
)
...
...
@@ -63,7 +65,7 @@ function c86379106.setop(e,tp,eg,ep,ev,re,r,rp)
local
sc
=
g
:
GetFirst
():
GetCode
()
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
if
ac
~=
sc
then
if
e
:
GetHandler
():
GetFlagEffect
(
86379106
)
>
0
and
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
then
if
e
:
GetHandler
():
GetFlagEffect
(
86379106
)
>
0
and
c
:
GetFlagEffectLabel
(
86379106
)
==
e
:
GetLabel
(
)
then
Duel
.
SendtoHand
(
e
:
GetHandler
(),
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
e
:
GetHandler
())
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