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
fd0747a2
Commit
fd0747a2
authored
Aug 31, 2017
by
purerosefallen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes
parent
baf79be6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
11 deletions
+29
-11
expansions/script/c12000006.lua
expansions/script/c12000006.lua
+1
-1
expansions/script/c12000007.lua
expansions/script/c12000007.lua
+2
-2
expansions/script/c13255223.lua
expansions/script/c13255223.lua
+1
-1
expansions/script/c13257205.lua
expansions/script/c13257205.lua
+25
-7
No files found.
expansions/script/c12000006.lua
View file @
fd0747a2
...
...
@@ -69,7 +69,7 @@ function c12000006.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetAbsoluteRange
(
tp
,
1
,
0
)
e2
:
SetTarget
(
c12000006
.
splimit
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
g
:
GetFirst
():
RegisterEffect
(
e2
,
true
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
end
...
...
expansions/script/c12000007.lua
View file @
fd0747a2
...
...
@@ -58,9 +58,9 @@ function c12000007.spop(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetAbsoluteRange
(
tp
,
1
,
0
)
e2
:
SetTarget
(
c1200000
6
.
splimit
)
e2
:
SetTarget
(
c1200000
7
.
splimit
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
g
:
GetFirst
():
RegisterEffect
(
e2
,
true
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
end
...
...
expansions/script/c13255223.lua
View file @
fd0747a2
...
...
@@ -72,7 +72,7 @@ function c13255223.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
local
sg
=
eg
:
Filter
(
c13255223
.
spfilter
,
nil
,
e
,
tp
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>=
sg
:
GetCount
()
and
sg
:
GetCount
()
>
0
end
sg
:
SetTargetCard
(
)
Duel
.
SetTargetCard
(
sg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_REMOVED
)
end
function
c13255223
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c13257205.lua
View file @
fd0747a2
...
...
@@ -31,7 +31,7 @@ function c13257205.initial_effect(c)
c
:
RegisterEffect
(
e3
)
--atkup
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
13257205
,
2
))
e4
:
SetDescription
(
aux
.
Stringid
(
13257205
,
3
))
e4
:
SetCategory
(
CATEGORY_ATKCHANGE
)
e4
:
SetType
(
EFFECT_TYPE_IGNITION
)
e4
:
SetRange
(
LOCATION_MZONE
)
...
...
@@ -51,19 +51,37 @@ function c13257205.initial_effect(c)
end
function
c13257205
.
otfilter
(
c
)
return
c
:
IsSetCard
(
0x353
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
return
c
:
IsSetCard
(
0x353
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasable
()
end
function
c13257205
.
otfilter1
(
c
)
return
c
:
IsSetCard
(
0x353
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
end
function
c13257205
.
otcon
(
e
,
c
,
minc
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
mg
=
Duel
.
GetMatchingGroup
(
c13257205
.
otfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
minc
<=
1
and
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg
)
local
mg
=
Duel
.
GetMatchingGroup
(
c13257205
.
otfilter
,
tp
,
LOCATION_HAND
,
0
,
c
)
local
mg1
=
Duel
.
GetMatchingGroup
(
c13257205
.
otfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
return
c
:
GetLevel
()
>
6
and
minc
<=
2
and
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
mg
:
GetCount
()
>=
1
or
Duel
.
CheckTribute
(
c
,
1
,
1
,
mg1
))
or
c
:
GetLevel
()
>
4
and
c
:
GetLevel
()
<=
6
and
minc
<=
1
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
mg
:
GetCount
()
>=
1
end
function
c13257205
.
otop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
mg
=
Duel
.
GetMatchingGroup
(
c13257205
.
otfilter
,
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
LOCATION_MZONE
,
nil
)
local
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg
)
local
mg
=
Duel
.
GetMatchingGroup
(
c13257205
.
otfilter
,
tp
,
LOCATION_HAND
,
0
,
c
)
local
mg1
=
Duel
.
GetMatchingGroup
(
c13257205
.
otfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
sg
=
Group
.
CreateGroup
()
if
c
:
GetLevel
()
>
6
then
if
mg
:
GetCount
()
>
0
and
mg1
:
GetCount
()
==
0
or
(
mg
:
GetCount
()
>
0
and
mg1
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
13257205
,
2
)))
then
sg
=
mg
:
Select
(
tp
,
1
,
1
,
nil
)
else
sg
=
Duel
.
SelectTribute
(
tp
,
c
,
1
,
1
,
mg1
)
end
else
sg
=
mg
:
Select
(
tp
,
1
,
1
,
nil
)
end
c
:
SetMaterial
(
sg
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
Duel
.
Release
(
sg
,
REASON_SUMMON
+
REASON_MATERIAL
)
end
function
c13257205
.
desreptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsReason
(
REASON_EFFECT
+
REASON_BATTLE
)
...
...
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