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
346f4d79
Commit
346f4d79
authored
Oct 22, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace c29990650.lua
parent
126ec6ee
Pipeline
#30635
passed with stages
in 31 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
expansions/script/c29990650.lua
expansions/script/c29990650.lua
+6
-4
No files found.
expansions/script/c29990650.lua
View file @
346f4d79
...
@@ -82,10 +82,10 @@ function c29990650.initial_effect(c)
...
@@ -82,10 +82,10 @@ function c29990650.initial_effect(c)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
b1
=
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
local
b1
=
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
and
Duel
.
IsExistingMatchingCard
(
c29990650
.
filter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
)
and
Duel
.
IsExistingMatchingCard
(
c29990650
.
filter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
)
and
Duel
.
GetFlagEffect
(
tp
,
299906
4
1
)
==
0
and
Duel
.
GetFlagEffect
(
tp
,
299906
5
1
)
==
0
local
b2
=
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
local
b2
=
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
and
Duel
.
IsExistingMatchingCard
(
c29990650
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
)
and
Duel
.
IsExistingMatchingCard
(
c29990650
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
)
and
Duel
.
GetFlagEffect
(
tp
,
299906
4
2
)
==
0
and
Duel
.
GetFlagEffect
(
tp
,
299906
5
2
)
==
0
if
chk
==
0
then
return
b1
or
b2
end
if
chk
==
0
then
return
b1
or
b2
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
end
...
@@ -94,8 +94,10 @@ function c29990650.initial_effect(c)
...
@@ -94,8 +94,10 @@ function c29990650.initial_effect(c)
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsControler
(
tp
)
and
not
c
:
IsImmuneToEffect
(
e
)
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
then
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
and
c
:
IsControler
(
tp
)
and
not
c
:
IsImmuneToEffect
(
e
)
and
aux
.
MustMaterialCheck
(
c
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
then
Duel
.
Hint
(
HINT_MESSAGE
,
tp
,
aux
.
Stringid
(
29990650
,
6
))
Duel
.
Hint
(
HINT_MESSAGE
,
tp
,
aux
.
Stringid
(
29990650
,
6
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
b1
=
Duel
.
GetFlagEffect
(
tp
,
29990641
)
==
0
local
b1
=
Duel
.
IsExistingMatchingCard
(
c29990650
.
filter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
)
local
b2
=
Duel
.
GetFlagEffect
(
tp
,
29990642
)
==
0
and
Duel
.
GetFlagEffect
(
tp
,
29990651
)
==
0
local
b2
=
Duel
.
IsExistingMatchingCard
(
c29990650
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
c
)
and
Duel
.
GetFlagEffect
(
tp
,
29990652
)
==
0
local
op
=
0
local
op
=
0
if
b1
and
b2
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
29990650
,
2
),
aux
.
Stringid
(
29990650
,
3
))
if
b1
and
b2
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
29990650
,
2
),
aux
.
Stringid
(
29990650
,
3
))
elseif
b1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
29990650
,
2
))
elseif
b1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
29990650
,
2
))
...
...
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