Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-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
Soulgamer
ygopro-222DIY-cards
Commits
245ce8f6
Commit
245ce8f6
authored
Feb 29, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ready for new cards
parent
300428b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
expansions/script/c26800000.lua
expansions/script/c26800000.lua
+19
-0
No files found.
expansions/script/c26800000.lua
View file @
245ce8f6
...
...
@@ -31,3 +31,22 @@ function Amana.tgcon(e)
return
Duel
.
GetCurrentPhase
()
==
PHASE_END
and
not
Duel
.
IsExistingMatchingCard
(
Amana
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
--momoka
function
Amana
.
Momoka
(
c
)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e0
:
SetCode
(
EFFECT_EXTRA_LINK_MATERIAL
)
e0
:
SetRange
(
LOCATION_HAND
)
e0
:
SetValue
(
Amana
.
matval
)
c
:
RegisterEffect
(
e0
)
end
function
Amana
.
mfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
end
function
Amana
.
exmfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsCode
(
m
)
end
function
Amana
.
matval
(
e
,
c
,
mg
)
return
c
:
IsSetCard
(
0x3603
)
and
mg
:
IsExists
(
Amana
.
mfilter
,
1
,
nil
)
and
not
mg
:
IsExists
(
Amana
.
exmfilter
,
1
,
nil
)
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