Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
f6f3508c
Commit
f6f3508c
authored
May 26, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
87f366bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
c74733322.lua
c74733322.lua
+5
-5
No files found.
c74733322.lua
View file @
f6f3508c
...
...
@@ -62,11 +62,11 @@ function s.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
DiscardHand
(
tp
,
s
.
costfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
,
nil
)
end
function
s
.
anfilter
(
c
,
tp
)
return
c
:
IsSetCard
(
0x
2
cd
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
1
cd
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
not
s
.
announced_set
[
tp
][
c
:
GetCode
()]
end
function
s
.
thfilter
(
c
,
code
)
return
c
:
IsSetCard
(
0x
2
cd
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x
1
cd
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
and
c
:
IsCode
(
code
)
end
...
...
@@ -152,18 +152,18 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
s
.
splimit
(
e
,
c
)
return
not
(
c
:
IsSetCard
(
0x
2cd
)
or
c
:
IsCode
(
101301008
))
and
not
c
:
IsLocation
(
LOCATION_EXTRA
)
return
not
(
c
:
IsSetCard
(
0x
1cd
)
or
c
:
IsCode
(
97556336
))
and
not
c
:
IsLocation
(
LOCATION_EXTRA
)
end
function
s
.
announce_filter_func
(
e
,
tp
,
ev
)
local
exg
=
Duel
.
GetMatchingGroup
(
aux
.
AND
(
Card
.
IsFaceup
,
Card
.
IsSetCard
),
tp
,
LOCATION_MZONE
,
0
,
nil
,
0x
2
cd
)
local
exg
=
Duel
.
GetMatchingGroup
(
aux
.
AND
(
Card
.
IsFaceup
,
Card
.
IsSetCard
),
tp
,
LOCATION_MZONE
,
0
,
nil
,
0x
1
cd
)
local
ncodes
=
s
.
CreateCodeList
(
exg
,
s
.
announced
[
tp
],
nil
,
nil
)
if
#
ncodes
>=
ARTMEGIA_COUNT
then
return
false
end
local
af
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
,
0x
2
cd
,
OPCODE_ISSETCARD
,
OPCODE_AND
,
0x
1
cd
,
OPCODE_ISSETCARD
,
OPCODE_AND
,
TYPE_MONSTER
,
OPCODE_ISTYPE
,
OPCODE_AND
}
for
i
=
1
,
#
ncodes
do
...
...
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