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
5d7d7d0a
Commit
5d7d7d0a
authored
Jan 02, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eme
parent
fc37238e
Pipeline
#8481
passed with stages
in 23 minutes and 18 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
30 additions
and
33 deletions
+30
-33
expansions/222DIY.cdb
expansions/222DIY.cdb
+0
-0
expansions/script/c24865312.lua
expansions/script/c24865312.lua
+22
-25
expansions/script/c24865314.lua
expansions/script/c24865314.lua
+2
-2
expansions/script/c24865315.lua
expansions/script/c24865315.lua
+1
-1
expansions/script/c24865316.lua
expansions/script/c24865316.lua
+1
-1
expansions/script/c24865317.lua
expansions/script/c24865317.lua
+1
-1
expansions/script/c24865318.lua
expansions/script/c24865318.lua
+1
-1
expansions/script/c24865320.lua
expansions/script/c24865320.lua
+1
-1
expansions/script/c24865321.lua
expansions/script/c24865321.lua
+1
-1
No files found.
expansions/222DIY.cdb
View file @
5d7d7d0a
No preview for this file type
expansions/script/c24865312.lua
View file @
5d7d7d0a
--量子妖海干涉
function
c24865312
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
24865312
,
0
))
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
local
m
=
24865312
local
cm
=
_G
[
"c"
..
m
]
function
cm
.
initial_effect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
24865312
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e2
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
e2
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e2
:
SetCode
(
EVENT_CHAINING
)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DAMAGE_CAL
)
e2
:
SetCountLimit
(
1
,
24865312
)
e2
:
SetCondition
(
c
24865312
.
discon
)
e2
:
SetTarget
(
c
24865312
.
distg
)
e2
:
SetOperation
(
c
24865312
.
disop
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetCondition
(
c
m
.
discon
)
e2
:
SetTarget
(
c
m
.
distg
)
e2
:
SetOperation
(
c
m
.
disop
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
...
...
@@ -23,47 +20,47 @@ function c24865312.initial_effect(c)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetCategory
(
CATEGORY_TODECK
)
e4
:
SetCountLimit
(
1
,
24865312
)
e4
:
SetCountLimit
(
1
,
m
)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetRange
(
LOCATION_GRAVE
)
e4
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e4
:
SetTarget
(
c
24865312
.
drtg
)
e4
:
SetOperation
(
c
24865312
.
drop
)
e4
:
SetTarget
(
c
m
.
drtg
)
e4
:
SetOperation
(
c
m
.
drop
)
c
:
RegisterEffect
(
e4
)
end
function
c
24865312
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
and
Duel
.
IsExistingMatchingCard
(
c
24865312
.
discfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_FZONE
,
0
,
1
,
nil
)
function
c
m
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
==
1
-
tp
and
not
e
:
GetHandler
():
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
Duel
.
IsChainNegatable
(
ev
)
and
Duel
.
IsExistingMatchingCard
(
c
m
.
discfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_FZONE
,
0
,
1
,
nil
)
end
function
c
24865312
.
discfilter
(
c
)
function
c
m
.
discfilter
(
c
)
local
b1
=
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0xb10
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
local
b2
=
c
:
IsFaceup
()
and
c
:
IsSetCard
(
24865310
)
return
b1
or
b2
end
function
c
24865312
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c
m
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
if
re
:
GetHandler
():
IsDestructable
()
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
eg
,
1
,
0
,
0
)
end
end
function
c
24865312
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
end
end
function
c
24865312
.
texfilter
(
c
)
function
c
m
.
texfilter
(
c
)
return
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
and
c
:
IsCode
(
24865310
)
and
c
:
IsAbleToDeck
()
end
function
c
24865312
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c
m
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c
24865312
.
texfilter
(
chkc
)
and
chkc
~=
c
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c
24865312
.
texfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
)
and
c
:
IsAbleToDeck
()
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c
m
.
texfilter
(
chkc
)
and
chkc
~=
c
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c
m
.
texfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
c
)
and
c
:
IsAbleToDeck
()
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c
24865312
.
texfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
c
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c
m
.
texfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
c
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
c
,
1
,
0
,
0
)
end
function
c
24865312
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c
m
.
drop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoDeck
(
tc
,
nil
,
2
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_DECK
)
and
c
:
IsRelateToEffect
(
e
)
then
...
...
expansions/script/c24865314.lua
View file @
5d7d7d0a
...
...
@@ -20,7 +20,7 @@ function c24865314.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
24865314
)
e2
:
SetRange
(
LOCATION_
MZONE
)
e2
:
SetRange
(
LOCATION_
ONFIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetTargetRange
(
1
,
0
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -29,7 +29,7 @@ function c24865314.initial_effect(c)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e3
:
SetCountLimit
(
1
,
24865414
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCost
(
c24865314
.
cost
)
e3
:
SetTarget
(
c24865314
.
tg
)
e3
:
SetOperation
(
c24865314
.
op
)
...
...
expansions/script/c24865315.lua
View file @
5d7d7d0a
...
...
@@ -32,7 +32,7 @@ function c24865315.initial_effect(c)
e3
:
SetCondition
(
c24865315
.
atkcon
)
e3
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCountLimit
(
1
,
24865415
)
e3
:
SetCountLimit
(
1
)
e3
:
SetTarget
(
c24865315
.
tg
)
e3
:
SetOperation
(
c24865315
.
op
)
c
:
RegisterEffect
(
e3
)
...
...
expansions/script/c24865316.lua
View file @
5d7d7d0a
...
...
@@ -32,7 +32,7 @@ function c24865316.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCondition
(
c24865316
.
atkcon
)
e3
:
SetCountLimit
(
1
,
24865416
)
e3
:
SetCountLimit
(
1
)
e3
:
SetTarget
(
c24865316
.
tg
)
e3
:
SetOperation
(
c24865316
.
op
)
c
:
RegisterEffect
(
e3
)
...
...
expansions/script/c24865317.lua
View file @
5d7d7d0a
...
...
@@ -31,7 +31,7 @@ function c24865317.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e3
:
SetCondition
(
c24865317
.
atkcon
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCountLimit
(
1
,
24865417
)
e3
:
SetCountLimit
(
1
)
e3
:
SetTarget
(
c24865317
.
tg
)
e3
:
SetOperation
(
c24865317
.
op
)
c
:
RegisterEffect
(
e3
)
...
...
expansions/script/c24865318.lua
View file @
5d7d7d0a
...
...
@@ -35,7 +35,7 @@ function c24865318.initial_effect(c)
e3
:
SetCondition
(
c24865318
.
atkcon
)
e3
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCountLimit
(
1
,
24865418
)
e3
:
SetCountLimit
(
1
)
e3
:
SetTarget
(
c24865318
.
tg
)
e3
:
SetOperation
(
c24865318
.
op
)
c
:
RegisterEffect
(
e3
)
...
...
expansions/script/c24865320.lua
View file @
5d7d7d0a
...
...
@@ -56,7 +56,7 @@ function c24865320.lzop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c24865320
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLevel
(
9
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLevel
(
9
)
and
c
:
IsControler
(
tp
)
end
function
c24865320
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
...
...
expansions/script/c24865321.lua
View file @
5d7d7d0a
...
...
@@ -29,7 +29,7 @@ function c24865321.initial_effect(c)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e3
:
SetCode
(
EVENT_CHAINING
)
e3
:
SetCountLimit
(
1
,
24865321
)
e3
:
SetCountLimit
(
1
)
e3
:
SetTarget
(
c24865321
.
tg
)
e3
:
SetOperation
(
c24865321
.
op
)
c
:
RegisterEffect
(
e3
)
...
...
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