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
Ai
ygopro-222DIY-cards
Commits
86ecb441
Commit
86ecb441
authored
Dec 15, 2020
by
TanakaKotoha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
y1s1qs
parent
c6b95c00
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
16 deletions
+18
-16
expansions/script/c72410100.lua
expansions/script/c72410100.lua
+3
-2
expansions/script/c72410110.lua
expansions/script/c72410110.lua
+4
-4
expansions/script/c72410120.lua
expansions/script/c72410120.lua
+3
-3
expansions/script/c72410130.lua
expansions/script/c72410130.lua
+3
-3
expansions/script/c72410140.lua
expansions/script/c72410140.lua
+3
-3
expansions/script/c72410220.lua
expansions/script/c72410220.lua
+2
-1
No files found.
expansions/script/c72410100.lua
View file @
86ecb441
...
...
@@ -21,9 +21,10 @@ function c72410100.tkcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
and
e
:
GetHandler
():
GetLinkedGroup
():
FilterCount
(
Card
.
IsRace
,
nil
,
RACE_CYBERSE
)
~=
0
end
function
c72410100
.
tktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroupCount
()
local
mg
=
e
:
GetHandler
():
GetMaterial
()
if
mg
:
GetCount
()
~=
1
then
return
false
end
if
chk
==
0
then
return
mg
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_LINK
)
end
if
chk
==
0
then
return
mg
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_LINK
)
and
lg
~=
0
end
e
:
SetLabel
(
mg
:
GetFirst
():
GetLink
())
end
function
c72410100
.
tkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -68,7 +69,7 @@ function c72410100.tkop(e,tp,eg,ep,ev,re,r,rp)
tg
:
RegisterFlagEffect
(
72410106
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
72410100
,
2
))
end
if
not
tg
:
IsType
(
TYPE_EFFECT
)
then
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
tg
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetCode
(
EFFECT_ADD_TYPE
)
e4
:
SetValue
(
TYPE_EFFECT
)
...
...
expansions/script/c72410110.lua
View file @
86ecb441
...
...
@@ -17,8 +17,8 @@ function c72410110.con(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
and
e
:
GetHandler
():
GetLinkedGroup
()
~=
0
end
function
c72410110
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
local
lg
=
e
:
GetHandler
():
GetLinkedGroupCount
()
if
chk
==
0
then
return
lg
~=
0
end
end
function
c72410110
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
...
...
@@ -37,7 +37,7 @@ function c72410110.operation(e,tp,eg,ep,ev,re,r,rp)
tg
:
RegisterEffect
(
e1
)
tg
:
RegisterFlagEffect
(
72410110
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
72410110
,
0
))
if
not
tg
:
IsType
(
TYPE_EFFECT
)
then
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_ADD_TYPE
)
e3
:
SetValue
(
TYPE_EFFECT
)
...
...
@@ -47,7 +47,7 @@ function c72410110.operation(e,tp,eg,ep,ev,re,r,rp)
end
tg
=
lg
:
GetNext
()
end
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
local
e2
=
Effect
.
CreateEffect
(
tg
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
expansions/script/c72410120.lua
View file @
86ecb441
...
...
@@ -17,8 +17,8 @@ function c72410120.con(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
and
e
:
GetHandler
():
GetLinkedGroup
()
~=
0
end
function
c72410120
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
local
lg
=
e
:
GetHandler
():
GetLinkedGroupCount
()
if
chk
==
0
then
return
lg
~=
0
end
end
function
c72410120
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
...
...
@@ -47,7 +47,7 @@ function c72410120.operation(e,tp,eg,ep,ev,re,r,rp)
end
tg
=
lg
:
GetNext
()
end
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
local
e2
=
Effect
.
CreateEffect
(
tg
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
...
...
expansions/script/c72410130.lua
View file @
86ecb441
...
...
@@ -20,8 +20,8 @@ function c72410130.con(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
and
e
:
GetHandler
():
GetLinkedGroup
()
~=
0
end
function
c72410130
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
local
lg
=
e
:
GetHandler
():
GetLinkedGroupCount
()
if
chk
==
0
then
return
lg
~=
0
end
end
function
c72410130
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
...
...
@@ -40,7 +40,7 @@ function c72410130.operation(e,tp,eg,ep,ev,re,r,rp)
tg
:
RegisterEffect
(
e1
)
tg
:
RegisterFlagEffect
(
72410130
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
72410130
,
0
))
if
not
tg
:
IsType
(
TYPE_EFFECT
)
then
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
tg
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_ADD_TYPE
)
e3
:
SetValue
(
TYPE_EFFECT
)
...
...
expansions/script/c72410140.lua
View file @
86ecb441
...
...
@@ -20,8 +20,8 @@ function c72410140.con(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
and
e
:
GetHandler
():
GetLinkedGroup
()
~=
0
end
function
c72410140
.
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
local
lg
=
e
:
GetHandler
():
GetLinkedGroupCount
()
if
chk
==
0
then
return
lg
~=
0
end
end
function
c72410140
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
()
...
...
@@ -40,7 +40,7 @@ function c72410140.operation(e,tp,eg,ep,ev,re,r,rp)
tg
:
RegisterEffect
(
e1
)
tg
:
RegisterFlagEffect
(
72410140
,
RESET_EVENT
+
RESETS_STANDARD
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
72410140
,
0
))
if
not
tg
:
IsType
(
TYPE_EFFECT
)
then
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
tg
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetCode
(
EFFECT_ADD_TYPE
)
e3
:
SetValue
(
TYPE_EFFECT
)
...
...
expansions/script/c72410220.lua
View file @
86ecb441
...
...
@@ -11,7 +11,8 @@ function c72410220.initial_effect(c)
end
function
c72410220
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
zone
=
aux
.
GetMultiLinkedZone
(
tp
)
if
chk
==
0
then
return
zone
~=
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
,
nil
,
nil
,
zone
)
if
chk
==
0
then
return
ft
~=
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
72410221
,
0
,
0x4011
,
0
,
0
,
1
,
RACE_CYBERSE
,
ATTRIBUTE_LIGHT
,
POS_FACEUP
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOKEN
,
nil
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
0
,
0
)
...
...
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