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
Mr.Tan
pre-release-database-cdb
Commits
8827654d
Commit
8827654d
authored
Feb 08, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update code for 光の黄金櫃
parent
24c59c0f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
INFO.cdb
INFO.cdb
+0
-0
script/c101205006.lua
script/c101205006.lua
+3
-3
script/c101205069.lua
script/c101205069.lua
+3
-3
No files found.
INFO.cdb
View file @
8827654d
No preview for this file type
script/c101205006.lua
View file @
8827654d
--
黑色魔术师-黑魔术师
--
黒き魔術師-ブラック・マジシャン
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
101204051
)
aux
.
AddCodeList
(
c
,
79791878
)
aux
.
EnableChangeCode
(
c
,
46986414
)
aux
.
EnableChangeCode
(
c
,
46986414
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
s
.
cfilter1
(
c
)
function
s
.
cfilter1
(
c
)
return
c
:
IsCode
(
101204051
)
and
c
:
IsFaceup
()
return
c
:
IsCode
(
79791878
)
and
c
:
IsFaceup
()
end
end
function
s
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
...
...
script/c101205069.lua
View file @
8827654d
--黒魔術のバリア-ミラーフォース-
--黒魔術のバリア-ミラーフォース-
local
s
,
id
,
o
=
GetID
()
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
101204051
,
46986414
)
aux
.
AddCodeList
(
c
,
79791878
,
46986414
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DAMAGE
)
e1
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
@@ -16,7 +16,7 @@ function s.initial_effect(c)
...
@@ -16,7 +16,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
s
.
cfilter1
(
c
)
function
s
.
cfilter1
(
c
)
return
aux
.
IsCodeListed
(
c
,
101204051
)
and
c
:
IsFaceup
()
return
aux
.
IsCodeListed
(
c
,
79791878
)
and
c
:
IsFaceup
()
end
end
function
s
.
condition1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
condition1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
tp
~=
Duel
.
GetTurnPlayer
()
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
return
tp
~=
Duel
.
GetTurnPlayer
()
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
...
@@ -52,7 +52,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
efftg
(
e
,
c
)
function
s
.
efftg
(
e
,
c
)
return
aux
.
IsCodeListed
(
c
,
101204051
)
return
aux
.
IsCodeListed
(
c
,
79791878
)
end
end
function
s
.
indct
(
e
,
re
,
r
,
rp
)
function
s
.
indct
(
e
,
re
,
r
,
rp
)
if
bit
.
band
(
r
,
REASON_BATTLE
+
REASON_EFFECT
)
~=
0
then
if
bit
.
band
(
r
,
REASON_BATTLE
+
REASON_EFFECT
)
~=
0
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