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
cbe15864
Commit
cbe15864
authored
Jun 11, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
62148d3a
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
24 additions
and
24 deletions
+24
-24
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
pics/100268009.jpg
pics/100268009.jpg
+0
-0
pics/101102033.jpg
pics/101102033.jpg
+0
-0
script/c100311001.lua
script/c100311001.lua
+2
-3
script/c100311026.lua
script/c100311026.lua
+3
-3
script/c100311051.lua
script/c100311051.lua
+7
-7
script/c101102001.lua
script/c101102001.lua
+1
-1
script/c101102004.lua
script/c101102004.lua
+2
-1
script/c101102018.lua
script/c101102018.lua
+1
-1
script/c101102034.lua
script/c101102034.lua
+1
-1
script/c101102059.lua
script/c101102059.lua
+6
-6
script/c101102069.lua
script/c101102069.lua
+1
-1
No files found.
expansions/pre-release.cdb
View file @
cbe15864
No preview for this file type
pics/100268009.jpg
View replaced file @
62148d3a
View file @
cbe15864
70.1 KB
|
W:
|
H:
70.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
pics/101102033.jpg
View replaced file @
62148d3a
View file @
cbe15864
85 KB
|
W:
|
H:
85 KB
|
W:
|
H:
2-up
Swipe
Onion skin
script/c100311001.lua
View file @
cbe15864
...
...
@@ -38,10 +38,9 @@ function c100311001.spcostfilter(c)
return
c
:
IsAbleToRemoveAsCost
()
and
c
:
IsRace
(
RACE_DRAGON
+
RACE_WINDBEAST
)
end
function
c100311001
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
c100311001
.
spcostfilter
,
tp
,
LOCATION_GRAVE
,
0
,
nil
)
if
chk
==
0
then
return
g
:
CheckSubGroup
(
aux
.
gfcheck
,
2
,
2
,
Card
.
IsRace
,
RACE_DRAGON
,
RACE_WINDBEAST
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100311001
.
spcostfilter
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
gfcheck
,
false
,
2
,
2
,
Card
.
IsRace
,
RACE_DRAGON
,
RACE_WINDBEAST
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
c100311001
.
spcostfilter
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
2
,
nil
)
Duel
.
Remove
(
sg
,
POS_FACEUP
,
REASON_COST
)
end
function
c100311001
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c100311026.lua
View file @
cbe15864
...
...
@@ -24,16 +24,16 @@ function c100311026.initial_effect(c)
e2
:
SetOperation
(
c100311026
.
spop
)
c
:
RegisterEffect
(
e2
)
end
function
c100311026
.
filter
(
c
)
function
c100311026
.
th
filter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsLevelAbove
(
5
)
and
c
:
IsSetCard
(
0x29
)
and
c
:
IsAbleToHand
()
end
function
c100311026
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
c100311026
.
filter
)
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100311026
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
end
function
c100311026
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c100311026
.
filter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c100311026
.
th
filter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
script/c100311051.lua
View file @
cbe15864
...
...
@@ -54,15 +54,15 @@ function c100311051.negcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_COST
)
end
function
c100311051
.
negtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
aux
.
nbcon
(
tp
,
re
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_NEGATE
,
eg
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
eg
,
1
,
0
,
0
)
ev
:
GetHandler
():
CreateEffectRelation
(
e
)
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
eg
,
1
,
0
,
0
)
end
end
function
c100311051
.
negop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
rc
=
ev
:
GetHandler
()
if
Duel
.
NegateActivation
(
ev
)
~=
0
and
rc
:
IsRelateToEffect
(
e
)
then
Duel
.
Remove
(
rc
,
POS_FACEUP
,
REASON_EFFECT
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
Duel
.
Remove
(
eg
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
function
c100311051
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -84,7 +84,7 @@ end
function
c100311051
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetLabelObject
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Remove
(
r
c
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
t
c
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
function
c100311051
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c101102001.lua
View file @
cbe15864
...
...
@@ -30,7 +30,7 @@ end
function
c101102001
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101102001
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
101102001
,
2
))
local
c
=
Duel
.
SelectMatchingCard
(
tp
,
c1011020
69
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
local
c
=
Duel
.
SelectMatchingCard
(
tp
,
c1011020
01
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
c
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_COST
)
end
function
c101102001
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c101102004.lua
View file @
cbe15864
...
...
@@ -29,7 +29,8 @@ function c101102004.ssfilter(c)
return
not
c
:
IsSetCard
(
0xba
)
or
c
:
IsFacedown
()
end
function
c101102004
.
sscon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
Duel
.
IsExistingMatchingCard
(
c101102004
.
ssfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
>
0
and
not
Duel
.
IsExistingMatchingCard
(
c101102004
.
ssfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c101102004
.
sstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
script/c101102018.lua
View file @
cbe15864
...
...
@@ -55,7 +55,7 @@ function c101102018.spfilter2(c,e,tp,tc)
end
function
c101102018
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsAbleToHand
()
and
Duel
.
IsExistingMatchingCard
(
c101102018
.
spfilter1
,
tp
,
LOCATION_HAND
,
0
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
c101102018
.
spfilter1
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
nil
,
1
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
e
:
GetHandler
(),
1
,
0
,
0
)
...
...
script/c101102034.lua
View file @
cbe15864
...
...
@@ -24,7 +24,7 @@ function c101102034.initial_effect(c)
e2
:
SetCode
(
EVENT_BATTLED
)
e2
:
SetCondition
(
c101102034
.
thcon
)
e2
:
SetTarget
(
c101102034
.
thtg
)
e2
:
SetOperation
(
c101102034
.
th
t
op
)
e2
:
SetOperation
(
c101102034
.
thop
)
c
:
RegisterEffect
(
e2
)
--negate
local
e3
=
Effect
.
CreateEffect
(
c
)
...
...
script/c101102059.lua
View file @
cbe15864
...
...
@@ -43,14 +43,14 @@ function c101102059.activate(e,tp,eg,ep,ev,re,r,rp)
local
b2
=
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
)
local
sel
=
0
if
b1
and
b2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_OPTION
)
sel
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
101102059
,
0
),
aux
.
Stringid
(
101102059
,
1
))
+
1
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPTION
)
sel
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
101102059
,
0
),
aux
.
Stringid
(
101102059
,
1
))
+
1
elseif
b1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_OPTION
)
sel
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
101102059
,
0
))
+
1
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPTION
)
sel
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
101102059
,
0
))
+
1
elseif
b2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_OPTION
)
sel
=
Duel
.
SelectOption
(
1
-
tp
,
aux
.
Stringid
(
101102059
,
1
))
+
2
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPTION
)
sel
=
Duel
.
SelectOption
(
tp
,
aux
.
Stringid
(
101102059
,
1
))
+
2
end
if
sel
==
1
then
Duel
.
BreakEffect
()
...
...
script/c101102069.lua
View file @
cbe15864
...
...
@@ -52,7 +52,7 @@ function c101102069.operation(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101102069
.
tgfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
if
g
then
local
tc
=
g
:
GetFirst
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
()
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
...
...
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