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
50a3dac9
Commit
50a3dac9
authored
Dec 20, 2023
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2621f4f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
expansions/script/c71401018.lua
expansions/script/c71401018.lua
+3
-2
expansions/script/c9910947.lua
expansions/script/c9910947.lua
+1
-1
No files found.
expansions/script/c71401018.lua
View file @
50a3dac9
...
@@ -46,7 +46,6 @@ end
...
@@ -46,7 +46,6 @@ end
function
c71401018
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c71401018
.
cost2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
2
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
2
)
if
chk
==
0
then
return
g
:
FilterCount
(
Card
.
IsAbleToRemoveAsCost
,
nil
,
POS_FACEUP
)
==
2
and
Duel
.
GetCustomActivityCount
(
71401001
,
tp
,
ACTIVITY_CHAIN
)
==
0
end
if
chk
==
0
then
return
g
:
FilterCount
(
Card
.
IsAbleToRemoveAsCost
,
nil
,
POS_FACEUP
)
==
2
and
Duel
.
GetCustomActivityCount
(
71401001
,
tp
,
ACTIVITY_CHAIN
)
==
0
end
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_COST
)
Duel
.
DisableShuffleCheck
()
Duel
.
DisableShuffleCheck
()
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
yume
.
RegButterflyCostLimit
(
e
,
tp
)
yume
.
RegButterflyCostLimit
(
e
,
tp
)
...
@@ -67,6 +66,8 @@ function c71401018.filter2b(c,e,tp)
...
@@ -67,6 +66,8 @@ function c71401018.filter2b(c,e,tp)
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
(
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
))
return
c
:
IsRace
(
RACE_SPELLCASTER
)
and
c
:
IsAttribute
(
ATTRIBUTE_DARK
)
and
(
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
))
end
end
function
c71401018
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c71401018
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
check
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
--有bug,两个操作缺少判断格子
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
2
)
local
tg
=
Duel
.
GetDecktopGroup
(
1
-
tp
,
2
)
if
#
tg
==
0
then
return
end
if
#
tg
==
0
then
return
end
...
@@ -80,7 +81,7 @@ function c71401018.op2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -80,7 +81,7 @@ function c71401018.op2(e,tp,eg,ep,ev,re,r,rp)
local
oc
=
og
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
oc
=
og
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
if
oc
then
if
oc
then
local
b1
=
oc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
local
b1
=
oc
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
local
b2
=
not
oc
:
IsForbidden
()
and
oc
:
CheckUniqueOnField
(
tp
)
local
b2
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
not
oc
:
IsForbidden
()
and
oc
:
CheckUniqueOnField
(
tp
)
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
1152
,
aux
.
Stringid
(
71401001
,
5
))
==
0
)
then
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
1152
,
aux
.
Stringid
(
71401001
,
5
))
==
0
)
then
Duel
.
SpecialSummon
(
oc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
oc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
else
else
...
...
expansions/script/c9910947.lua
View file @
50a3dac9
...
@@ -27,7 +27,7 @@ function c9910947.spfilter(c,e,tp)
...
@@ -27,7 +27,7 @@ function c9910947.spfilter(c,e,tp)
return
c
:
IsSetCard
(
0x3954
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x3954
)
and
c
:
IsRace
(
RACE_WARRIOR
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c9910947
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9910947
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
()
,
REASON_EFFECT
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c9910947
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c9910947
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
...
...
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