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
4
Merge Requests
4
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
19652da8
Commit
19652da8
authored
Dec 03, 2023
by
Chen Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fix
parent
30310198
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
c11961740.lua
c11961740.lua
+1
-1
c75500286.lua
c75500286.lua
+2
-2
No files found.
c11961740.lua
View file @
19652da8
...
...
@@ -20,7 +20,7 @@ function c11961740.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
rc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
,
POS_FACEDOWN
):
GetFirst
()
if
rc
and
Duel
.
Remove
(
rc
,
POS_FACEDOWN
,
REASON_EFFECT
)
~=
0
and
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
rc
:
RegisterFlagEffect
(
11961740
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
rc
:
RegisterFlagEffect
(
11961740
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
0
,
2
,
fid
)
c
:
CancelToGrave
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
...
...
c75500286.lua
View file @
19652da8
...
...
@@ -19,7 +19,7 @@ function c75500286.activate(e,tp,eg,ep,ev,re,r,rp)
local
rc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToRemove
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
fid
=
c
:
GetFieldID
()
if
rc
and
Duel
.
Remove
(
rc
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
and
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
rc
:
RegisterFlagEffect
(
75500286
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
rc
:
RegisterFlagEffect
(
75500286
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_STANDBY
+
RESET_SELF_TURN
,
0
,
2
,
fid
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
...
...
@@ -28,7 +28,7 @@ function c75500286.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetLabel
(
fid
,
0
)
e1
:
SetLabelObject
(
rc
)
e1
:
SetCondition
(
c75500286
.
thcon
)
e1
:
SetOperation
(
c75500286
.
thop
)
e1
:
SetOperation
(
c75500286
.
thop
)
Duel
.
RegisterEffect
(
e1
,
tp
)
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