Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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-scripts
Commits
92e28d37
Commit
92e28d37
authored
Apr 17, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4218341f
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
c1845204.lua
c1845204.lua
+2
-2
c3784434.lua
c3784434.lua
+1
-0
c71645242.lua
c71645242.lua
+2
-2
c76573247.lua
c76573247.lua
+2
-1
No files found.
c1845204.lua
View file @
92e28d37
...
...
@@ -20,12 +20,12 @@ function c1845204.filter(c,e,tp)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_FUSION
,
tp
,
false
,
false
)
and
c
:
CheckFusionMaterial
()
end
function
c1845204
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
FromEx
(
tp
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c1845204
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
function
c1845204
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
if
Duel
.
GetLocationCount
FromEx
(
tp
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c1845204
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
...
...
c3784434.lua
View file @
92e28d37
...
...
@@ -29,6 +29,7 @@ function c3784434.seqop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsControler
(
1
-
tp
)
then
return
end
local
seq
=
c
:
GetSequence
()
if
seq
>
4
then
return
end
if
(
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
))
or
(
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
))
then
local
flag
=
0
...
...
c71645242.lua
View file @
92e28d37
...
...
@@ -76,12 +76,12 @@ function c71645242.spop(e,tp,eg,ep,ev,re,r,rp)
end
tc
=
g
:
GetNext
()
end
if
bit
.
band
(
bit
.
rshift
(
ev
,
tp
),
1
)
~=
0
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
if
bit
.
extract
(
ev
,
tp
)
~=
0
and
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
71645243
,
0
,
0x4011
,
800
,
800
,
2
,
RACE_PLANT
,
ATTRIBUTE_DARK
,
POS_FACEUP_ATTACK
,
1
-
tp
)
then
local
token
=
Duel
.
CreateToken
(
tp
,
71645243
)
Duel
.
SpecialSummonStep
(
token
,
0x20
,
tp
,
1
-
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
end
if
bit
.
band
(
bit
.
rshift
(
ev
,
1
-
tp
),
1
)
~=
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
bit
.
extract
(
ev
,
1
-
tp
)
~=
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
71645243
,
0
,
0x4011
,
800
,
800
,
2
,
RACE_PLANT
,
ATTRIBUTE_DARK
)
then
local
token
=
Duel
.
CreateToken
(
1
-
tp
,
71645243
)
Duel
.
SpecialSummonStep
(
token
,
0x20
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_ATTACK
)
...
...
c76573247.lua
View file @
92e28d37
...
...
@@ -26,6 +26,7 @@ function c76573247.seqop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsControler
(
1
-
tp
)
then
return
end
local
seq
=
c
:
GetSequence
()
if
seq
>
4
then
return
end
if
(
seq
>
0
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
-
1
))
or
(
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
))
then
local
flag
=
0
...
...
@@ -51,5 +52,5 @@ function c76573247.filter(c,s1)
end
function
c76573247
.
dircon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
return
not
Duel
.
IsExisting
Target
(
c76573247
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
e
:
GetHandler
():
GetSequence
())
return
not
Duel
.
IsExisting
MatchingCard
(
c76573247
.
filter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
,
e
:
GetHandler
():
GetSequence
())
end
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