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
0cdcfd48
Commit
0cdcfd48
authored
Jul 23, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ad68607a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
8 deletions
+11
-8
script/c29904964.lua
script/c29904964.lua
+1
-1
script/c44968687.lua
script/c44968687.lua
+3
-3
script/c45206713.lua
script/c45206713.lua
+1
-1
script/c56611470.lua
script/c56611470.lua
+6
-3
No files found.
script/c29904964.lua
View file @
0cdcfd48
...
@@ -53,7 +53,7 @@ function c29904964.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function c29904964.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c29904964
.
rlevel
(
e
,
rc
)
function
c29904964
.
rlevel
(
e
,
rc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsLocation
(
LOCATION_GRAVE
)
and
not
c
:
IsSetCard
(
0xcf
)
then
if
c
:
IsLocation
(
LOCATION_GRAVE
)
and
not
r
c
:
IsSetCard
(
0xcf
)
then
return
-
1
return
-
1
else
return
c
:
GetLevel
()
end
else
return
c
:
GetLevel
()
end
end
end
script/c44968687.lua
View file @
0cdcfd48
...
@@ -78,12 +78,12 @@ function c44968687.efilter(e,te)
...
@@ -78,12 +78,12 @@ function c44968687.efilter(e,te)
return
te
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
return
te
:
IsActiveType
(
TYPE_SPELL
+
TYPE_TRAP
)
end
end
function
c44968687
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c44968687
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
nil
,
tp
,
0
,
LOCATION_REMOVED
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_REMOVED
)
>
0
end
local
g
=
Duel
.
Get
MatchingGroup
(
nil
,
tp
,
0
,
LOCATION_REMOVED
,
nil
)
local
g
=
Duel
.
Get
FieldGroup
(
tp
,
0
,
LOCATION_REMOVED
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
function
c44968687
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c44968687
.
damop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
Get
MatchingGroup
(
nil
,
tp
,
0
,
LOCATION_REMOVED
,
nil
)
local
g
=
Duel
.
Get
FieldGroup
(
tp
,
0
,
LOCATION_REMOVED
)
if
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_RETURN
)
~=
0
then
if
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_RETURN
)
~=
0
then
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
script/c45206713.lua
View file @
0cdcfd48
...
@@ -99,4 +99,4 @@ function c45206713.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -99,4 +99,4 @@ function c45206713.spop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
\ No newline at end of file
script/c56611470.lua
View file @
0cdcfd48
...
@@ -29,9 +29,12 @@ function c56611470.xyzfilter(c,mg)
...
@@ -29,9 +29,12 @@ function c56611470.xyzfilter(c,mg)
return
c
:
IsXyzSummonable
(
mg
)
return
c
:
IsXyzSummonable
(
mg
)
end
end
function
c56611470
.
mfilter1
(
c
,
exg
)
function
c56611470
.
mfilter1
(
c
,
exg
)
return
exg
:
IsExists
(
c56611470
.
mfilter2
,
1
,
nil
,
c
,
exg
)
return
exg
:
IsExists
(
c56611470
.
mfilter2
,
1
,
nil
,
c
)
end
end
function
c56611470
.
mfilter2
(
c
,
mc
,
exg
)
function
c56611470
.
mfilter2
(
c
,
mc
)
return
c
.
xyz_filter
(
mc
)
end
function
c56611470
.
mfilter3
(
c
,
mc
,
exg
)
return
exg
:
IsExists
(
Card
.
IsXyzSummonable
,
1
,
nil
,
Group
.
FromCards
(
c
,
mc
))
return
exg
:
IsExists
(
Card
.
IsXyzSummonable
,
1
,
nil
,
Group
.
FromCards
(
c
,
mc
))
end
end
function
c56611470
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c56611470
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
@@ -44,7 +47,7 @@ function c56611470.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -44,7 +47,7 @@ function c56611470.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
sg1
=
mg
:
FilterSelect
(
tp
,
c56611470
.
mfilter1
,
1
,
1
,
nil
,
exg
)
local
sg1
=
mg
:
FilterSelect
(
tp
,
c56611470
.
mfilter1
,
1
,
1
,
nil
,
exg
)
local
tc1
=
sg1
:
GetFirst
()
local
tc1
=
sg1
:
GetFirst
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_XMATERIAL
)
local
sg2
=
mg
:
FilterSelect
(
tp
,
c56611470
.
mfilter
2
,
1
,
1
,
tc1
,
tc1
,
exg
)
local
sg2
=
mg
:
FilterSelect
(
tp
,
c56611470
.
mfilter
3
,
1
,
1
,
tc1
,
tc1
,
exg
)
sg1
:
Merge
(
sg2
)
sg1
:
Merge
(
sg2
)
Duel
.
SetTargetCard
(
sg1
)
Duel
.
SetTargetCard
(
sg1
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
...
...
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