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
MyCard
pre-release-database-cdb
Commits
ffb59312
Commit
ffb59312
authored
Apr 01, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add new card
parent
5e1d0d63
Pipeline
#34503
passed with stages
in 1 minute and 53 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
104 additions
and
0 deletions
+104
-0
DUAD.cdb
DUAD.cdb
+0
-0
etc.cdb
etc.cdb
+0
-0
pack/2025-04-26 DUAD.ydk
pack/2025-04-26 DUAD.ydk
+1
-0
pics/101301073.jpg
pics/101301073.jpg
+0
-0
script/c101301073.lua
script/c101301073.lua
+103
-0
No files found.
DUAD.cdb
View file @
ffb59312
No preview for this file type
etc.cdb
View file @
ffb59312
No preview for this file type
pack/2025-04-26 DUAD.ydk
View file @
ffb59312
...
...
@@ -27,5 +27,6 @@
101301062
101301068
101301069
101301073
101301074
101301076
pics/101301073.jpg
0 → 100644
View file @
ffb59312
80.1 KB
script/c101301073.lua
0 → 100644
View file @
ffb59312
--春
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
c
:
EnableCounterPermit
(
0x6e
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetTarget
(
s
.
destg
)
e2
:
SetOperation
(
s
.
desop
)
c
:
RegisterEffect
(
e2
)
--atk up
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e3
:
SetRange
(
LOCATION_FZONE
)
e3
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e3
:
SetValue
(
s
.
val
)
c
:
RegisterEffect
(
e3
)
--set
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e4
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetRange
(
LOCATION_FZONE
)
e4
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e4
:
SetCondition
(
s
.
setcon
)
e4
:
SetTarget
(
s
.
settg
)
e4
:
SetOperation
(
s
.
setop
)
c
:
RegisterEffect
(
e4
)
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
>
1
end
end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
ct
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
PLAYER_NONE
,
0
)
if
ct
==
0
then
return
end
if
ct
>
4
then
ct
=
5
end
local
t
=
{}
for
i
=
1
,
ct
do
t
[
i
]
=
ct
-
i
+
1
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
id
,
2
))
local
dsc
=
Duel
.
AnnounceNumber
(
tp
,
table.unpack
(
t
))
local
dis
=
Duel
.
SelectDisableField
(
tp
,
dsc
,
LOCATION_MZONE
,
0
,
0xe000e0
)
e
:
SetLabel
(
dis
)
Duel
.
Hint
(
HINT_ZONE
,
tp
,
dis
)
if
tp
==
1
then
dis
=
((
dis
&
0xffff
)
<<
16
)
|
((
dis
>>
16
)
&
0xffff
)
end
--disable field
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetRange
(
LOCATION_FZONE
)
e2
:
SetCode
(
EFFECT_DISABLE_FIELD
)
e2
:
SetValue
(
dis
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e2
)
c
:
AddCounter
(
0x6e
,
dsc
)
end
function
s
.
val
(
e
,
c
)
return
e
:
GetHandler
():
GetCounter
(
0x6e
)
*
400
end
function
s
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
end
function
s
.
stfilter
(
c
,
tp
)
return
c
:
IsCanAddCounter
(
0x6e
,
1
)
and
c
:
IsType
(
TYPE_FIELD
)
and
not
c
:
IsForbidden
()
and
c
:
CheckUniqueOnField
(
tp
)
end
function
s
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
stfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
end
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOFIELD
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
stfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
if
tc
then
local
fc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_SZONE
,
5
)
local
ct
=
0
if
fc
then
if
fc
==
e
:
GetHandler
()
and
fc
:
GetCounter
(
0x6e
)
>
0
then
ct
=
fc
:
GetCounter
(
0x6e
)
end
Duel
.
SendtoGrave
(
fc
,
REASON_RULE
)
Duel
.
BreakEffect
()
end
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_FZONE
,
POS_FACEUP
,
true
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CANNOT_TRIGGER
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
,
true
)
if
ct
>
0
and
tc
:
IsCanAddCounter
(
0x6e
,
ct
)
then
tc
:
AddCounter
(
0x6e
,
ct
)
end
end
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