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
Soulgamer
ygopro-222DIY-cards
Commits
3a2a13f4
Commit
3a2a13f4
authored
Feb 02, 2021
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wdnmd
parent
97bdfe6d
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
7 deletions
+14
-7
expansions/script/c12009039.lua
expansions/script/c12009039.lua
+1
-0
expansions/script/c21520149.lua
expansions/script/c21520149.lua
+5
-0
expansions/script/c21520216.lua
expansions/script/c21520216.lua
+1
-1
expansions/script/c21520237.lua
expansions/script/c21520237.lua
+1
-1
expansions/script/c21520238.lua
expansions/script/c21520238.lua
+2
-1
expansions/script/c9910294.lua
expansions/script/c9910294.lua
+4
-4
No files found.
expansions/script/c12009039.lua
View file @
3a2a13f4
...
...
@@ -16,6 +16,7 @@ function cm.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
m
)
e2
:
SetCost
(
cm
.
thcost
)
e2
:
SetTarget
(
cm
.
thtg
)
e2
:
SetOperation
(
cm
.
thop
)
...
...
expansions/script/c21520149.lua
View file @
3a2a13f4
...
...
@@ -9,6 +9,7 @@ function c21520149.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c21520149
.
condition
)
e1
:
SetCost
(
c21520149
.
cost
)
e1
:
SetTarget
(
c21520149
.
target
)
e1
:
SetOperation
(
c21520149
.
operation
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -34,6 +35,10 @@ end
function
c21520149
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c21520149
.
effectfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
end
function
c21520149
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetFlagEffect
(
21520149
)
==
0
end
e
:
GetHandler
():
RegisterFlagEffect
(
21520149
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c21520149
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_EFFECT
)
and
not
c
:
IsDisabled
()
end
...
...
expansions/script/c21520216.lua
View file @
3a2a13f4
...
...
@@ -101,7 +101,7 @@ function c21520216.igop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_COPY_INHERIT
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
atk
)
-- e1:SetReset(RESET_EVENT+RESETS_STANDARD+RESET_PHASE+PHASE_EN
D)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDAR
D
)
tc
:
RegisterEffect
(
e1
)
end
end
...
...
expansions/script/c21520237.lua
View file @
3a2a13f4
...
...
@@ -122,7 +122,7 @@ function c21520237.igop(e,tp,eg,ep,ev,re,r,rp)
end
Duel
.
ShuffleDeck
(
tp
)
Duel
.
BreakEffect
()
if
not
Duel
.
IsExistingMatchingCard
(
c21520237
.
igfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
then
if
not
Duel
.
IsExistingMatchingCard
(
c21520237
.
igfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
then
Duel
.
Damage
(
tp
,
1500
,
REASON_RULE
)
end
end
...
...
expansions/script/c21520238.lua
View file @
3a2a13f4
...
...
@@ -122,8 +122,9 @@ function c21520238.igop(e,tp,eg,ep,ev,re,r,rp)
end
Duel
.
ShuffleDeck
(
tp
)
Duel
.
BreakEffect
()
if
not
Duel
.
IsExistingMatchingCard
(
c21520238
.
igfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
then
if
not
Duel
.
IsExistingMatchingCard
(
c21520238
.
igfilter2
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
then
Duel
.
Damage
(
tp
,
2000
,
REASON_RULE
)
end
end
end
end
expansions/script/c9910294.lua
View file @
3a2a13f4
...
...
@@ -38,7 +38,7 @@ function c9910294.operation(e,tp,eg,ep,ev,re,r,rp)
if
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
<
3
then
return
end
Duel
.
ConfirmDecktop
(
tp
,
3
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
3
):
Filter
(
Card
.
IsType
,
nil
,
TYPE_PENDULUM
)
if
not
g
:
IsExists
(
c9910294
.
tgfilter
,
1
,
nil
)
then
return
end
if
not
g
:
IsExists
(
c9910294
.
tgfilter
,
1
,
nil
)
then
Duel
.
ShuffleDeck
(
tp
)
return
end
if
Duel
.
GetFlagEffect
(
tp
,
9910494
)
==
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910294
,
4
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg0
=
g
:
FilterSelect
(
tp
,
c9910294
.
tgfilter
,
1
,
1
,
nil
)
...
...
@@ -46,7 +46,7 @@ function c9910294.operation(e,tp,eg,ep,ev,re,r,rp)
g
:
Sub
(
sg0
)
Duel
.
RegisterFlagEffect
(
tp
,
9910494
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
if
Duel
.
GetFlagEffect
(
tp
,
9910494
)
==
0
or
g
:
GetCount
()
==
0
then
return
end
if
Duel
.
GetFlagEffect
(
tp
,
9910494
)
==
0
or
g
:
GetCount
()
==
0
then
Duel
.
ShuffleDeck
(
tp
)
return
end
if
Duel
.
GetFlagEffect
(
tp
,
9910495
)
==
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910294
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
9910294
,
3
))
local
sg1
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
@@ -54,7 +54,7 @@ function c9910294.operation(e,tp,eg,ep,ev,re,r,rp)
g
:
Sub
(
sg1
)
Duel
.
RegisterFlagEffect
(
tp
,
9910495
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
if
Duel
.
GetFlagEffect
(
tp
,
9910495
)
==
0
or
not
g
:
IsExists
(
c9910294
.
thfilter
,
1
,
nil
)
then
return
end
if
Duel
.
GetFlagEffect
(
tp
,
9910495
)
==
0
or
not
g
:
IsExists
(
c9910294
.
thfilter
,
1
,
nil
)
then
Duel
.
ShuffleDeck
(
tp
)
return
end
if
Duel
.
GetFlagEffect
(
tp
,
9910496
)
==
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910294
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg2
=
g
:
FilterSelect
(
tp
,
c9910294
.
thfilter
,
1
,
1
,
nil
)
...
...
@@ -64,7 +64,7 @@ function c9910294.operation(e,tp,eg,ep,ev,re,r,rp)
g
:
Sub
(
sg2
)
Duel
.
RegisterFlagEffect
(
tp
,
9910496
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
if
Duel
.
GetFlagEffect
(
tp
,
9910496
)
==
0
or
not
g
:
IsExists
(
c9910294
.
spfilter
,
1
,
nil
,
e
,
tp
)
then
return
end
if
Duel
.
GetFlagEffect
(
tp
,
9910496
)
==
0
or
not
g
:
IsExists
(
c9910294
.
spfilter
,
1
,
nil
,
e
,
tp
)
then
Duel
.
ShuffleDeck
(
tp
)
return
end
if
Duel
.
GetFlagEffect
(
tp
,
9910497
)
==
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9910294
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg3
=
g
:
FilterSelect
(
tp
,
c9910294
.
spfilter
,
1
,
1
,
nil
,
e
,
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