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
8d4fcc87
Commit
8d4fcc87
authored
Jul 07, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1145141919810
parent
6d2aea74
Pipeline
#14461
passed with stages
in 28 minutes and 47 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
15 deletions
+14
-15
expansions/script/c33200730.lua
expansions/script/c33200730.lua
+2
-3
expansions/script/c33200732.lua
expansions/script/c33200732.lua
+1
-2
expansions/script/c33200734.lua
expansions/script/c33200734.lua
+1
-2
expansions/script/c33200737.lua
expansions/script/c33200737.lua
+1
-2
expansions/script/c33200740.lua
expansions/script/c33200740.lua
+9
-6
No files found.
expansions/script/c33200730.lua
View file @
8d4fcc87
...
...
@@ -22,9 +22,8 @@ function c33200730.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
33200730
,
1
))
e2
:
SetCategory
(
CATEGORY_COUNTER
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
33200731
)
e2
:
SetCondition
(
c33200730
.
ccon
)
e2
:
SetTarget
(
c33200730
.
ctg
)
...
...
@@ -83,7 +82,7 @@ end
--e2
function
c33200730
.
ccon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_
ONFIELD
)
and
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_
MZONE
)
and
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
function
c33200730
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCanAddCounter
(
0x32a
,
2
)
...
...
expansions/script/c33200732.lua
View file @
8d4fcc87
...
...
@@ -20,9 +20,8 @@ function c33200732.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
33200732
,
1
))
e2
:
SetCategory
(
CATEGORY_COUNTER
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
33200731
)
e2
:
SetCondition
(
c33200732
.
ccon
)
e2
:
SetTarget
(
c33200732
.
ctg
)
...
...
expansions/script/c33200734.lua
View file @
8d4fcc87
...
...
@@ -32,9 +32,8 @@ function c33200734.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
33200734
,
2
))
e3
:
SetCategory
(
CATEGORY_COUNTER
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
,
33200736
)
e3
:
SetCondition
(
c33200734
.
ccon
)
e3
:
SetTarget
(
c33200734
.
ctg
)
...
...
expansions/script/c33200737.lua
View file @
8d4fcc87
...
...
@@ -32,9 +32,8 @@ function c33200737.initial_effect(c)
e3
:
SetDescription
(
aux
.
Stringid
(
33200737
,
2
))
e3
:
SetCategory
(
CATEGORY_COUNTER
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
,
33200739
)
e3
:
SetCondition
(
c33200737
.
ccon
)
e3
:
SetTarget
(
c33200737
.
ctg
)
...
...
expansions/script/c33200740.lua
View file @
8d4fcc87
...
...
@@ -23,11 +23,12 @@ function c33200740.initial_effect(c)
--counter
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
33200740
,
1
))
e3
:
SetCategory
(
CATEGORY_COUNTER
)
e3
:
SetCategory
(
CATEGORY_COUNTER
+
CATEGORY_TODECK
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e3
:
SetCode
(
EVENT_FREE_CHAIN
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCountLimit
(
1
,
33200741
)
e3
:
SetTarget
(
c33200740
.
counttg
)
e3
:
SetOperation
(
c33200740
.
counter
)
...
...
@@ -79,18 +80,20 @@ end
--e3
function
c33200740
.
counttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c33200740
.
cfilter
,
tp
,
LOCATION_REMOVED
,
0
,
2
,
nil
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
c33200740
.
cfilter
(
chkc
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanAddCounter
(
0x32a
,
2
)
and
Duel
.
IsExistingTarget
(
c33200740
.
cfilter
,
tp
,
LOCATION_REMOVED
,
0
,
2
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c33200740
.
cfilter
,
tp
,
LOCATION_REMOVED
,
0
,
2
,
2
,
nil
)
Duel
.
HintSelection
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_COUNTER
,
nil
,
e
:
GetHandler
(),
0
,
0x32a
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
0
,
LOCATION_REMOVED
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
2
,
0
,
0
)
Duel
.
Hint
(
HINT_OPSELECTED
,
1
-
tp
,
aux
.
Stringid
(
33200740
,
1
))
end
function
c33200740
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0xc32a
)
and
c
:
IsAbleToDeck
()
end
function
c33200740
.
counter
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsExistingMatchingCard
(
c33200740
.
cfilter
,
tp
,
LOCATION_REMOVED
,
0
,
2
,
nil
)
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c33200740
.
cfilter
,
tp
,
LOCATION_REMOVED
,
0
,
2
,
2
,
nil
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
if
g
:
GetCount
()
==
2
then
if
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
==
2
and
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
e
:
GetHandler
():
AddCounter
(
0x32a
,
2
)
...
...
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