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
9904632b
Commit
9904632b
authored
Feb 18, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ybb
parent
a3f42990
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
10 deletions
+9
-10
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c10050081.lua
expansions/script/c10050081.lua
+1
-1
expansions/script/c25810041.lua
expansions/script/c25810041.lua
+1
-1
expansions/script/c25810051.lua
expansions/script/c25810051.lua
+7
-8
No files found.
expansions/222DIY.cdb
View file @
9904632b
No preview for this file type
expansions/script/c10050081.lua
View file @
9904632b
...
...
@@ -53,7 +53,7 @@ end
function
cm
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
ft
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
spfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
ft
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
--SearchCard
...
...
expansions/script/c25810041.lua
View file @
9904632b
...
...
@@ -77,5 +77,5 @@ function cm.eqlimit(e,c)
end
--index
function
cm
.
indtg
(
e
,
c
)
return
c
:
IsSetCard
(
0x251
)
and
c
:
IsFaceup
()
return
c
:
GetSequence
()
<
5
and
c
:
IsSetCard
(
0x251
)
and
c
:
IsFaceup
()
end
\ No newline at end of file
expansions/script/c25810051.lua
View file @
9904632b
--M4A1·申冤者
local
m
=
25810051
local
n
=
25810041
local
m
=
25810051
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
aux
.
AddSynchroMixProcedure
(
c
,
cm
.
matfilter
,
nil
,
nil
,
aux
.
NonTuner
(
Card
.
IsSetCard
,
0x251
),
1
,
99
)
...
...
@@ -17,9 +17,10 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
--immune
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_
SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_
FIELD
)
e2
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
cm
.
imtg
)
e2
:
SetValue
(
cm
.
efilter
)
...
...
@@ -78,7 +79,7 @@ function cm.eqlimit(e,c)
end
--immune
function
cm
.
imtg
(
e
,
c
)
return
e
:
GetHandler
()
and
c
:
IsCode
(
n
)
return
e
:
GetHandler
()
or
c
:
IsCode
(
n
)
end
function
cm
.
efilter
(
e
,
re
)
return
e
:
GetHandlerPlayer
()
~=
re
:
GetOwnerPlayer
()
...
...
@@ -90,12 +91,10 @@ function cm.descon(e,tp,eg,ep,ev,re,r,rp)
and
rc
:
IsFaceup
()
and
rc
:
IsCode
(
n
)
and
rc
:
IsControler
(
tp
)
end
function
cm
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
1157684
)
==
0
and
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
e
:
GetDescription
())
Duel
.
RegisterFlagEffect
(
tp
,
1157684
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
0
)
end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
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