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
eab33236
Commit
eab33236
authored
Apr 24, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b2979f24
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
+5
-9
c12600382.lua
c12600382.lua
+1
-5
c33244944.lua
c33244944.lua
+4
-4
No files found.
c12600382.lua
View file @
eab33236
...
@@ -21,7 +21,6 @@ function c12600382.initial_effect(c)
...
@@ -21,7 +21,6 @@ function c12600382.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e3
:
SetValue
(
c12600382
.
splimit
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--atkup
--atkup
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
...
@@ -44,10 +43,7 @@ function c12600382.initial_effect(c)
...
@@ -44,10 +43,7 @@ function c12600382.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c12600382
.
efdes
(
e
,
re
)
function
c12600382
.
efdes
(
e
,
re
)
return
not
re
:
GetHandler
():
IsType
(
TYPE_MONSTER
)
return
re
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
function
c12600382
.
splimit
(
e
,
se
,
sp
,
st
)
return
st
==
(
SUMMON_TYPE_SPECIAL
+
332449
)
end
end
function
c12600382
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c12600382
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
tp
==
Duel
.
GetTurnPlayer
()
return
tp
==
Duel
.
GetTurnPlayer
()
...
...
c33244944.lua
View file @
eab33236
...
@@ -18,11 +18,11 @@ function c33244944.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -18,11 +18,11 @@ function c33244944.condition(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
33396948
)
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
33396948
)
end
end
function
c33244944
.
filter
(
c
,
e
,
tp
)
function
c33244944
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
12600382
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
332449
,
tp
,
true
,
true
)
return
c
:
IsCode
(
12600382
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
true
)
end
end
function
c33244944
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c33244944
.
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
.
IsExistingMatchingCard
(
c33244944
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c33244944
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
end
function
c33244944
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33244944
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -31,7 +31,7 @@ function c33244944.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,7 +31,7 @@ function c33244944.activate(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c33244944
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tg
=
Duel
.
SelectMatchingCard
(
tp
,
c33244944
.
filter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
tg
:
GetCount
()
>
0
then
if
tg
:
GetCount
()
>
0
then
local
tc
=
tg
:
GetFirst
()
local
tc
=
tg
:
GetFirst
()
Duel
.
SpecialSummon
(
tc
,
332449
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
end
end
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