Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
80c5b75b
Commit
80c5b75b
authored
Aug 06, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2051848f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
expansions/script/special.lua
expansions/script/special.lua
+10
-3
No files found.
expansions/script/special.lua
View file @
80c5b75b
function
Auxiliary
.
PreloadUds
()
PreloadUds_Done
=
true
local
_IsSetCard
=
Card
.
IsSetCard
--[[
local _IsSetCard=Card.IsSetCard
Card.IsSetCard=function(c,setname,...)
if setname==0x1cc then return _IsSetCard(c,0x1cc,...) or _IsSetCard(c,0x2cc,...) end
return _IsSetCard(c,setname,...)
end
end
--]]
local
tableclone
=
function
(
tab
,
mytab
)
local
res
=
mytab
or
{}
...
...
@@ -288,6 +288,8 @@ function Auxiliary.PreloadUds()
local
_SendtoDeck
=
Duel
.
SendtoDeck
function
Duel
.
SendtoDeck
(
g
,
top
,
...
)
local
cg
=
nil
local
ext_params
=
{
...
}
local
cp
=
nil
if
aux
.
GetValueType
(
g
)
==
"Card"
then
cg
=
Group
.
FromCards
(
g
)
elseif
aux
.
GetValueType
(
g
)
==
"Group"
then
...
...
@@ -299,8 +301,13 @@ function Auxiliary.PreloadUds()
Duel
.
ConfirmCards
(
0
,
ag
)
Duel
.
ConfirmCards
(
1
,
ag
)
end
elseif
cg
and
#
ext_params
>=
2
and
ext_params
[
2
]
&
REASON_COST
>
0
then
local
re
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TRIGGERING_EFFECT
)
if
re
and
cg
:
IsContains
(
re
:
GetHandler
())
then
cp
=
true
end
end
return
_SendtoDeck
(
g
,
top
,
...
)
local
res
=
_SendtoDeck
(
g
,
top
,
...
)
if
cp
then
Duel
.
ConfirmCards
(
1
-
Duel
.
GetChainInfo
(
0
,
CHAININFO_TRIGGERING_PLAYER
),
Duel
.
GetChainInfo
(
0
,
CHAININFO_TRIGGERING_EFFECT
):
GetHandler
())
end
return
res
end
local
_SendtoHand
=
Duel
.
SendtoHand
function
Duel
.
SendtoHand
(
g
,
top
,
...
)
...
...
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