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
26919cfe
Commit
26919cfe
authored
Feb 19, 2022
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9bee6857
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
12 deletions
+13
-12
expansions/script/c15000682.lua
expansions/script/c15000682.lua
+3
-3
expansions/script/c33200105.lua
expansions/script/c33200105.lua
+2
-1
expansions/script/c33200118.lua
expansions/script/c33200118.lua
+1
-1
expansions/script/c33200509.lua
expansions/script/c33200509.lua
+4
-0
expansions/script/c9910871.lua
expansions/script/c9910871.lua
+3
-7
No files found.
expansions/script/c15000682.lua
View file @
26919cfe
...
@@ -210,11 +210,11 @@ end
...
@@ -210,11 +210,11 @@ end
function
cm
.
sp2con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
sp2con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetEquipTarget
()
return
e
:
GetHandler
():
GetEquipTarget
()
end
end
function
cm
.
sp
2
filter
(
c
,
e
,
tp
)
function
cm
.
sp
3
filter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x5f3c
)
and
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_LINK
,
tp
,
false
,
true
)
return
c
:
IsSetCard
(
0x5f3c
)
and
c
:
IsType
(
TYPE_LINK
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_LINK
,
tp
,
false
,
true
)
end
end
function
cm
.
sp2tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
sp2tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
sp
2
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
cm
.
sp
3
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
)
end
end
function
cm
.
sp2cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
sp2cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -227,7 +227,7 @@ function cm.sp2op(e,tp,eg,ep,ev,re,r,rp)
...
@@ -227,7 +227,7 @@ function cm.sp2op(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
sp
2
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
sp
3
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
if
tc
then
if
tc
then
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_LINK
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_LINK
,
tp
,
tp
,
false
,
true
,
POS_FACEUP
)
end
end
...
...
expansions/script/c33200105.lua
View file @
26919cfe
...
@@ -65,7 +65,8 @@ function c33200105.smtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -65,7 +65,8 @@ function c33200105.smtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33200105
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33200105
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
33200105
,
0
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
33200105
,
0
))
Duel
.
SelectTarget
(
tp
,
c33200105
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c33200105
.
filter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
HintSelection
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
end
function
c33200105
.
smop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33200105
.
smop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c33200118.lua
View file @
26919cfe
...
@@ -62,7 +62,7 @@ function c33200118.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -62,7 +62,7 @@ function c33200118.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetCode
(
EFFECT_SET_ATTACK_FINAL
)
e1
:
SetValue
(
0
)
e1
:
SetValue
(
0
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
at
:
RegisterEffect
(
e1
)
at
:
RegisterEffect
(
e1
)
end
end
end
end
expansions/script/c33200509.lua
View file @
26919cfe
...
@@ -77,6 +77,8 @@ function c33200509.tzop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -77,6 +77,8 @@ function c33200509.tzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Recover
(
tp
,
800
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
800
,
REASON_EFFECT
)
end
end
else
Duel
.
ShuffleDeck
(
tp
)
end
end
else
else
Duel
.
ConfirmDecktop
(
tp
,
5
)
Duel
.
ConfirmDecktop
(
tp
,
5
)
...
@@ -101,6 +103,8 @@ function c33200509.tzop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -101,6 +103,8 @@ function c33200509.tzop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Recover
(
tp
,
800
,
REASON_EFFECT
)
Duel
.
Recover
(
tp
,
800
,
REASON_EFFECT
)
end
end
else
Duel
.
ShuffleDeck
(
tp
)
end
end
end
end
end
end
\ No newline at end of file
expansions/script/c9910871.lua
View file @
26919cfe
...
@@ -72,7 +72,6 @@ function c9910871.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -72,7 +72,6 @@ function c9910871.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
)
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
)
aux
.
FCheckAdditional
=
c9910871
.
fcheck
aux
.
FCheckAdditional
=
c9910871
.
fcheck
local
res
=
Duel
.
IsExistingMatchingCard
(
c9910871
.
spfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
res
=
Duel
.
IsExistingMatchingCard
(
c9910871
.
spfilter1
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
if
res
then
return
true
end
local
mg2
=
Duel
.
GetMatchingGroup
(
c9910871
.
mfilter2
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
)
local
mg2
=
Duel
.
GetMatchingGroup
(
c9910871
.
mfilter2
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
nil
)
mg2
:
Merge
(
mg1
)
mg2
:
Merge
(
mg1
)
local
mg3
=
Duel
.
GetMatchingGroup
(
c9910871
.
mfilter3
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
mg3
=
Duel
.
GetMatchingGroup
(
c9910871
.
mfilter3
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
...
@@ -81,16 +80,13 @@ function c9910871.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -81,16 +80,13 @@ function c9910871.target(e,tp,eg,ep,ev,re,r,rp,chk)
mg4
:
Merge
(
mg1
)
mg4
:
Merge
(
mg1
)
aux
.
FCheckAdditional
=
c9910871
.
fcheck2
aux
.
FCheckAdditional
=
c9910871
.
fcheck2
aux
.
GCheckAdditional
=
c9910871
.
gcheck2
aux
.
GCheckAdditional
=
c9910871
.
gcheck2
res
=
Duel
.
IsExistingMatchingCard
(
c9910871
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg2
,
nil
,
chkf
,
9910881
)
res
=
res
or
Duel
.
IsExistingMatchingCard
(
c9910871
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg2
,
nil
,
chkf
,
9910881
)
if
res
then
return
true
end
aux
.
FCheckAdditional
=
c9910871
.
fcheck3
aux
.
FCheckAdditional
=
c9910871
.
fcheck3
aux
.
GCheckAdditional
=
c9910871
.
gcheck3
(
tp
)
aux
.
GCheckAdditional
=
c9910871
.
gcheck3
(
tp
)
res
=
Duel
.
IsExistingMatchingCard
(
c9910871
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg3
,
nil
,
chkf
,
9910885
)
res
=
res
or
Duel
.
IsExistingMatchingCard
(
c9910871
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg3
,
nil
,
chkf
,
9910885
)
if
res
then
return
true
end
aux
.
FCheckAdditional
=
c9910871
.
fcheck4
aux
.
FCheckAdditional
=
c9910871
.
fcheck4
aux
.
GCheckAdditional
=
c9910871
.
gcheck4
aux
.
GCheckAdditional
=
c9910871
.
gcheck4
res
=
Duel
.
IsExistingMatchingCard
(
c9910871
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg4
,
nil
,
chkf
,
9910890
)
res
=
res
or
Duel
.
IsExistingMatchingCard
(
c9910871
.
spfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg4
,
nil
,
chkf
,
9910890
)
if
res
then
return
true
end
aux
.
FCheckAdditional
=
c9910871
.
fcheck
aux
.
FCheckAdditional
=
c9910871
.
fcheck
aux
.
GCheckAdditional
=
nil
aux
.
GCheckAdditional
=
nil
if
not
res
then
if
not
res
then
...
...
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