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
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
Reinen
ygopro-scripts
Commits
90d9476a
Commit
90d9476a
authored
Jan 05, 2017
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix #740
parent
ab812090
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
15 deletions
+9
-15
c13955608.lua
c13955608.lua
+9
-15
No files found.
c13955608.lua
View file @
90d9476a
...
@@ -10,8 +10,8 @@ function c13955608.initial_effect(c)
...
@@ -10,8 +10,8 @@ function c13955608.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c13955608
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c13955608
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
13955608
,
0
,
0x21
,
0
,
2000
,
4
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
end
and
Duel
.
IsPlayerCanSpecialSummonMonster
(
tp
,
13955608
,
0
,
0x21
,
0
,
2000
,
4
,
RACE_MACHINE
,
ATTRIBUTE_EARTH
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
end
function
c13955608
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c13955608
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -34,18 +34,12 @@ function c13955608.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -34,18 +34,12 @@ function c13955608.activate(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e1
,
true
)
c
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
function
c13955608
.
cfilter
(
c
,
code
)
return
c
:
IsFaceup
()
and
c
:
IsCode
(
code
)
end
function
c13955608
.
atkcon
(
e
)
function
c13955608
.
atkcon
(
e
)
local
con
=
0
local
tp
=
e
:
GetHandlerPlayer
()
for
i
=
0
,
4
do
return
Duel
.
IsExistingMatchingCard
(
c13955608
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
41172955
)
local
tc
=
Duel
.
GetFieldCard
(
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
i
)
and
Duel
.
IsExistingMatchingCard
(
c13955608
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
86445415
)
if
tc
and
tc
:
IsFaceup
()
then
and
Duel
.
IsExistingMatchingCard
(
c13955608
.
cfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
13839120
)
local
code
=
tc
:
GetCode
()
if
code
==
13839120
then
con
=
bit
.
bor
(
con
,
1
)
elseif
code
==
86445415
then
con
=
bit
.
bor
(
con
,
2
)
elseif
code
==
41172955
then
con
=
bit
.
bor
(
con
,
4
)
end
if
con
==
7
then
return
true
end
end
end
return
false
end
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