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
4407a968
Commit
4407a968
authored
Jan 25, 2026
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
260125 wd
parent
23366b81
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
279 additions
and
0 deletions
+279
-0
expansions/lflist.conf
expansions/lflist.conf
+1
-0
expansions/no42.cdb
expansions/no42.cdb
+0
-0
expansions/pics/12847200.jpg
expansions/pics/12847200.jpg
+0
-0
expansions/script/c12847200.lua
expansions/script/c12847200.lua
+274
-0
expansions/strings.conf
expansions/strings.conf
+4
-0
No files found.
expansions/lflist.conf
View file @
4407a968
...
...
@@ -41,6 +41,7 @@
130002004
0
130002005
0
#WILD, I say WILD, WAHAHA
12847200
0
17339110
0
17339120
0
17331930
0
...
...
expansions/no42.cdb
View file @
4407a968
No preview for this file type
expansions/pics/12847200.jpg
0 → 100644
View file @
4407a968
113 KB
expansions/script/c12847200.lua
0 → 100644
View file @
4407a968
--师徒之绊
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
46986414
,
38033121
,
13604200
,
60709218
,
86509711
,
75190122
,
1784686
)
--change
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetCode
(
EVENT_PHASE_START
+
PHASE_DRAW
)
e1
:
SetRange
(
0xff
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_DUEL
)
e1
:
SetOperation
(
s
.
chop
)
c
:
RegisterEffect
(
e1
)
end
function
s
.
check
(
c
)
return
c
:
GetOriginalCode
()
==
id
end
function
s
.
chop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
cg
=
Duel
.
GetMatchingGroup
(
s
.
check
,
tp
,
0xff
,
0
,
nil
)
if
#
cg
>=
2
then
local
ag
=
cg
:
RandomSelect
(
tp
,
#
cg
-
1
)
for
tc
in
aux
.
Next
(
ag
)
do
tc
:
SetEntityCode
(
46986414
)
if
not
tc
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
ConfirmCards
(
tp
,
tc
)
end
end
end
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Hint
(
HINT_OPSELECTED
,
0
,
aux
.
Stringid
(
id
,
5
))
--
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
e0
:
SetCode
(
EFFECT_CANNOT_SUMMON
)
e0
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e0
:
SetTargetRange
(
1
,
0
)
e0
:
SetTarget
(
s
.
splimit1
)
Duel
.
RegisterEffect
(
e0
,
tp
)
local
e0_1
=
Effect
.
CreateEffect
(
c
)
e0_1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
Duel
.
RegisterEffect
(
e0_1
,
tp
)
local
e0_2
=
Effect
.
CreateEffect
(
c
)
e0_2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e0_2
:
SetType
(
EFFECT_TYPE_FIELD
)
e0_2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CLIENT_HINT
)
e0_2
:
SetTargetRange
(
1
,
0
)
Duel
.
RegisterEffect
(
e0_2
,
tp
)
--
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SUMMON_PROC
)
e1
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCondition
(
s
.
ntcon
)
e1
:
SetTarget
(
s
.
filter0
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e1_1
=
Effect
.
CreateEffect
(
c
)
e1_1
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e1_1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1_1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CLIENT_HINT
)
e1_1
:
SetTargetRange
(
1
,
0
)
Duel
.
RegisterEffect
(
e1_1
,
tp
)
--
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
3
))
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_EXTRA_SUMMON_COUNT
)
e2
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e2
:
SetTargetRange
(
LOCATION_HAND
+
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsCode
,
46986414
))
Duel
.
RegisterEffect
(
e2
,
tp
)
local
e2_1
=
Effect
.
CreateEffect
(
c
)
e2_1
:
SetDescription
(
aux
.
Stringid
(
id
,
4
))
e2_1
:
SetType
(
EFFECT_TYPE_FIELD
)
e2_1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CLIENT_HINT
)
e2_1
:
SetTargetRange
(
1
,
0
)
Duel
.
RegisterEffect
(
e2_1
,
tp
)
--
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
6
))
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e3
:
SetCondition
(
s
.
drcon
)
e3
:
SetOperation
(
s
.
drop
)
Duel
.
RegisterEffect
(
e3
,
tp
)
--
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
id
,
9
))
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e4
:
SetCondition
(
s
.
setcon
)
e4
:
SetOperation
(
s
.
setop
)
Duel
.
RegisterEffect
(
e4
,
tp
)
--
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
id
,
11
))
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
e5
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e5
:
SetCondition
(
s
.
adcon
)
e5
:
SetOperation
(
s
.
adop
)
Duel
.
RegisterEffect
(
e5
,
tp
)
--
local
e6
=
Effect
.
CreateEffect
(
c
)
e6
:
SetDescription
(
aux
.
Stringid
(
id
,
12
))
e6
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e6
:
SetCode
(
EVENT_FREE_CHAIN
)
e6
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
+
EFFECT_FLAG_CANNOT_DISABLE
)
e6
:
SetCondition
(
function
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentChain
()
==
0
and
Duel
.
IsMainPhase
()
end
)
Duel
.
RegisterEffect
(
e6
,
tp
)
--
c
:
SetEntityCode
(
46986414
)
if
not
c
:
IsLocation
(
LOCATION_HAND
)
then
Duel
.
ConfirmCards
(
tp
,
c
)
end
if
Duel
.
GetMatchingGroupCount
(
Card
.
IsOriginalCodeRule
,
tp
,
0xff
,
0
,
nil
,
46986414
)
>
3
then
Debug
.
Message
(
"因违反卡组只能投入三张同名卡的规则而判负"
)
local
WIN_REASON_CREATORGOD
=
0x13
Duel
.
Win
(
1
-
tp
,
WIN_REASON_CREATORGOD
)
end
end
function
s
.
filter0
(
e
,
c
)
return
c
:
IsCode
(
46986414
,
38033121
)
end
function
s
.
ntcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
return
minc
==
0
and
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>
0
end
function
s
.
splimit1
(
e
,
c
)
return
not
c
:
IsRace
(
RACE_SPELLCASTER
)
and
not
c
:
IsLocation
(
LOCATION_EXTRA
)
end
function
s
.
thfilter
(
c
)
return
c
:
IsCode
(
46986414
)
end
function
s
.
cfilter
(
c
)
return
aux
.
IsCodeListed
(
c
,
46986414
)
and
not
c
:
IsPublic
()
end
function
s
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentChain
()
==
0
and
Duel
.
IsMainPhase
()
and
Duel
.
GetFlagEffect
(
tp
,
id
)
==
0
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
>
0
end
function
s
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Hint
(
HINT_OPSELECTED
,
0
,
aux
.
Stringid
(
id
,
6
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
#
sg
>
0
and
Duel
.
SendtoDeck
(
sg
,
nil
,
1
,
REASON_RULE
)
>
0
then
local
res
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
46986414
)
and
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
local
op
=
aux
.
SelectFromOptions
(
tp
,{
true
,
aux
.
Stringid
(
id
,
7
)},{
res
,
aux
.
Stringid
(
id
,
8
)})
if
op
==
1
then
Duel
.
Draw
(
tp
,
1
,
REASON_RULE
)
elseif
op
==
2
then
local
sg2
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
#
sg2
>
0
then
Duel
.
SendtoHand
(
sg2
,
nil
,
REASON_RULE
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg2
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_REMOVE
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetTargetRange
(
1
,
1
)
e1
:
SetValue
(
1
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EFFECT_CANNOT_TO_DECK
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
DiscardDeck
(
tp
,
1
,
REASON_RULE
)
e1
:
Reset
()
e2
:
Reset
()
end
end
end
Duel
.
RegisterFlagEffect
(
tp
,
id
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
s
.
cfilter2
(
c
)
return
c
:
IsCode
(
46986414
,
38033121
)
and
not
c
:
IsPublic
()
end
function
s
.
setfilter
(
c
)
return
c
:
IsCode
(
13604200
,
60709218
,
86509711
)
end
function
s
.
tffilter
(
c
)
return
c
:
IsCode
(
46986414
,
38033121
)
end
function
s
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentChain
()
==
0
and
Duel
.
IsMainPhase
()
and
Duel
.
GetFlagEffect
(
tp
,
id
+
o
)
==
0
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Hint
(
HINT_OPSELECTED
,
0
,
aux
.
Stringid
(
id
,
9
))
local
g1
=
Duel
.
GetMatchingGroup
(
s
.
cfilter2
,
tp
,
LOCATION_HAND
,
0
,
nil
)
local
g2
=
Duel
.
GetMatchingGroup
(
s
.
setfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
ct1
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
local
ct2
=
g2
:
GetClassCount
(
Card
.
GetCode
)
if
ct2
<=
ct1
then
ct2
=
ct1
end
if
ct2
<=#
g1
then
ct2
=#
g1
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
sg1
=
g1
:
Select
(
tp
,
1
,
ct2
,
nil
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg1
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
sg2
=
g2
:
SelectSubGroup
(
tp
,
aux
.
dncheck
,
false
,
#
sg1
,
#
sg1
,
nil
)
if
#
sg2
==
0
then
return
end
for
tc
in
aux
.
Next
(
sg2
)
do
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEDOWN
,
true
)
if
tc
:
IsType
(
TYPE_QUICKPLAY
)
then
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetCode
(
EFFECT_QP_ACT_IN_SET_TURN
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
if
tc
:
IsType
(
TYPE_TRAP
)
then
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
e2
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e2
)
end
end
Duel
.
ConfirmCards
(
1
-
tp
,
sg2
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
sg3
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
tffilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
MoveToField
(
sg3
:
GetFirst
(),
tp
,
tp
,
LOCATION_MZONE
,
POS_FACEUP_ATTACK
,
true
)
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
,
0
,
0
,
1
)
end
function
s
.
cfilter4
(
c
)
return
c
:
IsCode
(
60709218
)
and
not
c
:
IsPublic
()
end
function
s
.
adcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
res
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
>
0
return
Duel
.
GetCurrentChain
()
==
0
and
Duel
.
IsMainPhase
()
and
Duel
.
GetFlagEffect
(
tp
,
id
+
o
*
2
)
==
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
and
(
res
or
Duel
.
IsExistingMatchingCard
(
s
.
cfilter4
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
))
end
function
s
.
adop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
id
)
Duel
.
Hint
(
HINT_OPSELECTED
,
0
,
aux
.
Stringid
(
id
,
11
))
local
check
=
false
local
res
=
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_ONFIELD
)
>
0
if
res
and
not
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
13
))
then
if
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_RULE
,
nil
)
>
0
then
check
=
true
end
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
cg
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
cfilter4
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
#
cg
>
0
then
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
Duel
.
ShuffleHand
(
tp
)
if
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_RULE
,
nil
)
>
0
then
check
=
true
end
end
end
if
check
then
local
token1
=
Duel
.
CreateToken
(
tp
,
1784686
)
Duel
.
SendtoHand
(
token1
,
nil
,
REASON_RULE
)
Duel
.
ConfirmCards
(
1
-
tp
,
token1
)
Duel
.
BreakEffect
()
local
token2
=
Duel
.
CreateToken
(
tp
,
75190122
)
Duel
.
SendtoDeck
(
token2
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
tp
,
token2
)
Duel
.
ConfirmCards
(
1
-
tp
,
token2
)
end
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
*
2
,
0
,
0
,
1
)
end
\ No newline at end of file
expansions/strings.conf
View file @
4407a968
...
...
@@ -1681,8 +1681,12 @@
#tdd
!
setname
0
x6f44
无海
#做完大黑开始睡觉 2403798438 12 0x240-0x24f
!
setname
0
x5240
元素百科全书
#???
!
setname
0
x3754
纯白义勇队
!
setname
0
xa53b
蚀茧
#TYGOC Submissions
#Desruc_6872 987
...
...
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