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
liucerf
pre-release-database-cdb
Commits
7b8164ef
You need to sign in or sign up before continuing.
Commit
7b8164ef
authored
Mar 27, 2025
by
zengsxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ffc21e26
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
11 deletions
+9
-11
DUAD.cdb
DUAD.cdb
+0
-0
pics/101301027.jpg
pics/101301027.jpg
+0
-0
script/c101301027.lua
script/c101301027.lua
+9
-9
script/c101301069.lua
script/c101301069.lua
+0
-2
No files found.
DUAD.cdb
View file @
7b8164ef
No preview for this file type
pics/101301027.jpg
0 → 100644
View file @
7b8164ef
50.3 KB
script/c101301027.lua
View file @
7b8164ef
...
@@ -16,14 +16,14 @@ function s.initial_effect(c)
...
@@ -16,14 +16,14 @@ function s.initial_effect(c)
e1
:
SetLabelObject
(
e0
)
e1
:
SetLabelObject
(
e0
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--destroy
--destroy
local
e
1
=
Effect
.
CreateEffect
(
c
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e
2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e
1
:
SetCategory
(
CATEGORY_DESTROY
)
e
2
:
SetCategory
(
CATEGORY_DESTROY
)
e
1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e
2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e
1
:
SetCode
(
EVENT_BATTLE_START
)
e
2
:
SetCode
(
EVENT_BATTLE_START
)
e
1
:
SetTarget
(
s
.
destg
)
e
2
:
SetTarget
(
s
.
destg
)
e
1
:
SetOperation
(
s
.
desop
)
e
2
:
SetOperation
(
s
.
desop
)
c
:
RegisterEffect
(
e
1
)
c
:
RegisterEffect
(
e
2
)
--Search
--Search
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
...
@@ -37,7 +37,7 @@ function s.initial_effect(c)
...
@@ -37,7 +37,7 @@ function s.initial_effect(c)
e3
:
SetOperation
(
s
.
thop
)
e3
:
SetOperation
(
s
.
thop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
s
.
ttcon
(
e
,
c
,
minc
)
function
s
.
ttcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
min
,
max
=
c
:
GetTributeRequirement
()
local
min
,
max
=
c
:
GetTributeRequirement
()
return
min
<=
1
and
Duel
.
CheckTribute
(
c
,
1
)
return
min
<=
1
and
Duel
.
CheckTribute
(
c
,
1
)
...
...
script/c101301069.lua
View file @
7b8164ef
...
@@ -45,8 +45,6 @@ function s.SelectSub(g1,g2,tp)
...
@@ -45,8 +45,6 @@ function s.SelectSub(g1,g2,tp)
local
finish
=
false
local
finish
=
false
while
true
do
while
true
do
finish
=#
sg1
==#
sg2
and
#
sg
>
0
finish
=#
sg1
==#
sg2
and
#
sg
>
0
Debug
.
Message
(
#
sg1
)
Debug
.
Message
(
#
sg2
)
local
sc
=
fg
:
SelectUnselect
(
sg
,
tp
,
finish
,
finish
,
2
,
max
*
2
)
local
sc
=
fg
:
SelectUnselect
(
sg
,
tp
,
finish
,
finish
,
2
,
max
*
2
)
if
not
sc
then
break
end
if
not
sc
then
break
end
if
sg
:
IsContains
(
sc
)
then
if
sg
:
IsContains
(
sc
)
then
...
...
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