Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
d891f429
Commit
d891f429
authored
Jul 27, 2014
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b38f40bc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
8 deletions
+10
-8
script/c28884172.lua
script/c28884172.lua
+1
-1
script/c68462976.lua
script/c68462976.lua
+2
-2
script/c80802524.lua
script/c80802524.lua
+5
-3
script/c8809344.lua
script/c8809344.lua
+2
-2
No files found.
script/c28884172.lua
View file @
d891f429
...
@@ -23,7 +23,7 @@ function c28884172.initial_effect(c)
...
@@ -23,7 +23,7 @@ function c28884172.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c28884172
.
spfilter
(
c
,
e
,
tp
)
function
c28884172
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x54
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0x54
)
and
not
c
:
IsCode
(
28884172
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c28884172
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c28884172
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c28884172
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c28884172
.
spfilter
(
chkc
,
e
,
tp
)
end
...
...
script/c68462976.lua
View file @
d891f429
...
@@ -25,8 +25,8 @@ function c68462976.initial_effect(c)
...
@@ -25,8 +25,8 @@ function c68462976.initial_effect(c)
e2
:
SetLabelObject
(
e3
)
e2
:
SetLabelObject
(
e3
)
end
end
function
c68462976
.
actlimit
(
e
,
te
,
tp
)
function
c68462976
.
actlimit
(
e
,
te
,
tp
)
if
not
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
or
not
te
:
GetHandler
():
Is
Type
(
TYPE_SPELL
)
then
return
false
end
if
not
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
or
not
te
:
IsActive
Type
(
TYPE_SPELL
)
then
return
false
end
if
tp
==
e
:
GetHandler
():
GetControl
er
()
then
return
e
:
GetLabel
()
==
1
if
tp
==
e
:
GetHandler
Play
er
()
then
return
e
:
GetLabel
()
==
1
else
return
e
:
GetLabel
()
==
2
end
else
return
e
:
GetLabel
()
==
2
end
end
end
function
c68462976
.
filter
(
c
)
function
c68462976
.
filter
(
c
)
...
...
script/c80802524.lua
View file @
d891f429
...
@@ -13,9 +13,11 @@ function c80802524.initial_effect(c)
...
@@ -13,9 +13,11 @@ function c80802524.initial_effect(c)
end
end
function
c80802524
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c80802524
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
local
tc
=
eg
:
GetFirst
()
e
:
SetLabel
(
tc
:
GetCode
())
if
rp
~=
tp
and
eg
:
GetCount
()
==
1
and
tc
:
IsReason
(
REASON_DESTROY
)
and
tc
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
return
rp
~=
tp
and
eg
:
GetCount
()
==
1
and
tc
:
IsReason
(
REASON_DESTROY
)
and
tc
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
tc
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
tc
:
GetPreviousControler
()
==
tp
and
tc
:
IsSetCard
(
0x8d
)
then
and
tc
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
tc
:
GetPreviousControler
()
==
tp
and
tc
:
IsSetCard
(
0x8d
)
e
:
SetLabel
(
tc
:
GetCode
())
return
true
else
return
false
end
end
end
function
c80802524
.
filter
(
c
,
e
,
tp
,
code
)
function
c80802524
.
filter
(
c
,
e
,
tp
,
code
)
return
c
:
IsSetCard
(
0x8d
)
and
c
:
GetCode
()
~=
code
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN
)
return
c
:
IsSetCard
(
0x8d
)
and
c
:
GetCode
()
~=
code
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEDOWN
)
...
...
script/c8809344.lua
View file @
d891f429
--
외신 나이알라
--
外神ナイアルラ
function
c8809344
.
initial_effect
(
c
)
function
c8809344
.
initial_effect
(
c
)
--xyz summon
--xyz summon
aux
.
AddXyzProcedure
(
c
,
aux
.
XyzFilterFunction
(
c
,
4
),
2
)
aux
.
AddXyzProcedure
(
c
,
aux
.
XyzFilterFunction
(
c
,
4
),
2
)
...
@@ -37,7 +37,7 @@ function c8809344.rkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,7 +37,7 @@ function c8809344.rkop(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_RANK
)
e2
:
SetCode
(
EFFECT_UPDATE_RANK
)
e2
:
SetReset
(
RESET_EVENT
+
0x1ff0000
+
RESET_PHASE
+
PHASE_END
)
e2
:
SetReset
(
RESET_EVENT
+
0x1ff0000
)
e2
:
SetValue
(
e
:
GetLabel
())
e2
:
SetValue
(
e
:
GetLabel
())
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
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