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
2e8f1251
Commit
2e8f1251
authored
Oct 23, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c64800191.lua
parent
8e4458cb
Pipeline
#30655
canceled with stages
in 30 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
expansions/script/c64800191.lua
expansions/script/c64800191.lua
+9
-8
No files found.
expansions/script/c64800191.lua
View file @
2e8f1251
...
@@ -7,14 +7,14 @@ function cm.initial_effect(c)
...
@@ -7,14 +7,14 @@ function cm.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
e1
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCountLimit
(
1
,
m
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetCondition
(
cm
.
condition
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
activate
)
e1
:
SetOperation
(
cm
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
cfilter1
(
c
)
function
cm
.
cfilter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x412
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x412
)
and
c
:
IsType
(
TYPE_XYZ
)
end
end
function
cm
.
cfilter2
(
c
)
function
cm
.
cfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevel
(
10
)
return
c
:
IsFaceup
()
and
c
:
IsLevel
(
10
)
...
@@ -33,16 +33,17 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -33,16 +33,17 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
end
end
function
cm
.
actcfilter
(
c
)
function
cm
.
actcfilter
(
c
)
return
c
:
Is
SetCard
(
0x412
)
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsFaceup
(
)
return
c
:
Is
Faceup
()
and
c
:
IsSetCard
(
0x412
)
and
c
:
IsType
(
TYPE_XYZ
)
end
end
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
>
0
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
actcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
)
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
end
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsCanOverlay
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
then
if
Duel
.
IsExistingMatchingCard
(
cm
.
actcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
0
))
and
c
:
IsRelateToEffect
(
e
)
then
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
actcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
actcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g2
)
local
sc
=
g2
:
GetFirst
()
local
sc
=
g2
:
GetFirst
()
if
sc
:
IsImmuneToEffect
(
e
)
then
return
end
c
:
CancelToGrave
()
c
:
CancelToGrave
()
Duel
.
Overlay
(
sc
,
Group
.
FromCards
(
c
))
Duel
.
Overlay
(
sc
,
Group
.
FromCards
(
c
))
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