Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
6a13c506
Commit
6a13c506
authored
Jul 14, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
86608bf3
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
11 additions
and
9 deletions
+11
-9
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c101006014.lua
script/c101006014.lua
+1
-1
script/c101006016.lua
script/c101006016.lua
+1
-1
script/c101006045.lua
script/c101006045.lua
+1
-1
script/c101006046.lua
script/c101006046.lua
+5
-2
script/c101006068.lua
script/c101006068.lua
+1
-1
script/c101006074.lua
script/c101006074.lua
+2
-3
No files found.
expansions/pre-release.cdb
View file @
6a13c506
No preview for this file type
script/c101006014.lua
View file @
6a13c506
...
...
@@ -36,7 +36,7 @@ function c101006014.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
function
c101006014
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101006014
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
...
...
script/c101006016.lua
View file @
6a13c506
...
...
@@ -36,7 +36,7 @@ function c101006016.sptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c101006016
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101006016
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
...
...
script/c101006045.lua
View file @
6a13c506
...
...
@@ -28,7 +28,7 @@ function c101006045.initial_effect(c)
e3
:
SetCondition
(
c101006045
.
tdcon1
)
e3
:
SetTarget
(
c101006045
.
tdtg
)
e3
:
SetOperation
(
c101006045
.
tdop
)
c
:
RegisterEffect
(
e
2
)
c
:
RegisterEffect
(
e
3
)
local
e4
=
e3
:
Clone
()
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
+
EFFECT_FLAG_DAMAGE_STEP
)
...
...
script/c101006046.lua
View file @
6a13c506
...
...
@@ -28,6 +28,7 @@ function c101006046.initial_effect(c)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCondition
(
c101006046
.
seqcon
)
e3
:
SetTarget
(
c101006046
.
seqtg
)
e3
:
SetOperation
(
c101006046
.
seqop
)
...
...
@@ -70,9 +71,11 @@ function c101006046.seqop(e,tp,eg,ep,ev,re,r,rp)
p1
=
LOCATION_MZONE
p2
=
0
else
p2
=
LOCATION_MZONE
p1
=
0
p2
=
LOCATION_MZONE
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOZONE
)
Duel
.
MoveSequence
(
tc
,
math.log
(
Duel
.
SelectDisableField
(
tp
,
1
,
p1
,
p2
,
0
),
2
))
local
seq
=
math.log
(
Duel
.
SelectDisableField
(
tp
,
1
,
p1
,
p2
,
0
),
2
)
if
tc
:
IsControler
(
1
-
tp
)
then
seq
=
seq
-
16
end
Duel
.
MoveSequence
(
tc
,
seq
)
end
script/c101006068.lua
View file @
6a13c506
...
...
@@ -17,7 +17,7 @@ function c101006068.initial_effect(c)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetTargetRange
(
0
,
LOCATION_MZONE
)
e2
:
SetCondition
(
c101006068
.
atkcon
)
e2
:
SetValue
(
500
)
e2
:
SetValue
(
-
500
)
c
:
RegisterEffect
(
e2
)
--activate Necrovalley
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
script/c101006074.lua
View file @
6a13c506
...
...
@@ -41,11 +41,10 @@ function c101006074.activate(e,tp,eg,ep,ev,re,r,rp)
end
function
c101006074
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
GetSummonType
()
~=
SUMMON_TYPE_SPECIAL
+
1
then
return
false
end
local
lg1
=
Duel
.
GetLinkedGroup
(
tp
,
1
,
1
)
local
lg2
=
Duel
.
GetLinkedGroup
(
1
-
tp
,
1
,
1
)
lg1
:
Merge
(
lg2
)
return
bit
.
band
(
c
:
GetSummonType
(),
SUMMON_TYPE_SPECIAL
)
==
SUMMON_TYPE_SPECIAL
+
1
and
lg1
and
lg1
:
IsContains
(
c
)
return
(
lg1
and
lg1
:
IsContains
(
c
))
or
(
lg2
and
lg2
:
IsContains
(
c
))
end
function
c101006074
.
filter
(
c
)
return
c
:
IsSetCard
(
0xfe
)
and
c
:
IsAbleToHand
()
...
...
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