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
16665f0a
Commit
16665f0a
authored
Jun 07, 2022
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
得得得得得
parent
5003a48a
Pipeline
#13466
passed with stages
in 24 minutes and 2 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
52 additions
and
13 deletions
+52
-13
expansions/script/c17032790.lua
expansions/script/c17032790.lua
+2
-2
expansions/script/c18019032.lua
expansions/script/c18019032.lua
+1
-1
expansions/script/c18019033.lua
expansions/script/c18019033.lua
+1
-1
expansions/script/c18019034.lua
expansions/script/c18019034.lua
+1
-1
expansions/script/c18019035.lua
expansions/script/c18019035.lua
+1
-1
expansions/script/c18019036.lua
expansions/script/c18019036.lua
+33
-4
expansions/script/c71400033.lua
expansions/script/c71400033.lua
+1
-1
expansions/script/c71400066.lua
expansions/script/c71400066.lua
+12
-2
No files found.
expansions/script/c17032790.lua
View file @
16665f0a
...
...
@@ -56,12 +56,12 @@ function c17032790.operation(e,tp,eg,ep,ev,re,r,rp)
local
ops
=
{}
local
opval
=
{}
if
b1
then
ops
[
off
]
=
aux
.
Stringid
(
17032790
,
2
)
ops
[
off
]
=
1101
opval
[
off
-
1
]
=
1
off
=
off
+
1
end
if
b2
and
#
g
>
0
and
tc
~=
c
and
tc
:
IsCanOverlay
()
then
ops
[
off
]
=
aux
.
Stringid
(
17032790
,
3
)
ops
[
off
]
=
1152
opval
[
off
-
1
]
=
2
off
=
off
+
1
end
...
...
expansions/script/c18019032.lua
View file @
16665f0a
...
...
@@ -14,7 +14,7 @@ function c18019032.initial_effect(c)
e1
:
SetOperation
(
c18019032
.
thop
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCountLimit
(
1
,
18019032
+
o
)
e2
:
SetCountLimit
(
1
,
18019032
+
100
)
e2
:
SetCondition
(
c18019032
.
thcon2
)
c
:
RegisterEffect
(
e2
)
end
...
...
expansions/script/c18019033.lua
View file @
16665f0a
...
...
@@ -14,7 +14,7 @@ function c18019033.initial_effect(c)
e1
:
SetOperation
(
c18019033
.
thop
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCountLimit
(
1
,
18019033
+
o
)
e2
:
SetCountLimit
(
1
,
18019033
+
100
)
e2
:
SetCondition
(
c18019033
.
thcon2
)
c
:
RegisterEffect
(
e2
)
end
...
...
expansions/script/c18019034.lua
View file @
16665f0a
...
...
@@ -13,7 +13,7 @@ function c18019034.initial_effect(c)
e1
:
SetOperation
(
c18019034
.
regop
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCountLimit
(
1
,
18019034
+
o
)
e2
:
SetCountLimit
(
1
,
18019034
+
100
)
e2
:
SetCondition
(
c18019034
.
thcon2
)
c
:
RegisterEffect
(
e2
)
end
...
...
expansions/script/c18019035.lua
View file @
16665f0a
...
...
@@ -14,7 +14,7 @@ function c18019035.initial_effect(c)
e1
:
SetOperation
(
c18019035
.
setop
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCountLimit
(
1
,
18019035
+
o
)
e2
:
SetCountLimit
(
1
,
18019035
+
100
)
e2
:
SetCondition
(
c18019035
.
setcon2
)
c
:
RegisterEffect
(
e2
)
end
...
...
expansions/script/c18019036.lua
View file @
16665f0a
...
...
@@ -6,16 +6,28 @@ function c18019036.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_CHAINING
)
e1
:
SetCost
(
c18019036
.
cost
)
e1
:
SetCountLimit
(
1
,
18019036
)
e1
:
SetCondition
(
c18019036
.
condition
)
e1
:
SetTarget
(
c18019036
.
target
)
e1
:
SetOperation
(
c18019036
.
activate
)
c
:
RegisterEffect
(
e1
)
--
act in hand
--
draw
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_TRAP_ACT_IN_HAND
)
e2
:
SetCondition
(
c18019036
.
handcon
)
e2
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_DRAW
)
e2
:
SetDescription
(
aux
.
Stringid
(
18019036
,
1
))
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
18019036
+
100
)
e2
:
SetTarget
(
c18019036
.
tdtg
)
e2
:
SetOperation
(
c18019036
.
tdop
)
c
:
RegisterEffect
(
e2
)
--act in hand
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_TRAP_ACT_IN_HAND
)
e3
:
SetCondition
(
c18019036
.
handcon
)
c
:
RegisterEffect
(
e3
)
end
function
c18019036
.
filter
(
c
)
return
c
:
IsSetCard
(
0x66e1
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsDiscardable
()
...
...
@@ -55,3 +67,20 @@ function c18019036.handcon(e)
local
ct
=
hg
:
GetClassCount
(
Card
.
GetCode
)
return
ct
>=
3
end
function
c18019036
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToDeck
()
and
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
end
function
c18019036
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
~=
0
and
c
:
IsLocation
(
LOCATION_DECK
)
then
Duel
.
ShuffleDeck
(
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
c18019036
.
filter
,
tp
,
LOCATION_HAND
,
0
,
e
:
GetHandler
())
if
#
g
>
0
and
Duel
.
SelectYesNo
(
tp
,
1108
)
then
Duel
.
BreakEffect
()
Duel
.
DiscardHand
(
tp
,
c18019036
.
filter
,
1
,
1
,
REASON_EFFECT
+
REASON_DISCARD
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
end
expansions/script/c71400033.lua
View file @
16665f0a
...
...
@@ -37,7 +37,7 @@ function c71400033.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c71400033
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
>
0
and
e
:
GetLabel
==
1
then
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
>
0
and
e
:
GetLabel
()
==
1
then
Duel
.
BreakEffect
()
Duel
.
SetLP
(
tp
,
Duel
.
GetLP
(
tp
)
-
1500
)
local
fc
=
Duel
.
GetFieldCard
(
tp
,
LOCATION_FZONE
,
0
)
...
...
expansions/script/c71400066.lua
View file @
16665f0a
...
...
@@ -39,7 +39,7 @@ end
function
c71400066
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
~=
e
:
GetHandler
()
end
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
t
c
:
GetControler
(),
5
00
)
and
yume
.
YumeFieldCheck
(
tp
,
0
,
2
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
)
return
Duel
.
CheckLPCost
(
t
p
,
10
00
)
and
yume
.
YumeFieldCheck
(
tp
,
0
,
2
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
)
end
if
not
Duel
.
CheckPhaseActivity
()
then
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
@@ -55,6 +55,11 @@ function c71400066.limit(c)
end
end
function
c71400066
.
op1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
CheckLPCost
(
tc
:
GetControler
(),
1000
)
then
Duel
.
PayLPCost
(
tc
:
GetControler
(),
1000
)
else
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
yume
.
ActivateYumeField
(
e
,
tp
,
0
,
0
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
BreakEffect
()
...
...
@@ -71,7 +76,7 @@ end
function
c71400066
.
tg1a
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
chkc
~=
e
:
GetHandler
()
end
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
t
c
:
GetControler
(),
5
00
)
and
yume
.
YumeFieldCheck
(
tp
,
0
,
2
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
Duel
.
IsExistingMatchingCard
(
c71400066
.
filter1a
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
return
Duel
.
CheckLPCost
(
t
p
,
10
00
)
and
yume
.
YumeFieldCheck
(
tp
,
0
,
2
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
Duel
.
IsExistingMatchingCard
(
c71400066
.
filter1a
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
if
not
Duel
.
CheckPhaseActivity
()
then
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
@@ -83,6 +88,11 @@ function c71400066.tg1a(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
function
c71400066
.
op1a
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
CheckLPCost
(
tc
:
GetControler
(),
1000
)
then
Duel
.
PayLPCost
(
tc
:
GetControler
(),
1000
)
else
return
end
local
tc
=
Duel
.
GetFirstTarget
()
if
yume
.
ActivateYumeField
(
e
,
tp
,
0
,
0
,
LOCATION_DECK
+
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
BreakEffect
()
...
...
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