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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
3e685d40
Commit
3e685d40
authored
Aug 11, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
5c20f6ab
Pipeline
#4630
passed with stages
in 19 minutes and 26 seconds
Changes
10
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
14 additions
and
13 deletions
+14
-13
expansions/script/c12038005.lua
expansions/script/c12038005.lua
+1
-1
expansions/script/c20000000.lua
expansions/script/c20000000.lua
+1
-1
expansions/script/c20000002.lua
expansions/script/c20000002.lua
+1
-1
expansions/script/c20000004.lua
expansions/script/c20000004.lua
+4
-3
expansions/script/c20000006.lua
expansions/script/c20000006.lua
+1
-1
expansions/script/c20000011.lua
expansions/script/c20000011.lua
+1
-1
expansions/script/c20000012.lua
expansions/script/c20000012.lua
+1
-1
expansions/script/c33400813.lua
expansions/script/c33400813.lua
+2
-2
expansions/script/c33711104.lua
expansions/script/c33711104.lua
+1
-1
expansions/script/c64800049.lua
expansions/script/c64800049.lua
+1
-1
No files found.
expansions/script/c12038005.lua
View file @
3e685d40
...
...
@@ -59,7 +59,7 @@ function cm.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
ex
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
ex
:
SetTargetRange
(
LOCATION_HAND
,
LOCATION_HAND
)
ex
:
SetProperty
(
EFFECT_FLAG_SET_AVAILABLE
)
ex
1
:
SetTarget
(
function
(
e
,
c
)
ex
:
SetTarget
(
function
(
e
,
c
)
return
c
:
GetFlagEffect
(
m
)
>
0
and
c
:
IsPublic
()
end
)
Duel
.
RegisterEffect
(
ex
,
tp
)
...
...
expansions/script/c20000000.lua
View file @
3e685d40
...
...
@@ -10,7 +10,7 @@ function c20000000.initial_effect(c)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
20000000
,
0
))
e2
:
SetCategory
(
CATEGORY_
HANDES
+
CATEGORY_SEARCH
)
e2
:
SetCategory
(
CATEGORY_
TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCountLimit
(
1
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
expansions/script/c20000002.lua
View file @
3e685d40
...
...
@@ -8,7 +8,7 @@ function c20000002.initial_effect(c)
--SearchCard
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
20000002
,
0
))
e2
:
SetCategory
(
CATEGORY_SEARCH
)
e2
:
SetCategory
(
CATEGORY_
TOHAND
+
CATEGORY_
SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetCountLimit
(
1
)
e2
:
SetRange
(
LOCATION_FZONE
)
...
...
expansions/script/c20000004.lua
View file @
3e685d40
--对过去的告别
function
c20000004
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_
TOGRAVE
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_
DESTROY
+
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -37,10 +37,11 @@ function c20000004.tg1(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c20000004
.
op1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
g
=
Duel
.
GetMatchingGroup
(
c20000004
.
tgf1
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c20000004
.
tgf1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c20000004
.
tgf1
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
...
...
expansions/script/c20000006.lua
View file @
3e685d40
...
...
@@ -23,7 +23,7 @@ function c20000006.initial_effect(c)
e3
:
SetOperation
(
c20000006
.
op3
)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_
REMOVE
+
CATEGORY_
SEARCH
)
e4
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetRange
(
LOCATION_GRAVE
)
...
...
expansions/script/c20000011.lua
View file @
3e685d40
...
...
@@ -6,7 +6,7 @@ function c20000011.initial_effect(c)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_
REMOVE
+
CATEGORY_
SEARCH
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
...
...
expansions/script/c20000012.lua
View file @
3e685d40
...
...
@@ -6,7 +6,7 @@ function c20000012.initial_effect(c)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_
REMOVE
)
e2
:
SetCategory
(
CATEGORY_
TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
...
...
expansions/script/c33400813.lua
View file @
3e685d40
...
...
@@ -107,8 +107,8 @@ end
function
cm
.
tgfilter
(
e
,
c
)
return
c
:
IsSetCard
(
0xa341
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
function
cm
.
imfilter
(
e
,
re
)
return
e
:
GetOwnerPlayer
()
~=
re
:
GetOwnerPlayer
()
and
not
e
:
GetHandler
():
GetColumnGroup
():
IsContains
(
re
:
GetHandler
()
)
function
cm
.
imfilter
(
e
,
c
)
return
not
e
:
GetHandler
():
GetColumnGroup
():
IsContains
(
c
)
end
function
cm
.
stcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c33711104.lua
View file @
3e685d40
...
...
@@ -17,7 +17,7 @@ function c33711104.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
,
33711104
)
e1
:
SetTarget
(
c33711104
.
thtg
)
e1
:
SetOperation
(
c33711104
.
thop
)
c
:
RegisterEffect
(
e1
)
...
...
expansions/script/c64800049.lua
View file @
3e685d40
...
...
@@ -42,7 +42,7 @@ function cm.initial_effect(c)
end
cm
.
setname
=
"Devildiocese"
function
cm
.
aclimit0
(
e
,
re
,
tp
)
return
re
:
GetHandler
():
GetRace
()
~=
RACE_FIEND
return
not
re
:
GetHandler
():
IsRace
(
RACE_FIEND
)
end
function
cm
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
tp
...
...
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