Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
11a3cf93
Commit
11a3cf93
authored
May 05, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix avatar
parent
bdb3b58c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
c21208154.lua
c21208154.lua
+9
-1
No files found.
c21208154.lua
View file @
11a3cf93
...
...
@@ -35,6 +35,14 @@ function c21208154.initial_effect(c)
e6
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e6
:
SetOperation
(
c21208154
.
regop
)
c
:
RegisterEffect
(
e6
)
--check
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
)
e7
:
SetCode
(
21208154
)
e7
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e7
:
SetRange
(
LOCATION_MZONE
)
e7
:
SetValue
(
1
)
c
:
RegisterEffect
(
e7
)
end
function
c21208154
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
...
...
@@ -46,7 +54,7 @@ function c21208154.ttop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
Release
(
g
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c21208154
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetCode
()
~=
21208154
return
c
:
IsFaceup
()
and
c
:
GetCode
()
~=
21208154
and
not
c
:
IsHasEffect
(
21208154
)
end
function
c21208154
.
adval
(
e
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
c21208154
.
filter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
...
...
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