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
8f10ccd3
Commit
8f10ccd3
authored
Nov 03, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
68c60cbc
Changes
15
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
87 additions
and
320 deletions
+87
-320
expansions/script/c11608001.lua
expansions/script/c11608001.lua
+7
-25
expansions/script/c11608005.lua
expansions/script/c11608005.lua
+7
-20
expansions/script/c11608010.lua
expansions/script/c11608010.lua
+7
-21
expansions/script/c11608015.lua
expansions/script/c11608015.lua
+7
-20
expansions/script/c11608020.lua
expansions/script/c11608020.lua
+7
-10
expansions/script/c11608025.lua
expansions/script/c11608025.lua
+7
-22
expansions/script/c11608030.lua
expansions/script/c11608030.lua
+1
-22
expansions/script/c11608035.lua
expansions/script/c11608035.lua
+1
-25
expansions/script/c11608040.lua
expansions/script/c11608040.lua
+1
-22
expansions/script/c11608045.lua
expansions/script/c11608045.lua
+7
-22
expansions/script/c11608050.lua
expansions/script/c11608050.lua
+7
-23
expansions/script/c11608055.lua
expansions/script/c11608055.lua
+7
-21
expansions/script/c11608060.lua
expansions/script/c11608060.lua
+7
-23
expansions/script/c11608065.lua
expansions/script/c11608065.lua
+7
-22
expansions/script/c11608070.lua
expansions/script/c11608070.lua
+7
-22
No files found.
expansions/script/c11608001.lua
View file @
8f10ccd3
...
...
@@ -31,32 +31,14 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
athtg
)
e2
:
SetOperation
(
s
.
athop
)
c
:
RegisterEffect
(
e2
)
-- 添加全局效果:连锁结束时检查卡组表侧卡
if
not
ConfirmCheck
then
ConfirmCheck
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regcon
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
s
.
athcon
)
c
:
RegisterEffect
(
e3
)
end
-- 连锁结束时检查是否有表侧卡的条件
function
s
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
LOCATION_DECK
,
nil
,
POS_FACEUP_DEFENSE
)
>
0
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
end
function
s
.
mark_as_faceup
(
c
)
c
:
ReverseInDeck
()
c
:
RegisterFlagEffect
(
id
+
1000
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
...
...
expansions/script/c11608005.lua
View file @
8f10ccd3
...
...
@@ -26,26 +26,13 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
sptg2
)
e2
:
SetOperation
(
s
.
spop2
)
c
:
RegisterEffect
(
e2
)
-- 保留全局效果
if
not
s
.
global_check
then
s
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
s
.
spcon
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
mark_as_faceup
(
c
)
...
...
expansions/script/c11608010.lua
View file @
8f10ccd3
...
...
@@ -26,28 +26,14 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
-- 保留全局效果
if
not
s
.
global_check
then
s
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
s
.
spcon
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
end
function
s
.
mark_as_faceup
(
c
)
if
c
:
GetLocation
()
==
LOCATION_DECK
then
c
:
ReverseInDeck
()
...
...
expansions/script/c11608015.lua
View file @
8f10ccd3
...
...
@@ -26,26 +26,13 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
-- 保留全局效果
if
not
s
.
global_check
then
s
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
s
.
spcon
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
mark_as_faceup
(
c
)
...
...
expansions/script/c11608020.lua
View file @
8f10ccd3
...
...
@@ -26,16 +26,13 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
-- 保留全局效果
if
not
s
.
global_check
then
s
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
s
.
spcon
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c11608025.lua
View file @
8f10ccd3
...
...
@@ -27,28 +27,13 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
sptg
)
e2
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e2
)
if
not
ConfirmCheck
then
ConfirmCheck
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regcon
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
-- 连锁结束时检查是否有表侧卡的条件
function
s
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
LOCATION_DECK
,
nil
,
POS_FACEUP_DEFENSE
)
>
0
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
s
.
spcon
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
mark_as_faceup
(
c
)
...
...
expansions/script/c11608030.lua
View file @
8f10ccd3
...
...
@@ -5,7 +5,7 @@ function s.initial_effect(c)
--xyz summon
c
:
EnableReviveLimit
()
aux
.
AddXyzProcedure
(
c
,
nil
,
7
,
2
,
nil
,
nil
,
99
)
aux
.
AddXyzProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_WINDBEAST
),
7
,
2
)
--material effect
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -47,28 +47,7 @@ function s.initial_effect(c)
e3
:
SetTarget
(
s
.
rttg
)
e3
:
SetOperation
(
s
.
rtop
)
c
:
RegisterEffect
(
e3
)
-- 保留全局效果
if
not
s
.
global_check
then
s
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
end
function
s
.
mark_as_faceup
(
c
)
if
c
:
GetLocation
()
==
LOCATION_DECK
then
c
:
ReverseInDeck
()
...
...
expansions/script/c11608035.lua
View file @
8f10ccd3
...
...
@@ -3,8 +3,7 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
Duel
.
EnableGlobalFlag
(
GLOBALFLAG_DECK_REVERSE_CHECK
)
--xyz summon
c
:
EnableReviveLimit
()
aux
.
AddXyzProcedure
(
c
,
nil
,
7
,
2
,
nil
,
nil
,
99
)
aux
.
AddXyzProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_WINDBEAST
),
7
,
2
,
nil
,
nil
,
99
)
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -38,30 +37,7 @@ function s.initial_effect(c)
e3
:
SetTarget
(
s
.
attg
)
e3
:
SetOperation
(
s
.
atop
)
c
:
RegisterEffect
(
e3
)
if
not
ConfirmCheck
then
ConfirmCheck
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regcon
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
-- 连锁结束时检查是否有表侧卡的条件
function
s
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
LOCATION_DECK
,
nil
,
POS_FACEUP_DEFENSE
)
>
0
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
end
function
s
.
mark_as_faceup
(
c
)
c
:
ReverseInDeck
()
c
:
RegisterFlagEffect
(
id
+
1000
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
...
...
expansions/script/c11608040.lua
View file @
8f10ccd3
...
...
@@ -4,7 +4,7 @@ function s.initial_effect(c)
Duel
.
EnableGlobalFlag
(
GLOBALFLAG_DECK_REVERSE_CHECK
)
--xyz summon
c
:
EnableReviveLimit
()
aux
.
AddXyzProcedure
(
c
,
nil
,
7
,
3
,
nil
,
nil
,
99
)
aux
.
AddXyzProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x9225
)
,
7
,
3
,
nil
,
nil
,
99
)
--return 1 card to deck
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -39,28 +39,7 @@ function s.initial_effect(c)
e3
:
SetTarget
(
s
.
chtg
)
e3
:
SetOperation
(
s
.
chop
)
c
:
RegisterEffect
(
e3
)
-- 添加全局效果处理表侧卡
if
not
s
.
global_check
then
s
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
end
function
s
.
rtcost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
...
...
expansions/script/c11608045.lua
View file @
8f10ccd3
...
...
@@ -24,28 +24,13 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
athtg
)
e2
:
SetOperation
(
s
.
athop
)
c
:
RegisterEffect
(
e2
)
if
not
ConfirmCheck
then
ConfirmCheck
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regcon
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
-- 连锁结束时检查是否有表侧卡的条件
function
s
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
LOCATION_DECK
,
nil
,
POS_FACEUP_DEFENSE
)
>
0
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
s
.
athcon
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
mark_as_faceup
(
c
)
...
...
expansions/script/c11608050.lua
View file @
8f10ccd3
...
...
@@ -26,30 +26,14 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
athtg
)
e2
:
SetOperation
(
s
.
athop
)
c
:
RegisterEffect
(
e2
)
if
not
ConfirmCheck
then
ConfirmCheck
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regcon
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
-- 连锁结束时检查是否有表侧卡的条件
function
s
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
LOCATION_DECK
,
nil
,
POS_FACEUP_DEFENSE
)
>
0
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
s
.
athcon
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
mark_as_faceup
(
c
)
c
:
ReverseInDeck
()
c
:
RegisterFlagEffect
(
id
+
1000
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
...
...
expansions/script/c11608055.lua
View file @
8f10ccd3
...
...
@@ -26,28 +26,14 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
athtg
)
e2
:
SetOperation
(
s
.
athop
)
c
:
RegisterEffect
(
e2
)
-- 保留全局效果
if
not
s
.
global_check
then
s
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
s
.
athcon
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
end
function
s
.
mark_as_faceup
(
c
)
if
c
:
GetLocation
()
==
LOCATION_DECK
then
c
:
ReverseInDeck
()
...
...
expansions/script/c11608060.lua
View file @
8f10ccd3
...
...
@@ -41,30 +41,14 @@ function s.initial_effect(c)
e3
:
SetTarget
(
s
.
athtg
)
e3
:
SetOperation
(
s
.
athop
)
c
:
RegisterEffect
(
e3
)
if
not
ConfirmCheck
then
ConfirmCheck
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regcon
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
-- 连锁结束时检查是否有表侧卡的条件
function
s
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
LOCATION_DECK
,
nil
,
POS_FACEUP_DEFENSE
)
>
0
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
s
.
athcon
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
mark_as_faceup
(
c
)
c
:
ReverseInDeck
()
c
:
RegisterFlagEffect
(
id
+
1000
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
...
...
expansions/script/c11608065.lua
View file @
8f10ccd3
...
...
@@ -33,28 +33,13 @@ function s.initial_effect(c)
e2
:
SetTarget
(
s
.
athtg
)
e2
:
SetOperation
(
s
.
athop
)
c
:
RegisterEffect
(
e2
)
if
not
ConfirmCheck
then
ConfirmCheck
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regcon
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
-- 连锁结束时检查是否有表侧卡的条件
function
s
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
LOCATION_DECK
,
nil
,
POS_FACEUP_DEFENSE
)
>
0
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
s
.
athcon
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
mark_as_faceup
(
c
)
...
...
expansions/script/c11608070.lua
View file @
8f10ccd3
...
...
@@ -45,28 +45,13 @@ function s.initial_effect(c)
e3
:
SetTarget
(
s
.
athtg
)
e3
:
SetOperation
(
s
.
athop
)
c
:
RegisterEffect
(
e3
)
if
not
ConfirmCheck
then
ConfirmCheck
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_CHAIN_END
)
ge1
:
SetOperation
(
s
.
regcon
)
ge1
:
SetOperation
(
s
.
regop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
-- 连锁结束时检查是否有表侧卡的条件
function
s
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetMatchingGroupCount
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
LOCATION_DECK
,
nil
,
POS_FACEUP_DEFENSE
)
>
0
end
function
s
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
for
p
=
0
,
1
do
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsPosition
,
p
,
LOCATION_DECK
,
0
,
nil
,
POS_FACEUP_DEFENSE
)
local
g2
=
Duel
.
GetFieldGroup
(
p
,
LOCATION_EXTRA
,
0
)
if
#
g2
>
0
then
Duel
.
ConfirmCards
(
p
,
g
+
g2
,
true
)
end
end
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_SPSUMMON_PROC_G
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetRange
(
LOCATION_DECK
)
e3
:
SetCondition
(
s
.
athcon
)
c
:
RegisterEffect
(
e3
)
end
function
s
.
mark_as_faceup
(
c
)
c
:
ReverseInDeck
()
...
...
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