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
2cf15a22
Commit
2cf15a22
authored
Oct 08, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 天威
parent
7fa8648e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
24 additions
and
20 deletions
+24
-20
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
SUDA.cdb
SUDA.cdb
+0
-0
script/c101207021.lua
script/c101207021.lua
+14
-13
script/c101207042.lua
script/c101207042.lua
+6
-4
script/c101207062.lua
script/c101207062.lua
+3
-2
No files found.
.gitlab-ci.yml
View file @
2cf15a22
...
...
@@ -53,7 +53,7 @@ merge_databases:
FIELDS
:
'
name,desc,overallString,picUrl'
GIT_DEPTH
:
'
1000'
OUTPUT_FILENAME
:
test-release.json
REF_COMMIT
:
'
8.
3
'
# 更新的时候改这里,修改成上一个tag的版本号
REF_COMMIT
:
'
8.
4
'
# 更新的时候改这里,修改成上一个tag的版本号
script
:
-
apt update;apt -y install wget
-
currentPath=$PWD
...
...
SUDA.cdb
View file @
2cf15a22
No preview for this file type
script/c101207021.lua
View file @
2cf15a22
--天威龍
-
スールヤ
--天威龍
-
スールヤ
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--special summon
...
...
@@ -13,16 +13,17 @@ function s.initial_effect(c)
e1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e1
)
--special summon 2
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCode
(
EVENT_BE_MATERIAL
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
e3
:
SetCondition
(
s
.
spcon2
)
e3
:
SetTarget
(
s
.
sptg2
)
e3
:
SetOperation
(
s
.
spop2
)
c
:
RegisterEffect
(
e3
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_BE_MATERIAL
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
spcon2
)
e2
:
SetTarget
(
s
.
sptg2
)
e2
:
SetOperation
(
s
.
spop2
)
c
:
RegisterEffect
(
e2
)
end
function
s
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsRace
(
RACE_WYRM
)
or
not
c
:
IsType
(
TYPE_EFFECT
))
...
...
@@ -68,6 +69,6 @@ function s.spop2(e,tp,eg,ep,ev,re,r,rp)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
Duel
.
BreakEffect
()
Duel
.
SetLP
(
tp
,
Duel
.
GetLP
(
tp
)
-
tc
:
GetLink
()
*
1000
)
Duel
.
SetLP
(
tp
,
Duel
.
GetLP
(
tp
)
-
tc
:
GetLink
()
*
1000
)
end
end
\ No newline at end of file
end
script/c101207042.lua
View file @
2cf15a22
--天威龍
-
ムーラ・アーダラ
--天威龍
-
ムーラ・アーダラ
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--Synchro summon
...
...
@@ -44,13 +44,15 @@ function s.initial_effect(c)
end
function
s
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
Duel
.
IsExistingMatchingCard
(
aux
.
AND
(
Card
.
IsFaceupEx
,
Card
.
IsRace
),
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
2
,
nil
,
RACE_WYRM
)
end
function
s
.
thfilter
(
c
)
return
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsAbleToHand
()
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
aux
.
AND
(
Card
.
IsFaceupEx
,
Card
.
IsRace
),
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
2
,
nil
,
RACE_WYRM
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -63,4 +65,4 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
function
s
.
intcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
aux
.
AND
(
aux
.
NOT
(
Card
.
IsType
),
Card
.
IsFaceup
),
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
TYPE_EFFECT
)
end
\ No newline at end of file
end
script/c101207062.lua
View file @
2cf15a22
...
...
@@ -4,6 +4,7 @@ function s.initial_effect(c)
aux
.
AddCodeList
(
c
,
51684157
,
65124425
,
39730727
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -40,7 +41,7 @@ function s.thfilter(c)
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
0
))
then
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
...
...
@@ -94,4 +95,4 @@ function s.setop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
MoveToField
(
sc
,
tp
,
tp
,
LOCATION_FZONE
,
POS_FACEUP
,
true
)
end
end
end
\ No newline at end of file
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