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
Crescent/毛虫
pre-release-database-cdb
Commits
d4dd2a0f
Commit
d4dd2a0f
authored
Oct 14, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
0de5b088
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
TW02.cdb
TW02.cdb
+0
-0
script/c100227042.lua
script/c100227042.lua
+4
-4
script/c100227043.lua
script/c100227043.lua
+1
-1
script/c100227044.lua
script/c100227044.lua
+1
-1
script/c100227045.lua
script/c100227045.lua
+1
-1
No files found.
TW02.cdb
View file @
d4dd2a0f
No preview for this file type
script/c100227042.lua
View file @
d4dd2a0f
...
...
@@ -41,17 +41,17 @@ end
function
s
.
spfilter1
(
c
,
e
,
tp
,
ec
)
return
c
:
IsSetCard
(
0x47
)
and
not
c
:
IsRace
(
RACE_ROCK
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
(
c
:
IsLocation
(
LOCATION_
DECK
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
(
c
:
IsLocation
(
LOCATION_
GRAVE
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
ec
,
c
)
>
0
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
spfilter1
,
tp
,
LOCATION_
DECK
+
LOCATION_EXTRA
,
0
,
2
,
nil
,
e
,
tp
,
e
:
GetHandler
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_
DECK
+
LOCATION_EXTRA
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
spfilter1
,
tp
,
LOCATION_
GRAVE
+
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
e
:
GetHandler
())
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_
GRAVE
+
LOCATION_EXTRA
)
end
function
s
.
spfilter2
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x47
)
and
not
c
:
IsRace
(
RACE_ROCK
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
(
c
:
IsLocation
(
LOCATION_
DECK
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
and
(
c
:
IsLocation
(
LOCATION_
GRAVE
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
or
c
:
IsLocation
(
LOCATION_EXTRA
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
)
end
function
s
.
ftfilter
(
c
)
...
...
script/c100227043.lua
View file @
d4dd2a0f
...
...
@@ -74,7 +74,7 @@ function s.sumfilter(c)
return
c
:
IsSetCard
(
0x47
)
and
c
:
IsSummonable
(
true
,
nil
)
end
function
s
.
sumtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
sumfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
Is
PlayerCanSummon
(
tp
)
and
Duel
.
Is
ExistingMatchingCard
(
s
.
sumfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SUMMON
,
nil
,
1
,
0
,
0
)
end
function
s
.
sumop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c100227044.lua
View file @
d4dd2a0f
...
...
@@ -87,7 +87,7 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
5
00
)
e1
:
SetValue
(
10
00
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
)
end
...
...
script/c100227045.lua
View file @
d4dd2a0f
...
...
@@ -85,7 +85,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if
e
:
GetLabel
()
==
1
then
local
chkf
=
tp
local
mg1
=
Duel
.
GetFusionMaterial
(
tp
):
Filter
(
s
.
filter1
,
nil
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
s
.
filter0
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
mg2
=
Duel
.
GetMatchingGroup
(
s
.
filter0
,
tp
,
LOCATION_DECK
+
LOCATION_EXTRA
,
0
,
nil
)
mg1
:
Merge
(
mg2
)
local
sg1
=
Duel
.
GetMatchingGroup
(
s
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg1
,
nil
,
chkf
)
local
mg3
=
nil
...
...
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