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
84542be2
Commit
84542be2
authored
Mar 04, 2026
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
1fc47fd2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
31 deletions
+15
-31
expansions/script/c6100128.lua
expansions/script/c6100128.lua
+14
-31
expansions/script/special.lua
expansions/script/special.lua
+1
-0
No files found.
expansions/script/c6100128.lua
View file @
84542be2
...
...
@@ -82,16 +82,11 @@ end
--Cost过滤器:展示手卡S/T,并检查对应效果是否可执行
function
s
.
rvfilter
(
c
,
tp
,
e
)
if
not
(
c
:
IsSetCard
(
0x611
)
and
not
c
:
IsPublic
())
then
return
false
end
--展示魔法 -> 盖陷阱 (检查卡组是否有陷阱 & S区是否有空位)
if
c
:
IsType
(
TYPE_SPELL
)
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
--展示陷阱 -> 特召 (检查墓地/除外是否有怪兽 & M区是否有空位)
--因为是Cost阶段,必须预判是否有Target
and
Duel
.
IsExistingMatchingCard
(
s
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
elseif
c
:
IsType
(
TYPE_TRAP
)
then
return
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
e
:
GetHandler
(),
e
,
tp
)
and
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
return
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
e
:
GetHandler
(),
e
,
tp
)
and
Duel
.
GetMZoneCount
(
tp
,
e
:
GetHandler
())
>
0
end
return
false
end
...
...
@@ -104,40 +99,29 @@ function s.e2cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
rvfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
,
e
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
local
rc
=
g
:
GetFirst
()
--设置Label:1=魔法分支,2=陷阱分支
if
rc
:
IsType
(
TYPE_SPELL
)
then
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
2
)
end
e
:
SetLabelObject
(
g
:
GetFirst
())
Duel
.
ShuffleHand
(
tp
)
Duel
.
Release
(
c
,
REASON_COST
)
end
function
s
.
e2tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
label
=
e
:
GetLabel
()
--分支:陷阱卡展示 (苏生) - 需要取对象
if
label
==
2
then
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
e
:
GetHandler
(),
e
,
tp
)
end
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
--分支:魔法卡展示 (盖放) - 不取对象
else
local
rc
=
e
:
GetLabelObject
()
if
chk
==
0
then
return
true
end
if
rc
:
IsType
(
TYPE_SPELL
)
then
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
e
:
SetCategory
(
0
)
e
:
SetProperty
(
0
)
--清除取对象属性
else
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
e
:
GetHandler
(),
e
,
tp
)
end
e
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
end
end
function
s
.
e2op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
label
=
e
:
GetLabel
()
--分支:魔法卡 (盖放陷阱)
if
label
==
1
then
local
rc
=
e
:
GetLabelObject
()
if
chk
==
0
then
return
true
end
if
rc
:
IsType
(
TYPE_SPELL
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
...
...
@@ -152,7 +136,6 @@ function s.e2op(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
)
end
--分支:陷阱卡 (特召怪兽)
else
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
e
:
GetHandler
(),
e
,
tp
)
local
tc
=
g
:
GetFirst
()
...
...
expansions/script/special.lua
View file @
84542be2
...
...
@@ -240,6 +240,7 @@ function Auxiliary.PreloadUds()
if
e
:
IsHasType
(
EFFECT_TYPE_SINGLE
)
and
e
:
IsHasType
(
EFFECT_TYPE_TRIGGER_O
)
and
e
:
GetCode
()
==
EVENT_TO_DECK
and
not
c
:
IsExtraDeckMonster
()
and
not
c
:
IsType
(
TYPE_PENDULUM
)
then
e
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e
:
SetRange
(
LOCATION_DECK
)
e
:
SetCountLimit
(
1
)
local
prop
,
prop2
=
e
:
GetProperty
()
e
:
SetProperty
(
prop
|
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
),
prop2
)
local
con
=
e
:
GetCondition
()
or
aux
.
TRUE
...
...
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