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
Nguyễn Anh Kiệt
ygopro-222DIY-cards
Commits
e5308f62
Commit
e5308f62
authored
Aug 03, 2021
by
Tachibana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndyd
parent
74b0bd04
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
expansions/script/c20000001.lua
expansions/script/c20000001.lua
+3
-2
expansions/script/c20000008.lua
expansions/script/c20000008.lua
+4
-1
No files found.
expansions/script/c20000001.lua
View file @
e5308f62
...
@@ -56,7 +56,7 @@ function c20000001.con2(e,c)
...
@@ -56,7 +56,7 @@ function c20000001.con2(e,c)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
c20000001
.
conf2
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c20000001
.
conf2
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
return
g
:
CheckSubGroup
(
c20000001
.
conf21
,
5
,
5
,
tp
,
c
)
return
g
:
CheckSubGroup
(
c20000001
.
conf21
,
5
,
5
,
tp
,
c
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
end
function
c20000001
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c20000001
.
op2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
c20000001
.
conf2
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c20000001
.
conf2
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
...
@@ -93,7 +93,8 @@ function c20000001.op3(e,tp,eg,ep,ev,re,r,rp)
...
@@ -93,7 +93,8 @@ function c20000001.op3(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
20000001
,
2
))
then
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
NecroValleyFilter
(
c20000001
.
tgf3
),
tp
,
LOCATION_GRAVE
,
0
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
20000001
,
2
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c20000001
.
tgf3
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c20000001
.
tgf3
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
...
...
expansions/script/c20000008.lua
View file @
e5308f62
...
@@ -6,7 +6,7 @@ function c20000008.initial_effect(c)
...
@@ -6,7 +6,7 @@ function c20000008.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_UNRELEASABLE_
EFFECT
)
e2
:
SetCode
(
EFFECT_UNRELEASABLE_
SUM
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e2
:
SetTargetRange
(
LOCATION_ONFIELD
,
0
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsCode
,
20000000
))
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsCode
,
20000000
))
...
@@ -47,6 +47,9 @@ function c20000008.initial_effect(c)
...
@@ -47,6 +47,9 @@ function c20000008.initial_effect(c)
e8
:
SetCost
(
aux
.
bfgcost
)
e8
:
SetCost
(
aux
.
bfgcost
)
e8
:
SetOperation
(
c20000008
.
op8
)
e8
:
SetOperation
(
c20000008
.
op8
)
c
:
RegisterEffect
(
e8
)
c
:
RegisterEffect
(
e8
)
local
e9
=
e2
:
Clone
()
e9
:
SetCode
(
EFFECT_UNRELEASABLE_NONSUM
)
c
:
RegisterEffect
(
e9
)
end
end
--e4
--e4
function
c20000008
.
va4
(
e
,
c
,
sumtype
)
function
c20000008
.
va4
(
e
,
c
,
sumtype
)
...
...
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