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
REIKAI
ygopro
Commits
30eedd40
Commit
30eedd40
authored
Jun 10, 2015
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8c61a859
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
25 deletions
+25
-25
script/c10000080.lua
script/c10000080.lua
+25
-25
No files found.
script/c100000
5
0.lua
→
script/c100000
8
0.lua
View file @
30eedd40
--ラーの翼神竜-球体型
--ラーの翼神竜-球体型
function
c100000
5
0
.
initial_effect
(
c
)
function
c100000
8
0
.
initial_effect
(
c
)
--cannot special summon
--cannot special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
...
@@ -11,8 +11,8 @@ function c10000050.initial_effect(c)
...
@@ -11,8 +11,8 @@ function c10000050.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_LIMIT_SUMMON_PROC
)
e2
:
SetCode
(
EFFECT_LIMIT_SUMMON_PROC
)
e2
:
SetCondition
(
c100000
5
0
.
ttcon
)
e2
:
SetCondition
(
c100000
8
0
.
ttcon
)
e2
:
SetOperation
(
c100000
5
0
.
ttop
)
e2
:
SetOperation
(
c100000
8
0
.
ttop
)
e2
:
SetValue
(
SUMMON_TYPE_ADVANCE
)
e2
:
SetValue
(
SUMMON_TYPE_ADVANCE
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
@@ -23,7 +23,7 @@ function c10000050.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c10000050.initial_effect(c)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e4
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e4
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e4
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e4
:
SetOperation
(
c100000
5
0
.
retreg
)
e4
:
SetOperation
(
c100000
8
0
.
retreg
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--cannot attack
--cannot attack
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
...
@@ -44,30 +44,30 @@ function c10000050.initial_effect(c)
...
@@ -44,30 +44,30 @@ function c10000050.initial_effect(c)
c
:
RegisterEffect
(
e7
)
c
:
RegisterEffect
(
e7
)
--special summon
--special summon
local
e8
=
Effect
.
CreateEffect
(
c
)
local
e8
=
Effect
.
CreateEffect
(
c
)
e8
:
SetDescription
(
aux
.
Stringid
(
100000
5
0
,
2
))
e8
:
SetDescription
(
aux
.
Stringid
(
100000
8
0
,
2
))
e8
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e8
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e8
:
SetType
(
EFFECT_TYPE_IGNITION
)
e8
:
SetType
(
EFFECT_TYPE_IGNITION
)
e8
:
SetRange
(
LOCATION_MZONE
)
e8
:
SetRange
(
LOCATION_MZONE
)
e8
:
SetCost
(
c100000
5
0
.
spcost
)
e8
:
SetCost
(
c100000
8
0
.
spcost
)
e8
:
SetTarget
(
c100000
5
0
.
sptg
)
e8
:
SetTarget
(
c100000
8
0
.
sptg
)
e8
:
SetOperation
(
c100000
5
0
.
spop
)
e8
:
SetOperation
(
c100000
8
0
.
spop
)
c
:
RegisterEffect
(
e8
)
c
:
RegisterEffect
(
e8
)
end
end
function
c100000
5
0
.
ttcon
(
e
,
c
)
function
c100000
8
0
.
ttcon
(
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
.
GetFieldGroup
(
tp
,
0
,
LOCATION_MZONE
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_MZONE
)
return
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
)
return
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
)
or
(
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>-
3
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsReleasable
,
c
:
GetControler
(),
0
,
LOCATION_MZONE
,
3
,
nil
))
or
(
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>-
3
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsReleasable
,
c
:
GetControler
(),
0
,
LOCATION_MZONE
,
3
,
nil
))
end
end
function
c100000
5
0
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c100000
8
0
.
ttop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
b1
=
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
local
b1
=
Duel
.
GetLocationCount
(
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
GetTributeCount
(
c
)
>=
3
local
g
=
Duel
.
GetFieldGroup
(
c
:
GetControler
(),
0
,
LOCATION_MZONE
)
local
g
=
Duel
.
GetFieldGroup
(
c
:
GetControler
(),
0
,
LOCATION_MZONE
)
local
b2
=
Duel
.
GetLocationCount
(
1
-
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsReleasable
,
c
:
GetControler
(),
0
,
LOCATION_MZONE
,
3
,
nil
)
local
b2
=
Duel
.
GetLocationCount
(
1
-
c
:
GetControler
(),
LOCATION_MZONE
)
>-
3
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsReleasable
,
c
:
GetControler
(),
0
,
LOCATION_MZONE
,
3
,
nil
)
local
op
=
0
local
op
=
0
if
b1
and
b2
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
100000
50
,
0
),
aux
.
Stringid
(
1000005
0
,
1
))
if
b1
and
b2
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
100000
80
,
0
),
aux
.
Stringid
(
1000008
0
,
1
))
elseif
b1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
100000
5
0
,
0
))
elseif
b1
then
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
100000
8
0
,
0
))
else
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
100000
5
0
,
1
))
+
1
end
else
op
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
100000
8
0
,
1
))
+
1
end
if
op
==
0
then
if
op
==
0
then
local
mg
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
local
mg
=
Duel
.
SelectTribute
(
tp
,
c
,
3
,
3
)
c
:
SetMaterial
(
mg
)
c
:
SetMaterial
(
mg
)
...
@@ -80,11 +80,11 @@ function c10000050.ttop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -80,11 +80,11 @@ function c10000050.ttop(e,tp,eg,ep,ev,re,r,rp,c)
e
:
SetTargetRange
(
POS_FACEUP_ATTACK
,
1
)
e
:
SetTargetRange
(
POS_FACEUP_ATTACK
,
1
)
end
end
end
end
function
c100000
5
0
.
setcon
(
e
,
c
)
function
c100000
8
0
.
setcon
(
e
,
c
)
if
not
c
then
return
true
end
if
not
c
then
return
true
end
return
false
return
false
end
end
function
c100000
5
0
.
retreg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100000
8
0
.
retreg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
...
@@ -92,36 +92,36 @@ function c10000050.retreg(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,36 +92,36 @@ function c10000050.retreg(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
e1
:
SetLabel
(
Duel
.
GetTurnCount
())
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCondition
(
c100000
5
0
.
retcon
)
e1
:
SetCondition
(
c100000
8
0
.
retcon
)
e1
:
SetOperation
(
c100000
5
0
.
retop
)
e1
:
SetOperation
(
c100000
8
0
.
retop
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
RESET_END
,
2
)
e1
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
RESET_END
,
2
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
end
end
function
c100000
5
0
.
retcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100000
8
0
.
retcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
return
Duel
.
GetTurnCount
()
~=
e
:
GetLabel
()
end
end
function
c100000
5
0
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100000
8
0
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
GetControler
()
~=
c
:
GetOwner
()
then
if
c
:
GetControler
()
~=
c
:
GetOwner
()
then
Duel
.
GetControl
(
c
,
c
:
GetOwner
())
Duel
.
GetControl
(
c
,
c
:
GetOwner
())
end
end
end
end
function
c100000
5
0
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100000
8
0
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsReleasable
()
end
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
end
function
c100000
5
0
.
filter
(
c
,
e
,
tp
)
function
c100000
8
0
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
10000010
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
return
c
:
IsCode
(
10000010
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
end
function
c100000
5
0
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100000
8
0
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>-
1
and
Duel
.
IsExistingMatchingCard
(
c100000
5
0
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c100000
8
0
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
0
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
0
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
)
end
end
function
c100000
5
0
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100000
8
0
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100000
5
0
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100000
8
0
.
filter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
then
if
tc
and
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
...
...
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