Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
60189bc9
Commit
60189bc9
authored
Feb 15, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5be8d443
Pipeline
#9678
passed with stages
in 1 minute
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
script/c100418027.lua
script/c100418027.lua
+1
-0
script/c100418032.lua
script/c100418032.lua
+1
-0
No files found.
script/c100418027.lua
View file @
60189bc9
...
@@ -31,6 +31,7 @@ function s.initial_effect(c)
...
@@ -31,6 +31,7 @@ function s.initial_effect(c)
end
end
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
tp
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
IsActiveType
(
TYPE_QUICKPLAY
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
return
rp
==
tp
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
re
:
IsActiveType
(
TYPE_QUICKPLAY
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
GetHandler
():
IsSetCard
(
0x27e
)
end
end
function
s
.
filter
(
c
)
function
s
.
filter
(
c
)
return
c
:
IsSetCard
(
0x27e
)
and
c
:
IsType
(
TYPE_QUICKPLAY
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x27e
)
and
c
:
IsType
(
TYPE_QUICKPLAY
)
and
c
:
IsAbleToDeck
()
...
...
script/c100418032.lua
View file @
60189bc9
...
@@ -7,6 +7,7 @@ function s.initial_effect(c)
...
@@ -7,6 +7,7 @@ function s.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_HANDES
+
CATEGORY_REMOVE
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_HANDES
+
CATEGORY_REMOVE
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_TO_HAND
)
e1
:
SetCode
(
EVENT_TO_HAND
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
s
.
condition
)
e1
:
SetCondition
(
s
.
condition
)
...
...
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