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
fdcaec7b
Commit
fdcaec7b
authored
Oct 16, 2021
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ba6051b8
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
21 deletions
+15
-21
expansions/script/c40009304.lua
expansions/script/c40009304.lua
+2
-2
expansions/script/c40009308.lua
expansions/script/c40009308.lua
+4
-10
expansions/script/c40009310.lua
expansions/script/c40009310.lua
+2
-2
expansions/script/c40009312.lua
expansions/script/c40009312.lua
+2
-2
expansions/script/c40009313.lua
expansions/script/c40009313.lua
+2
-2
expansions/script/c40009314.lua
expansions/script/c40009314.lua
+2
-2
expansions/script/c82224002.lua
expansions/script/c82224002.lua
+1
-1
No files found.
expansions/script/c40009304.lua
View file @
fdcaec7b
...
...
@@ -60,7 +60,7 @@ function c40009304.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToExtraAsCost
()
end
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
0
,
REASON_COST
)
end
function
c40009304
.
spfilter
(
c
,
sync
)
function
c40009304
.
spfilter
(
c
,
tp
,
sync
)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
bit
.
band
(
c
:
GetReason
(),
0x80008
)
==
0x80008
and
c
:
GetReasonCard
()
==
sync
and
c
:
IsAbleToHand
()
...
...
@@ -71,7 +71,7 @@ function c40009304.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
ct
=
mg
:
GetCount
()
if
chk
==
0
then
return
c
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
ct
>
0
and
mg
:
FilterCount
(
c40009304
.
spfilter
,
nil
,
c
)
==
ct
end
and
mg
:
FilterCount
(
c40009304
.
spfilter
,
nil
,
tp
,
c
)
==
ct
end
Duel
.
SetTargetCard
(
mg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
mg
,
ct
,
tp
,
LOCATION_GRAVE
)
...
...
expansions/script/c40009308.lua
View file @
fdcaec7b
...
...
@@ -49,21 +49,15 @@ end
function
c40009308
.
setop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c40009308
.
setfilter3
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SSet
(
tp
,
tc
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_TRAP_ACT_IN_SET_TURN
)
e1
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
if
g
:
GetCount
()
>
0
then
Duel
.
SSet
(
tp
,
g
:
GetFirst
())
end
end
function
c40009308
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToExtraAsCost
()
end
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
0
,
REASON_COST
)
end
function
c40009308
.
spfilter
(
c
,
sync
)
function
c40009308
.
spfilter
(
c
,
tp
,
sync
)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
bit
.
band
(
c
:
GetReason
(),
0x80008
)
==
0x80008
and
c
:
GetReasonCard
()
==
sync
and
c
:
IsAbleToHand
()
...
...
@@ -74,7 +68,7 @@ function c40009308.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
ct
=
mg
:
GetCount
()
if
chk
==
0
then
return
c
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
ct
>
0
and
mg
:
FilterCount
(
c40009308
.
spfilter
,
nil
,
c
)
==
ct
end
and
mg
:
FilterCount
(
c40009308
.
spfilter
,
nil
,
tp
,
c
)
==
ct
end
Duel
.
SetTargetCard
(
mg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
mg
,
ct
,
tp
,
LOCATION_GRAVE
)
...
...
expansions/script/c40009310.lua
View file @
fdcaec7b
...
...
@@ -61,7 +61,7 @@ function c40009310.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToExtraAsCost
()
end
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
0
,
REASON_COST
)
end
function
c40009310
.
spfilter
(
c
,
sync
)
function
c40009310
.
spfilter
(
c
,
tp
,
sync
)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
bit
.
band
(
c
:
GetReason
(),
0x80008
)
==
0x80008
and
c
:
GetReasonCard
()
==
sync
and
c
:
IsAbleToHand
()
...
...
@@ -72,7 +72,7 @@ function c40009310.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
ct
=
mg
:
GetCount
()
if
chk
==
0
then
return
c
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
ct
>
0
and
mg
:
FilterCount
(
c40009310
.
spfilter
,
nil
,
c
)
==
ct
end
and
mg
:
FilterCount
(
c40009310
.
spfilter
,
nil
,
tp
,
c
)
==
ct
end
Duel
.
SetTargetCard
(
mg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
mg
,
ct
,
tp
,
LOCATION_GRAVE
)
...
...
expansions/script/c40009312.lua
View file @
fdcaec7b
...
...
@@ -41,7 +41,7 @@ function c40009312.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToExtraAsCost
()
end
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
0
,
REASON_COST
)
end
function
c40009312
.
spfilter
(
c
,
sync
)
function
c40009312
.
spfilter
(
c
,
tp
,
sync
)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
bit
.
band
(
c
:
GetReason
(),
0x80008
)
==
0x80008
and
c
:
GetReasonCard
()
==
sync
and
c
:
IsAbleToHand
()
...
...
@@ -52,7 +52,7 @@ function c40009312.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
ct
=
mg
:
GetCount
()
if
chk
==
0
then
return
c
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
ct
>
0
and
mg
:
FilterCount
(
c40009312
.
spfilter
,
nil
,
c
)
==
ct
end
and
mg
:
FilterCount
(
c40009312
.
spfilter
,
nil
,
tp
,
c
)
==
ct
end
Duel
.
SetTargetCard
(
mg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
mg
,
ct
,
tp
,
LOCATION_GRAVE
)
...
...
expansions/script/c40009313.lua
View file @
fdcaec7b
...
...
@@ -50,7 +50,7 @@ function c40009313.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToExtraAsCost
()
end
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
0
,
REASON_COST
)
end
function
c40009313
.
spfilter
(
c
,
sync
)
function
c40009313
.
spfilter
(
c
,
tp
,
sync
)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
bit
.
band
(
c
:
GetReason
(),
0x80008
)
==
0x80008
and
c
:
GetReasonCard
()
==
sync
and
c
:
IsAbleToHand
()
...
...
@@ -61,7 +61,7 @@ function c40009313.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
ct
=
mg
:
GetCount
()
if
chk
==
0
then
return
c
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
ct
>
0
and
mg
:
FilterCount
(
c40009313
.
spfilter
,
nil
,
c
)
==
ct
end
and
mg
:
FilterCount
(
c40009313
.
spfilter
,
nil
,
tp
,
c
)
==
ct
end
Duel
.
SetTargetCard
(
mg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
mg
,
ct
,
tp
,
LOCATION_GRAVE
)
...
...
expansions/script/c40009314.lua
View file @
fdcaec7b
...
...
@@ -109,7 +109,7 @@ function c40009314.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToExtraAsCost
()
end
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
0
,
REASON_COST
)
end
function
c40009314
.
spfilter
(
c
,
sync
)
function
c40009314
.
spfilter
(
c
,
tp
,
sync
)
return
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
bit
.
band
(
c
:
GetReason
(),
0x80008
)
==
0x80008
and
c
:
GetReasonCard
()
==
sync
and
c
:
IsAbleToHand
()
...
...
@@ -120,7 +120,7 @@ function c40009314.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
ct
=
mg
:
GetCount
()
if
chk
==
0
then
return
c
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
ct
>
0
and
mg
:
FilterCount
(
c40009314
.
spfilter
,
nil
,
c
)
==
ct
end
and
mg
:
FilterCount
(
c40009314
.
spfilter
,
nil
,
tp
,
c
)
==
ct
end
Duel
.
SetTargetCard
(
mg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
mg
,
ct
,
tp
,
LOCATION_GRAVE
)
...
...
expansions/script/c82224002.lua
View file @
fdcaec7b
...
...
@@ -18,7 +18,7 @@ function c82224002.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c82224002
.
handcon
(
e
)
return
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
>
5
return
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
>
=
5
end
function
c82224002
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
...
...
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