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
13f44b57
Commit
13f44b57
authored
Mar 28, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
901ee80b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
expansions/script/c16172006.lua
expansions/script/c16172006.lua
+4
-4
No files found.
expansions/script/c16172006.lua
View file @
13f44b57
...
...
@@ -66,7 +66,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
,
3000
,
3000
,
8
,
RACE_DRAGON
,
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
,
3000
,
3000
,
8
,
RACE_DRAGON
,
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
()
...
...
@@ -74,7 +74,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
...
...
@@ -98,7 +98,7 @@ function cm.mtdo()
end
end
function
cm
.
check
(
c
)
return
c
:
IsAbleToHand
()
and
aux
.
IsCodeListed
(
c
,
16172004
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
return
c
:
IsAbleToHand
()
and
aux
.
IsCodeListed
(
c
,
16172004
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
0
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
and
c
:
IsFaceup
()
end
function
cm
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsAbleToHand
()
and
cm
.
check
(
chkc
)
end
...
...
@@ -143,7 +143,7 @@ function cm.spop(e,tp)
e1
:
SetReset
(
RESET_EVENT
+
0x7e0000
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterFlagEffect
(
16100000
,
RESET_EVENT
+
0x7e0000
,
0
,
0
)
c
:
ReplaceEffect
(
side
_
code
,
RESET_EVENT
+
0x7e0000
)
c
:
ReplaceEffect
(
sidecode
,
RESET_EVENT
+
0x7e0000
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
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