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
Ai
ygopro-222DIY-cards
Commits
7cf8d617
Commit
7cf8d617
authored
Mar 28, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
de094705
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
expansions/script/c16172002.lua
expansions/script/c16172002.lua
+2
-2
expansions/script/c16172007.lua
expansions/script/c16172007.lua
+1
-1
expansions/script/c16172019.lua
expansions/script/c16172019.lua
+1
-1
expansions/script/c33300307.lua
expansions/script/c33300307.lua
+2
-2
No files found.
expansions/script/c16172002.lua
View file @
7cf8d617
...
...
@@ -67,7 +67,7 @@ function cm.mtcon()
return
function
(
e
,
c
,
og
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
return
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
+
1
,
nil
,
nil
,
2500
,
1200
,
6
,
RACE_FIEND
,
ATTRIBUTE_DARK
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
rlfilter
,
tp
,
LOCATION_
ONFIELD
+
LOCATION_
HAND
,
0
,
1
,
c
,
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
return
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
m
+
1
,
nil
,
nil
,
2500
,
1200
,
6
,
RACE_FIEND
,
ATTRIBUTE_DARK
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
rlfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
c
,
tp
)
and
Duel
.
GetFlagEffect
(
tp
,
m
)
==
0
end
end
function
cm
.
mtdo
()
...
...
@@ -75,7 +75,7 @@ function cm.mtdo()
if
not
sg
then
sg
=
Group
.
CreateGroup
()
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
rlfilter
,
tp
,
LOCATION_
ONFIELD
+
LOCATION_
HAND
,
0
,
c
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
rlfilter
,
tp
,
LOCATION_HAND
,
0
,
c
,
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
g
:
SelectSubGroup
(
tp
,
aux
.
TRUE
,
true
,
1
,
1
)
if
not
g
then
...
...
expansions/script/c16172007.lua
View file @
7cf8d617
...
...
@@ -70,7 +70,7 @@ function cm.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
rg
=
Duel
.
GetDecktopGroup
(
tp
,
2
)
if
chk
==
0
then
return
rg
:
GetCount
()
==
2
and
rg
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
)
==
2
end
if
chk
==
0
then
return
rg
:
GetCount
()
==
2
and
rg
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
)
==
2
and
Duel
.
IsExistingMatchingCard
(
cm
.
rdcheck
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
rg
,
2
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
1
,
0
,
0
)
...
...
expansions/script/c16172019.lua
View file @
7cf8d617
...
...
@@ -13,7 +13,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
filter
(
c
,
tp
)
return
Duel
.
IsCanAddCounter
(
tp
,
0x2cc
,
1
,
c
)
and
c
:
IsAbleToHand
()
return
c
:
IsCode
(
16172015
,
16172017
,
16172018
)
and
c
:
IsAbleToHand
()
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
...
...
expansions/script/c33300307.lua
View file @
7cf8d617
...
...
@@ -32,8 +32,8 @@ end
function
cm
.
tg
(
e
,
c
)
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
c
:
IsSetCard
(
0x562
)
end
function
cm
.
spcheck
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x562
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_VALUE_MONSTER_REBORN
,
tp
,
false
,
false
)
function
cm
.
spcheck
(
e
,
tp
,
c
)
return
c
:
IsSetCard
(
0x562
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
)
)
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
spcheck
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
,
e
,
tp
)
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