Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
Amiya
pre-release-database-cdb
Commits
9366643e
Commit
9366643e
authored
Nov 29, 2023
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix format
parent
6c8d2329
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
9 deletions
+9
-9
script/c100214002.lua
script/c100214002.lua
+4
-4
script/c100214003.lua
script/c100214003.lua
+2
-2
script/c100214007.lua
script/c100214007.lua
+1
-1
script/c101203024.lua
script/c101203024.lua
+1
-1
script/c101204054.lua
script/c101204054.lua
+1
-1
No files found.
script/c100214002.lua
View file @
9366643e
...
@@ -50,15 +50,15 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -50,15 +50,15 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
spfilter
(
c
,
e
,
tp
,
check
)
function
s
.
spfilter
(
c
,
e
,
tp
,
check
)
return
c
:
IsLevelBelow
(
6
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
6
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
(
check
and
not
c
:
IsCode
(
100214002
)))
and
(
c
:
IsLocation
(
LOCATION_HAND
)
or
(
check
and
not
c
:
IsCode
(
100214002
)))
end
end
function
s
.
checkfilter
(
c
)
function
s
.
checkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
100214003
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
100214003
)
end
end
function
s
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
local
check
=
Duel
.
IsExistingMatchingCard
(
s
.
checkfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
local
check
=
Duel
.
IsExistingMatchingCard
(
s
.
checkfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
,
check
)
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
s
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
,
check
)
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
)
end
end
...
@@ -70,4 +70,4 @@ function s.spop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -70,4 +70,4 @@ function s.spop1(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
\ No newline at end of file
script/c100214003.lua
View file @
9366643e
...
@@ -36,7 +36,7 @@ function s.initial_effect(c)
...
@@ -36,7 +36,7 @@ function s.initial_effect(c)
end
end
function
s
.
stfilter
(
c
)
function
s
.
stfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x2a8
)
and
c
:
IsSSetable
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x2a8
)
and
c
:
IsSSetable
()
and
c
.
set_as_spell
and
(
not
c
:
IsLocation
(
LOCATION_MZONE
)
or
c
:
IsFaceup
())
and
c
.
set_as_spell
and
(
not
c
:
IsLocation
(
LOCATION_MZONE
)
or
c
:
IsFaceup
())
end
end
function
s
.
sttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
stfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
stfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
+
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
@@ -87,4 +87,4 @@ function s.dmop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -87,4 +87,4 @@ function s.dmop(e,tp,eg,ep,ev,re,r,rp)
if
ac
:
IsRelateToEffect
(
e
)
and
ac
:
IsControler
(
1
-
tp
)
and
ac
:
IsType
(
TYPE_MONSTER
)
then
if
ac
:
IsRelateToEffect
(
e
)
and
ac
:
IsControler
(
1
-
tp
)
and
ac
:
IsType
(
TYPE_MONSTER
)
then
Duel
.
Destroy
(
ac
,
REASON_EFFECT
)
Duel
.
Destroy
(
ac
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
script/c100214007.lua
View file @
9366643e
...
@@ -111,4 +111,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -111,4 +111,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
tc
,
nil
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
script/c101203024.lua
View file @
9366643e
...
@@ -74,4 +74,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,4 +74,4 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
e
:
GetHandler
(),
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
script/c101204054.lua
View file @
9366643e
...
@@ -75,4 +75,4 @@ function s.dactivate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -75,4 +75,4 @@ function s.dactivate(e,tp,eg,ep,ev,re,r,rp)
if
ct2
>
0
then
if
ct2
>
0
then
Duel
.
Draw
(
1
-
tp
,
ct2
,
REASON_EFFECT
)
Duel
.
Draw
(
1
-
tp
,
ct2
,
REASON_EFFECT
)
end
end
end
end
\ No newline at end of file
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