Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
wyykak
ygopro
Commits
34c6cc51
Commit
34c6cc51
authored
Jun 05, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
toon
parent
a7af4f45
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
96 deletions
+16
-96
script/c38369349.lua
script/c38369349.lua
+4
-24
script/c53183600.lua
script/c53183600.lua
+4
-24
script/c90960358.lua
script/c90960358.lua
+4
-24
script/c91842653.lua
script/c91842653.lua
+4
-24
No files found.
script/c38369349.lua
View file @
34c6cc51
--トゥーン・ドラゴン・エッガー
function
c38369349
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--cannot special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c38369349
.
splimit
)
c
:
RegisterEffect
(
e1
)
--special summon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -56,32 +49,19 @@ function c38369349.initial_effect(c)
e8
:
SetOperation
(
c38369349
.
atop
)
c
:
RegisterEffect
(
e8
)
end
function
c38369349
.
splimit
(
e
,
se
,
sp
,
st
,
spos
,
tgp
)
return
Duel
.
IsExistingMatchingCard
(
c38369349
.
cfilter
,
tgp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c38369349
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
15259703
)
end
function
c38369349
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
if
not
Duel
.
IsExistingMatchingCard
(
c38369349
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
return
false
end
local
lv
=
c
:
GetLevel
()
if
lv
<
5
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
elseif
lv
<
7
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
1
,
nil
)
else
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
2
and
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
2
,
nil
)
end
return
Duel
.
IsExistingMatchingCard
(
c38369349
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
2
and
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
2
,
nil
)
end
function
c38369349
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
lv
=
c
:
GetLevel
()
local
tp
=
c
:
GetControler
()
if
lv
<
5
then
elseif
lv
<
7
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
else
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
2
,
2
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
2
,
2
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c38369349
.
sfilter
(
c
)
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
GetPreviousCodeOnField
()
==
15259703
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
...
...
script/c53183600.lua
View file @
34c6cc51
--ブルーアイズ・トゥーン・ドラゴン
function
c53183600
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--cannot special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c53183600
.
splimit
)
c
:
RegisterEffect
(
e1
)
--special summon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -56,32 +49,19 @@ function c53183600.initial_effect(c)
e8
:
SetOperation
(
c53183600
.
atop
)
c
:
RegisterEffect
(
e8
)
end
function
c53183600
.
splimit
(
e
,
se
,
sp
,
st
,
spos
,
tgp
)
return
Duel
.
IsExistingMatchingCard
(
c53183600
.
cfilter
,
tgp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c53183600
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
15259703
)
end
function
c53183600
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
if
not
Duel
.
IsExistingMatchingCard
(
c53183600
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
return
false
end
local
lv
=
c
:
GetLevel
()
if
lv
<
5
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
elseif
lv
<
7
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
1
,
nil
)
else
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
2
and
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
2
,
nil
)
end
return
Duel
.
IsExistingMatchingCard
(
c53183600
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
2
and
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
2
,
nil
)
end
function
c53183600
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
lv
=
c
:
GetLevel
()
local
tp
=
c
:
GetControler
()
if
lv
<
5
then
elseif
lv
<
7
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
else
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
2
,
2
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
2
,
2
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c53183600
.
sfilter
(
c
)
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
GetPreviousCodeOnField
()
==
15259703
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
...
...
script/c90960358.lua
View file @
34c6cc51
--トゥーン・ブラック・マジシャン・ガール
function
c90960358
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--cannot special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c90960358
.
splimit
)
c
:
RegisterEffect
(
e1
)
--special summon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -57,32 +50,19 @@ function c90960358.initial_effect(c)
e8
:
SetValue
(
c90960358
.
val
)
c
:
RegisterEffect
(
e8
)
end
function
c90960358
.
splimit
(
e
,
se
,
sp
,
st
,
spos
,
tgp
)
return
Duel
.
IsExistingMatchingCard
(
c90960358
.
cfilter
,
tgp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c90960358
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
15259703
)
end
function
c90960358
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
if
not
Duel
.
IsExistingMatchingCard
(
c90960358
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
return
false
end
local
lv
=
c
:
GetLevel
()
if
lv
<
5
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
elseif
lv
<
7
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
1
,
nil
)
else
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
2
and
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
2
,
nil
)
end
return
Duel
.
IsExistingMatchingCard
(
c90960358
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
1
,
nil
)
end
function
c90960358
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
lv
=
c
:
GetLevel
()
local
tp
=
c
:
GetControler
()
if
lv
<
5
then
elseif
lv
<
7
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
else
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
2
,
2
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c90960358
.
sfilter
(
c
)
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
GetPreviousCodeOnField
()
==
15259703
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
...
...
script/c91842653.lua
View file @
34c6cc51
--トゥーン・デーモン
function
c91842653
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--cannot special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c91842653
.
splimit
)
c
:
RegisterEffect
(
e1
)
--special summon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -56,32 +49,19 @@ function c91842653.initial_effect(c)
e8
:
SetOperation
(
c91842653
.
atop
)
c
:
RegisterEffect
(
e8
)
end
function
c91842653
.
splimit
(
e
,
se
,
sp
,
st
,
spos
,
tgp
)
return
Duel
.
IsExistingMatchingCard
(
c91842653
.
cfilter
,
tgp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c91842653
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
15259703
)
end
function
c91842653
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
if
not
Duel
.
IsExistingMatchingCard
(
c91842653
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
return
false
end
local
lv
=
c
:
GetLevel
()
if
lv
<
5
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
elseif
lv
<
7
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
1
,
nil
)
else
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
2
and
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
2
,
nil
)
end
return
Duel
.
IsExistingMatchingCard
(
c91842653
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
CheckReleaseGroup
(
tp
,
nil
,
1
,
nil
)
end
function
c91842653
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
lv
=
c
:
GetLevel
()
local
tp
=
c
:
GetControler
()
if
lv
<
5
then
elseif
lv
<
7
then
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
else
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
2
,
2
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
nil
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c91842653
.
sfilter
(
c
)
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
GetPreviousCodeOnField
()
==
15259703
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
...
...
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