Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
845a1b77
Commit
845a1b77
authored
Apr 03, 2024
by
聖園ミカ
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
null
parent
604ff35f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
60 deletions
+0
-60
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/pics/60000054.jpg
expansions/pics/60000054.jpg
+0
-0
expansions/script/c60001232.lua
expansions/script/c60001232.lua
+0
-60
No files found.
expansions/222DIY.cdb
View file @
845a1b77
No preview for this file type
expansions/pics/6000
1232
.jpg
→
expansions/pics/6000
0054
.jpg
View file @
845a1b77
File moved
expansions/script/c60001232.lua
deleted
100644 → 0
View file @
604ff35f
--孤独星球
local
m
=
60001232
local
cm
=
_G
[
"c"
..
m
]
cm
.
name
=
"孤独星球"
function
cm
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkType
,
TYPE_EFFECT
),
1
,
1
)
c
:
EnableReviveLimit
()
--open
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
cm
.
toss_dice
=
true
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
d1
,
d2
=
Duel
.
TossDice
(
tp
,
2
)
if
d1
==
1
or
d2
==
1
then
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_REMOVED
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
end
if
d1
==
2
or
d2
==
2
then
if
Duel
.
GetFlagEffect
(
tp
,
60001228
)
==
0
then
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
else
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
end
end
if
d1
==
3
or
d2
==
3
then
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
end
if
d1
==
4
or
d2
==
4
then
if
Duel
.
GetFlagEffect
(
tp
,
60001229
)
==
0
then
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
else
Duel
.
SetLP
(
1
-
tp
,
math.ceil
(
Duel
.
GetLP
(
1
-
tp
)
/
2
))
end
end
if
d1
==
5
or
d2
==
5
then
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0
,
LOCATION_GRAVE
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
end
if
d1
==
6
or
d2
==
6
then
if
Duel
.
GetFlagEffect
(
tp
,
60001230
)
==
0
then
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
else
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
ttkfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
end
end
end
function
cm
.
ttkfilter
(
c
)
return
c
:
IsCode
(
60000055
)
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