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
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
MyCard
ygopro
Commits
d8f49ce9
Commit
d8f49ce9
authored
Jun 22, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d4297f71
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
script/c4335427.lua
script/c4335427.lua
+8
-8
script/c74329404.lua
script/c74329404.lua
+3
-2
No files found.
script/c4335427.lua
View file @
d8f49ce9
...
@@ -37,20 +37,20 @@ end
...
@@ -37,20 +37,20 @@ end
function
c4335427
.
spcon
(
e
,
c
)
function
c4335427
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
IsExistingMatchingCard
(
c4335427
.
spfilter
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_RITUAL
)
return
Duel
.
IsExistingMatchingCard
(
c4335427
.
spfilter
,
tp
,
LOCATION_
MZONE
,
LOCATION_MZONE
,
1
,
nil
,
TYPE_RITUAL
)
and
Duel
.
IsExistingMatchingCard
(
c4335427
.
spfilter
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_FUSION
)
and
Duel
.
IsExistingMatchingCard
(
c4335427
.
spfilter
,
tp
,
LOCATION_
MZONE
,
LOCATION_MZONE
,
1
,
nil
,
TYPE_FUSION
)
and
Duel
.
IsExistingMatchingCard
(
c4335427
.
spfilter
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_SYNCHRO
)
and
Duel
.
IsExistingMatchingCard
(
c4335427
.
spfilter
,
tp
,
LOCATION_
MZONE
,
LOCATION_MZONE
,
1
,
nil
,
TYPE_SYNCHRO
)
and
Duel
.
IsExistingMatchingCard
(
c4335427
.
spfilter
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
,
TYPE_XYZ
)
and
Duel
.
IsExistingMatchingCard
(
c4335427
.
spfilter
,
tp
,
LOCATION_
MZONE
,
LOCATION_MZONE
,
1
,
nil
,
TYPE_XYZ
)
end
end
function
c4335427
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c4335427
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c4335427
.
spfilter
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
TYPE_RITUAL
)
local
g1
=
Duel
.
SelectMatchingCard
(
tp
,
c4335427
.
spfilter
,
tp
,
LOCATION_
MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
TYPE_RITUAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c4335427
.
spfilter
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
TYPE_FUSION
)
local
g2
=
Duel
.
SelectMatchingCard
(
tp
,
c4335427
.
spfilter
,
tp
,
LOCATION_
MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
TYPE_FUSION
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g3
=
Duel
.
SelectMatchingCard
(
tp
,
c4335427
.
spfilter
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
TYPE_SYNCHRO
)
local
g3
=
Duel
.
SelectMatchingCard
(
tp
,
c4335427
.
spfilter
,
tp
,
LOCATION_
MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
TYPE_SYNCHRO
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
g4
=
Duel
.
SelectMatchingCard
(
tp
,
c4335427
.
spfilter
,
tp
,
LOCATION_
ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
TYPE_XYZ
)
local
g4
=
Duel
.
SelectMatchingCard
(
tp
,
c4335427
.
spfilter
,
tp
,
LOCATION_
MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
TYPE_XYZ
)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g3
)
g1
:
Merge
(
g3
)
g1
:
Merge
(
g4
)
g1
:
Merge
(
g4
)
...
...
script/c74329404.lua
View file @
d8f49ce9
...
@@ -8,8 +8,9 @@ function c74329404.initial_effect(c)
...
@@ -8,8 +8,9 @@ function c74329404.initial_effect(c)
--counter
--counter
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
Set
Code
(
EVENT_LEAVE_FIELD
)
e2
:
Set
Property
(
EFFECT_FLAG_DELAY
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCode
(
EVENT_DESTROY
)
e2
:
SetCondition
(
c74329404
.
ctcon
)
e2
:
SetCondition
(
c74329404
.
ctcon
)
e2
:
SetOperation
(
c74329404
.
ctop
)
e2
:
SetOperation
(
c74329404
.
ctop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -30,7 +31,7 @@ function c74329404.initial_effect(c)
...
@@ -30,7 +31,7 @@ function c74329404.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
function
c74329404
.
ctfilter
(
c
,
tp
)
function
c74329404
.
ctfilter
(
c
,
tp
)
return
c
:
Is
Reason
(
REASON_DESTROY
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsSetCard
(
0xc008
)
return
c
:
Is
Faceup
()
and
c
:
IsSetCard
(
0xc008
)
and
c
:
IsControler
(
tp
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
end
end
function
c74329404
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c74329404
.
ctcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c74329404
.
ctfilter
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c74329404
.
ctfilter
,
1
,
nil
,
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