Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
ygopro-pre-data
Commits
4c06e038
Commit
4c06e038
authored
Feb 20, 2018
by
银龙幽影
Committed by
mercury233
Feb 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新新卡:龙之统治者 (#2)
parent
e25d6fee
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
1 deletion
+46
-1
deck/18-02-20 new cards.ydk
deck/18-02-20 new cards.ydk
+2
-1
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
picn/100241002.jpg
picn/100241002.jpg
+0
-0
pics/100241002.jpg
pics/100241002.jpg
+0
-0
script/c100241002.lua
script/c100241002.lua
+44
-0
No files found.
deck/18-02-
18
new cards.ydk
→
deck/18-02-
20
new cards.ydk
View file @
4c06e038
...
...
@@ -41,5 +41,6 @@
100408007
100226001
!side
10024100
1
10024100
2
100241004
100241001
expansions/pre-release.cdb
View file @
4c06e038
No preview for this file type
picn/100241002.jpg
0 → 100644
View file @
4c06e038
63.4 KB
pics/100241002.jpg
0 → 100644
View file @
4c06e038
21.9 KB
script/c100241002.lua
0 → 100644
View file @
4c06e038
--The King of D.
--Scripted by Eerie Code
function
c100241002
.
initial_effect
(
c
)
--change name
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetCode
(
EFFECT_CHANGE_CODE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetValue
(
17985575
)
c
:
RegisterEffect
(
e1
)
--search
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
100241002
,
0
))
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetCost
(
c100241002
.
thcost
)
e2
:
SetTarget
(
c100241002
.
thtg
)
e2
:
SetOperation
(
c100241002
.
thop
)
c
:
RegisterEffect
(
e2
)
end
function
c100241002
.
cfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsDiscardable
()
end
function
c100241002
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100241002
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
Duel
.
DiscardHand
(
tp
,
c100241002
.
cfilter
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
end
function
c100241002
.
thfilter
(
c
)
return
c
:
IsCode
(
100241004
,
43973174
,
48800175
)
and
c
:
IsAbleToHand
()
end
function
c100241002
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100241002
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c100241002
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100241002
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
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