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
9b6d7a78
Commit
9b6d7a78
authored
Nov 06, 2020
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f7a7485b
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
18 additions
and
17 deletions
+18
-17
expansions/pre-release.cdb
expansions/pre-release.cdb
+0
-0
script/c101102086.lua
script/c101102086.lua
+8
-6
script/c101102087.lua
script/c101102087.lua
+1
-1
script/c101102088.lua
script/c101102088.lua
+1
-1
script/c101102089.lua
script/c101102089.lua
+2
-2
script/c101102090.lua
script/c101102090.lua
+1
-1
script/c101102091.lua
script/c101102091.lua
+1
-1
script/c101102092.lua
script/c101102092.lua
+2
-2
script/c101102094.lua
script/c101102094.lua
+1
-1
script/c101102096.lua
script/c101102096.lua
+1
-2
No files found.
expansions/pre-release.cdb
View file @
9b6d7a78
No preview for this file type
script/c101102086.lua
View file @
9b6d7a78
...
...
@@ -10,6 +10,7 @@ function c101102086.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
101102086
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e1
:
SetCondition
(
c101102086
.
spcon
)
e1
:
SetTarget
(
c101102086
.
sptg
)
e1
:
SetOperation
(
c101102086
.
spop
)
...
...
@@ -22,7 +23,8 @@ function c101102086.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e2
:
SetCountLimit
(
1
,
101102086
+
100
)
e2
:
SetTarget
(
c101102086
.
sp2cost
)
e2
:
SetCondition
(
c101102086
.
sp2con
)
e2
:
SetCost
(
c101102086
.
sp2cost
)
e2
:
SetTarget
(
c101102086
.
sp2tg
)
e2
:
SetOperation
(
c101102086
.
sp2op
)
c
:
RegisterEffect
(
e2
)
...
...
@@ -42,10 +44,13 @@ function c101102086.spop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c101102086
.
sp2con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
end
function
c101102086
.
sp2costfilter
(
c
)
return
c
:
IsAbleToRemoveAsCost
()
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_HAND
))
end
function
c101102086
.
sp2cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101102086
.
sp2cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsReleasable
()
and
Duel
.
IsExistingMatchingCard
(
c101102086
.
sp2costfilter
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
c
)
end
...
...
@@ -56,7 +61,7 @@ function c101102086.sp2cost(e,tp,eg,ep,ev,re,r,rp)
end
function
c101102086
.
sp2tgfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsSetCard
(
0x258
)
and
c
:
IsLevel
(
8
)
and
c
:
IsSetCard
(
0x258
)
and
c
:
IsLevel
(
8
)
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_GRAVE
))
end
function
c101102086
.
sp2tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetMZoneCount
(
tp
)
>
0
...
...
@@ -64,9 +69,6 @@ function c101102086.sp2tg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
)
end
function
c101102086
.
sp2op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
c101102086
.
sp2tgfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
tc
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
...
...
script/c101102087.lua
View file @
9b6d7a78
...
...
@@ -75,7 +75,7 @@ function c101102087.thcon(e,tp,eg,ep,ev,re,r,rp)
return
rp
==
1
-
tp
and
c
:
GetPreviousControler
()
==
tp
end
function
c101102087
.
thtgfilter
(
c
)
return
c
:
IsSetCard
(
0x258
)
and
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x258
)
and
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
and
c
:
IsFaceup
()
end
function
c101102087
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c101102087
.
thtgfilter
(
chkc
)
end
...
...
script/c101102088.lua
View file @
9b6d7a78
...
...
@@ -72,7 +72,7 @@ function c101102088.thcon(e,tp,eg,ep,ev,re,r,rp)
return
rp
==
1
-
tp
and
c
:
GetPreviousControler
()
==
tp
end
function
c101102088
.
thtgfilter
(
c
)
return
c
:
IsSetCard
(
0x258
)
and
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x258
)
and
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
and
c
:
IsFaceup
()
end
function
c101102088
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c101102088
.
thtgfilter
(
chkc
)
end
...
...
script/c101102089.lua
View file @
9b6d7a78
...
...
@@ -74,7 +74,7 @@ function c101102089.rmtg(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c101102089
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
and
tc
:
IsRelateToEffect
(
r
e
)
then
if
tc
and
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
...
...
@@ -83,7 +83,7 @@ function c101102089.thcon(e,tp,eg,ep,ev,re,r,rp)
return
rp
==
1
-
tp
and
c
:
GetPreviousControler
()
==
tp
end
function
c101102089
.
thtgfilter
(
c
)
return
c
:
IsSetCard
(
0x258
)
and
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x258
)
and
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
and
c
:
IsFaceup
()
end
function
c101102089
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c101102089
.
thtgfilter
(
chkc
)
end
...
...
script/c101102090.lua
View file @
9b6d7a78
...
...
@@ -84,7 +84,7 @@ function c101102090.thcon(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
function
c101102090
.
thfilter
(
c
)
return
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0x258
)
return
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0x258
)
and
c
:
IsFaceup
()
end
function
c101102090
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c101102090
.
thfilter
,
tp
,
LOCATION_REMOVED
,
0
,
1
,
nil
)
end
...
...
script/c101102091.lua
View file @
9b6d7a78
...
...
@@ -66,7 +66,7 @@ function c101102091.thcon(e,tp,eg,ep,ev,re,r,rp)
and
c
:
IsSummonType
(
SUMMON_TYPE_FUSION
)
end
function
c101102091
.
thfilter
(
c
,
typ
)
return
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0x258
)
return
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0x258
)
and
c
:
IsFaceup
()
end
function
c101102091
.
gcheck
(
g
)
return
g
:
GetClassCount
(
Card
.
GetType
)
==#
g
...
...
script/c101102092.lua
View file @
9b6d7a78
...
...
@@ -38,12 +38,12 @@ function c101102092.atkval(e,c)
return
Duel
.
GetMatchingGroupCount
(
c101102092
.
atkvalfilter
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
*
100
end
function
c101102092
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x258
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLevelBelow
(
4
)
return
c
:
IsSetCard
(
0x258
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsLevelBelow
(
4
)
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_HAND
))
end
function
c101102092
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
GetMZoneCount
(
tp
)
<=
0
then
return
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101102092
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_REMOVED
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
c101102092
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_REMOVED
,
0
,
nil
,
e
,
tp
)
if
#
g
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
101102092
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
script/c101102094.lua
View file @
9b6d7a78
...
...
@@ -83,7 +83,7 @@ function c101102094.rmop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c101102094
.
sptgfilter
(
c
,
e
,
tp
,
attr
)
return
c
:
GetOriginalAttribute
()
~=
attr
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetOriginalAttribute
()
~=
attr
and
c
:
Is
SetCard
(
0x258
)
and
c
:
Is
CanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c101102094
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
...
...
script/c101102096.lua
View file @
9b6d7a78
...
...
@@ -23,10 +23,9 @@ end
function
c101102096
.
filter
(
c
,
e
,
tp
,
zone
)
return
c
:
IsSetCard
(
0x258
)
and
c
:
IsLevelBelow
(
4
)
and
((
zone
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
))
or
c
:
IsAbleToHand
())
and
(
c
:
IsFaceup
()
or
c
:
IsLocation
(
LOCATION_DECK
))
end
function
c101102096
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
c101102096
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_REMOVED
,
0
,
nil
,
Duel
.
GetMZoneCount
(
tp
)
>
0
)
local
g
=
Duel
.
GetMatchingGroup
(
c101102096
.
filter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
Duel
.
GetMZoneCount
(
tp
)
>
0
)
if
#
g
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
101102096
,
0
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
...
...
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