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
6c2617e8
Commit
6c2617e8
authored
Feb 13, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e1837720
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
16 deletions
+19
-16
expansions/script/c11452000.lua
expansions/script/c11452000.lua
+13
-13
expansions/script/c71402001.lua
expansions/script/c71402001.lua
+5
-2
expansions/strings.conf
expansions/strings.conf
+1
-1
No files found.
expansions/script/c11452000.lua
View file @
6c2617e8
...
@@ -42,21 +42,10 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,21 +42,10 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
local
g1r
=
g1
:
Select
(
tp
,
math.min
(
15
,
#
g1
),
math.min
(
15
,
#
g1
),
nil
)
local
g1r
=
g1
:
Select
(
tp
,
math.min
(
15
,
#
g1
),
math.min
(
15
,
#
g1
),
nil
)
local
exg1r
=
exg1
:
Select
(
tp
,
math.min
(
5
,
#
exg1
),
math.min
(
5
,
#
exg1
),
nil
)
local
exg1r
=
exg1
:
Select
(
tp
,
math.min
(
5
,
#
exg1
),
math.min
(
5
,
#
exg1
),
nil
)
if
Duel
.
Remove
(
g1r
+
exg1r
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
then
if
Duel
.
Remove
(
g1r
+
exg1r
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
then
Duel
.
SendtoDeck
(
g1r
+
exg1r
,
tp
,
1
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
g1r
+
exg1r
,
tp
,
0
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g1r
+
exg1r
)
Duel
.
ConfirmCards
(
1
-
tp
,
g1r
+
exg1r
)
sg1
=
Duel
.
GetOperatedGroup
()
sg1
=
Duel
.
GetOperatedGroup
()
end
end
sg1
=
sg1
:
Filter
(
cm
.
dfilter
,
nil
,
tp
)
if
#
sg1
>
0
then
Duel
.
ShuffleDeck
(
tp
)
local
tg
=
sg1
:
GetMinGroup
(
Card
.
GetSequence
)
while
tg
and
#
tg
>
0
do
local
tc
=
tg
:
GetFirst
()
Duel
.
MoveSequence
(
tc
,
0
)
sg1
:
RemoveCard
(
tc
)
tg
=
sg1
:
GetMinGroup
(
Card
.
GetSequence
)
end
end
if
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
m
,
0
))
then
if
Duel
.
SelectYesNo
(
1
-
tp
,
aux
.
Stringid
(
m
,
0
))
then
local
g2
=
Duel
.
GetFieldGroup
(
1
-
tp
,
0
,
LOCATION_DECK
)
local
g2
=
Duel
.
GetFieldGroup
(
1
-
tp
,
0
,
LOCATION_DECK
)
local
exg2
=
Duel
.
GetFieldGroup
(
1
-
tp
,
0
,
LOCATION_EXTRA
)
local
exg2
=
Duel
.
GetFieldGroup
(
1
-
tp
,
0
,
LOCATION_EXTRA
)
...
@@ -66,10 +55,21 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -66,10 +55,21 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
exg2r
=
exg2
:
Select
(
1
-
tp
,
math.min
(
5
,
#
exg2
),
math.min
(
5
,
#
exg2
),
nil
)
exg2r
=
exg2
:
Select
(
1
-
tp
,
math.min
(
5
,
#
exg2
),
math.min
(
5
,
#
exg2
),
nil
)
end
end
if
Duel
.
Remove
(
g2r
+
exg2r
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
then
if
Duel
.
Remove
(
g2r
+
exg2r
,
POS_FACEUP
,
REASON_EFFECT
)
>
0
then
Duel
.
SendtoDeck
(
g2r
+
exg2r
,
1
-
tp
,
1
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
g2r
+
exg2r
,
1
-
tp
,
0
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
tp
,
g2r
+
exg2r
)
Duel
.
ConfirmCards
(
tp
,
g2r
+
exg2r
)
sg2
=
Duel
.
GetOperatedGroup
()
sg2
=
Duel
.
GetOperatedGroup
()
end
end
sg1
=
sg1
:
Filter
(
cm
.
dfilter
,
nil
,
tp
)
if
#
sg1
>
0
then
Duel
.
ShuffleDeck
(
tp
)
local
tg
=
sg1
:
GetMinGroup
(
Card
.
GetSequence
)
while
tg
and
#
tg
>
0
do
local
tc
=
tg
:
GetFirst
()
Duel
.
MoveSequence
(
tc
,
0
)
sg1
:
RemoveCard
(
tc
)
tg
=
sg1
:
GetMinGroup
(
Card
.
GetSequence
)
end
end
sg2
=
sg2
:
Filter
(
cm
.
dfilter
,
nil
,
1
-
tp
)
sg2
=
sg2
:
Filter
(
cm
.
dfilter
,
nil
,
1
-
tp
)
if
#
sg2
>
0
then
if
#
sg2
>
0
then
Duel
.
ShuffleDeck
(
1
-
tp
)
Duel
.
ShuffleDeck
(
1
-
tp
)
...
...
expansions/script/c71402001.lua
View file @
6c2617e8
...
@@ -105,10 +105,13 @@ function c71402001.discon(e)
...
@@ -105,10 +105,13 @@ function c71402001.discon(e)
return
c
:
IsFaceup
()
and
(
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
return
c
:
IsFaceup
()
and
(
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
or
c
:
IsType
(
TYPE_EFFECT
)
or
c
:
GetOriginalType
()
&
TYPE_EFFECT
~=
0
)
or
c
:
IsType
(
TYPE_EFFECT
)
or
c
:
GetOriginalType
()
&
TYPE_EFFECT
~=
0
)
end
end
function
c71402001
.
filter2
(
c
)
return
not
c
:
IsPublic
()
end
function
c71402001
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c71402001
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsPublic
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c71402001
.
filter2
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsPublic
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c71402001
.
filter2
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetTargetCard
(
g
)
...
...
expansions/strings.conf
View file @
6c2617e8
...
@@ -1157,7 +1157,7 @@
...
@@ -1157,7 +1157,7 @@
!
setname
0
x5224
海爬兽
!
setname
0
x5224
海爬兽
#Qwe.3359™
#Qwe.3359™
!
counter
0
x
104
1
蓄电指示物
!
counter
0
x
637
1
蓄电指示物
#Solid Steve 988 0x980-0x98f
#Solid Steve 988 0x980-0x98f
!
setname
0
x988
寻芳精
!
setname
0
x988
寻芳精
...
...
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