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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
d91e944b
Commit
d91e944b
authored
Jun 17, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
c628acfd
Pipeline
#13870
passed with stages
in 28 minutes and 55 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
13 deletions
+22
-13
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c53722003.lua
expansions/script/c53722003.lua
+22
-13
No files found.
expansions/222DIY.cdb
View file @
d91e944b
No preview for this file type
expansions/script/c53722003.lua
View file @
d91e944b
...
@@ -6,13 +6,31 @@ function cm.initial_effect(c)
...
@@ -6,13 +6,31 @@ function cm.initial_effect(c)
SNNM
.
GreatCircle
(
c
)
SNNM
.
GreatCircle
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_CHAIN
_SOLV
ING
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetOperation
(
cm
.
inmop
)
e3
:
SetOperation
(
cm
.
inmop
1
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
e3
:
Clone
()
e4
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e4
:
SetLabelObject
(
e3
)
e4
:
SetOperation
(
cm
.
inmop2
)
c
:
RegisterEffect
(
e4
)
end
end
cm
[
0
]
=
0
cm
[
0
]
=
0
function
cm
.
inmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
inmop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
rp
==
tp
then
return
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x3531
))
e1
:
SetValue
(
cm
.
efilter
)
e1
:
SetLabelObject
(
re
)
e1
:
SetReset
(
RESET_EVENT
+
RESET_CHAIN
)
Duel
.
RegisterEffect
(
e1
,
tp
)
e
:
SetLabelObject
(
e1
)
end
function
cm
.
inmop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
rp
==
tp
then
return
end
if
rp
==
tp
then
return
end
local
cg
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
cg
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
local
g
,
id
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
,
CHAININFO_CHAIN_ID
)
local
g
,
id
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TARGET_CARDS
,
CHAININFO_CHAIN_ID
)
...
@@ -20,16 +38,7 @@ function cm.inmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -20,16 +38,7 @@ function cm.inmop(e,tp,eg,ep,ev,re,r,rp)
cm
[
0
]
=
id
cm
[
0
]
=
id
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_EFFECT
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
else
e
:
GetLabelObject
():
GetLabelObject
():
Reset
()
end
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e1
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e1
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x3531
))
e1
:
SetValue
(
cm
.
efilter
)
e1
:
SetLabelObject
(
re
)
e1
:
SetReset
(
RESET_EVENT
+
RESET_CHAIN
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
end
function
cm
.
efilter
(
e
,
re
)
function
cm
.
efilter
(
e
,
re
)
return
re
==
e
:
GetLabelObject
()
return
re
==
e
:
GetLabelObject
()
...
...
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