Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
liucerf
pre-release-database-cdb
Commits
d1d8004c
Commit
d1d8004c
authored
May 16, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Engraver workaround again
parent
0dc87f98
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
5 deletions
+17
-5
script/c101301054.lua
script/c101301054.lua
+17
-5
No files found.
script/c101301054.lua
View file @
d1d8004c
...
@@ -21,7 +21,6 @@ function s.initial_effect(c)
...
@@ -21,7 +21,6 @@ function s.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
+
CATEGORY_ANNOUNCE
)
e3
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
+
CATEGORY_ANNOUNCE
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetCost
(
s
.
thcost
)
e3
:
SetCost
(
s
.
thcost
)
e3
:
SetTarget
(
s
.
thtg
)
e3
:
SetTarget
(
s
.
thtg
)
e3
:
SetOperation
(
s
.
thop
)
e3
:
SetOperation
(
s
.
thop
)
...
@@ -222,10 +221,23 @@ end
...
@@ -222,10 +221,23 @@ end
function
s
.
announce_filter_func
(
c
)
function
s
.
announce_filter_func
(
c
)
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
exg
=
Duel
.
GetMatchingGroup
(
aux
.
AND
(
Card
.
IsFaceup
,
Card
.
IsSetCard
),
tp
,
LOCATION_MZONE
,
0
,
nil
,
0x2cd
)
local
exg
=
Duel
.
GetMatchingGroup
(
aux
.
AND
(
Card
.
IsFaceup
,
Card
.
IsSetCard
),
tp
,
LOCATION_MZONE
,
0
,
nil
,
0x2cd
)
local
ncodes
=
s
.
CreateCodeList
(
exg
,
nil
,
nil
,
nil
)
local
exc
=
{}
if
#
ncodes
>=
ARTMEGIA_COUNT
then
local
cchain
=
Duel
.
GetCurrentChain
()
-- this case Engraver would freeze, so we make it at least don't freeze
local
called_by_engraver
=
false
ncodes
=
{}
if
cchain
>
1
then
local
ac
=
Duel
.
GetChainInfo
(
cchain
-
1
,
CHAININFO_TARGET_PARAM
)
if
ac
and
ac
>
0
then
table.insert
(
exc
,
ac
)
end
local
ce
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TRIGGERING_EFFECT
)
if
ce
:
GetHandler
()
~=
c
then
called_by_engraver
=
true
end
end
local
ncodes
=
s
.
CreateCodeList
(
exg
,
exc
,
nil
,
nil
)
if
#
ncodes
>=
ARTMEGIA_COUNT
and
called_by_engraver
then
-- make Engraver's effect quit
error
(
"Nothing can be declared"
,
3
)
end
end
local
af
=
{
local
af
=
{
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
,
TYPE_FUSION
+
TYPE_SYNCHRO
+
TYPE_XYZ
+
TYPE_LINK
,
OPCODE_ISTYPE
,
OPCODE_NOT
,
...
...
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