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
REIKAI
ygopro-222DIY-cards
Commits
b771748d
Commit
b771748d
authored
Jan 22, 2025
by
花桃白音
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #18700208
parent
3fe6927c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
expansions/script/c18700208.lua
expansions/script/c18700208.lua
+5
-4
No files found.
expansions/script/c18700208.lua
View file @
b771748d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
local
cm
,
m
,
o
=
GetID
()
local
cm
,
m
,
o
=
GetID
()
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddXyzProcedure
(
c
,
nil
,
8
,
2
,
cm
.
ovfilter
,
aux
.
Stringid
(
m
,
0
),
2
,
cm
.
xyzop
)
aux
.
AddXyzProcedure
(
c
,
nil
,
8
,
2
,
cm
.
ovfilter
,
aux
.
Stringid
(
m
,
0
),
1
,
cm
.
xyzop
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
...
@@ -85,14 +85,15 @@ function cm.xyzop(e,tp,chk)
...
@@ -85,14 +85,15 @@ function cm.xyzop(e,tp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
cm
.
cfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
,
nil
)
Duel
.
DiscardHand
(
tp
,
cm
.
cfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
,
nil
)
end
end
function
cm
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
cm
.
ovfilter
(
c
)
function
cm
.
ovfilter
(
c
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
desfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
tg
=
g
:
GetMaxGroup
(
Card
.
GetDefense
)
local
tg
=
g
:
GetMaxGroup
(
Card
.
GetDefense
)
return
tg
:
IsContains
(
c
)
return
tg
:
IsContains
(
c
)
end
end
function
cm
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_MONSTER
)
end
--
--
function
cm
.
thfilter
(
c
)
function
cm
.
thfilter
(
c
)
return
not
c
:
IsPublic
()
return
not
c
:
IsPublic
()
...
...
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