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
zengshangxing
pre-release-database-cdb
Commits
7e31f1db
Commit
7e31f1db
authored
Jan 18, 2024
by
Amiya
Committed by
fallenstardust
Jan 18, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Master
parent
690995f7
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
script/c101204009.lua
script/c101204009.lua
+1
-1
script/c101204020.lua
script/c101204020.lua
+1
-1
script/c101204026.lua
script/c101204026.lua
+2
-1
script/c101204032.lua
script/c101204032.lua
+1
-1
No files found.
script/c101204009.lua
View file @
7e31f1db
...
...
@@ -44,7 +44,7 @@ function c101204009.filter(c)
return
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsSetCard
(
0x9b
)
and
c
:
IsFaceup
()
end
function
c101204009
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c
hkc
:
IsFaceup
(
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c
101204009
.
filter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c101204009
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c101204009
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c101204009
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
...
...
script/c101204020.lua
View file @
7e31f1db
...
...
@@ -52,7 +52,7 @@ function s.tokentg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
local
res
=
e
:
GetLabel
()
==
100
e
:
SetLabel
(
0
)
return
res
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
return
res
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
...
...
script/c101204026.lua
View file @
7e31f1db
...
...
@@ -37,9 +37,10 @@ function s.indtg(e,c)
return
c
==
tc
or
c
==
tc
:
GetBattleTarget
()
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
a
=
Duel
.
GetAttacker
()
local
d
=
Duel
.
GetAttackTarget
()
return
a
:
IsRace
(
RACE_MACHINE
+
RACE_ILLUSION
)
and
a
:
IsControler
(
tp
)
or
d
and
d
:
IsRace
(
RACE_MACHINE
+
RACE_ILLUSION
)
and
d
:
IsControler
(
tp
)
return
a
~=
c
and
a
:
IsControler
(
tp
)
and
a
:
IsRace
(
RACE_MACHINE
+
RACE_ILLUSION
)
or
d
and
a
~=
c
and
d
:
IsControler
(
tp
)
and
d
:
IsRace
(
RACE_MACHINE
+
RACE_ILLUSION
)
end
function
s
.
filter
(
c
,
e
,
tp
)
return
c
:
IsFaceupEx
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c101204032.lua
View file @
7e31f1db
...
...
@@ -46,7 +46,7 @@ function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
function
s
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
)
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
local
sc
=
e
:
GetLabelObject
()
local
g
=
Group
.
FromCards
(
c
,
sc
)
...
...
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