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
109240d0
Commit
109240d0
authored
Jul 11, 2024
by
akks_crx
Committed by
GitHub
Jul 11, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Ancient Gear Gadget(古代の歯車機械) (#2589)
parent
7d1205a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
c18486927.lua
c18486927.lua
+5
-4
No files found.
c18486927.lua
View file @
109240d0
...
...
@@ -60,10 +60,11 @@ function c18486927.actcon(e)
end
function
c18486927
.
nametg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
code
=
e
:
GetHandler
():
GetCode
()
--c:IsSetCard(0x51) and not c:IsCode(code)
getmetatable
(
e
:
GetHandler
()).
announce_filter
=
{
0x51
,
OPCODE_ISSETCARD
,
code
,
OPCODE_ISCODE
,
OPCODE_NOT
,
OPCODE_AND
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
e
:
GetHandler
()).
announce_filter
))
local
c
=
e
:
GetHandler
()
local
code
=
c
:
GetCode
()
--c:IsSetCard(0x51) and c:IsType(TYPE_MONSTER) and not c:IsCode(code)
getmetatable
(
c
).
announce_filter
=
{
0x51
,
OPCODE_ISSETCARD
,
TYPE_MONSTER
,
OPCODE_ISTYPE
,
OPCODE_AND
,
code
,
OPCODE_ISCODE
,
OPCODE_NOT
,
OPCODE_AND
}
local
ac
=
Duel
.
AnnounceCard
(
tp
,
table.unpack
(
getmetatable
(
c
).
announce_filter
))
Duel
.
SetTargetParam
(
ac
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_ANNOUNCE
,
nil
,
0
,
tp
,
0
)
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