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
8194d90b
Commit
8194d90b
authored
Oct 17, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
32d68b12
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
14 deletions
+18
-14
script/c100200226.lua
script/c100200226.lua
+1
-1
script/c101110090.lua
script/c101110090.lua
+1
-1
script/c101110091.lua
script/c101110091.lua
+1
-1
script/c101111023.lua
script/c101111023.lua
+1
-0
script/c101111030.lua
script/c101111030.lua
+2
-2
script/c101111045.lua
script/c101111045.lua
+1
-1
script/c101111066.lua
script/c101111066.lua
+8
-5
script/c101111069.lua
script/c101111069.lua
+3
-3
No files found.
script/c100200226.lua
View file @
8194d90b
...
@@ -53,7 +53,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -53,7 +53,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
s
.
atkval
(
e
,
c
)
function
s
.
atkval
(
e
,
c
)
return
Duel
.
GetMatchingGroupCount
(
s
.
spfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
)
*
300
return
Duel
.
GetMatchingGroupCount
(
s
.
spfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
c
)
*
300
end
end
function
s
.
spfilter2
(
c
,
e
,
tp
)
function
s
.
spfilter2
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRace
(
RACE_INSECT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c101110090.lua
View file @
8194d90b
...
@@ -52,7 +52,7 @@ function s.activate(e,tp,eg,ep,ev,re,rp)
...
@@ -52,7 +52,7 @@ function s.activate(e,tp,eg,ep,ev,re,rp)
if
ct
>
7
and
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
if
ct
>
7
and
aux
.
MustMaterialCheck
(
nil
,
tp
,
EFFECT_MUST_BE_SMATERIAL
)
and
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
then
and
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
)
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
tc
:
SetMaterial
(
nil
)
tc
:
SetMaterial
(
nil
)
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
Duel
.
SpecialSummon
(
tc
,
SUMMON_TYPE_SYNCHRO
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
...
...
script/c101110091.lua
View file @
8194d90b
...
@@ -105,7 +105,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -105,7 +105,7 @@ function s.atkop(e,tp,eg,ep,ev,re,r,rp)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetReset
(
RESET_EV
NE
T
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EV
EN
T
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetValue
(
ct
*
100
)
e1
:
SetValue
(
ct
*
100
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
end
end
...
...
script/c101111023.lua
View file @
8194d90b
...
@@ -6,6 +6,7 @@ function c101111023.initial_effect(c)
...
@@ -6,6 +6,7 @@ function c101111023.initial_effect(c)
e1
:
SetDescription
(
aux
.
Stringid
(
101111023
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
101111023
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
101111023
)
e1
:
SetCountLimit
(
1
,
101111023
)
e1
:
SetTarget
(
c101111023
.
tg
)
e1
:
SetTarget
(
c101111023
.
tg
)
...
...
script/c101111030.lua
View file @
8194d90b
...
@@ -47,7 +47,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
Duel
.
SpecialSummonComplete
()
Duel
.
SpecialSummonComplete
()
end
end
function
s
.
flipup
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
flipup
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetLabelObject
()
local
c
=
e
:
GetLabelObject
()
if
c
:
GetFlagEffect
(
id
)
>
0
then
Duel
.
ChangePosition
(
c
,
POS_FACEUP_DEFENSE
)
end
if
c
:
GetFlagEffect
(
id
)
>
0
then
Duel
.
ChangePosition
(
c
,
POS_FACEUP_DEFENSE
)
end
e
:
Reset
()
e
:
Reset
()
...
@@ -55,7 +55,7 @@ end
...
@@ -55,7 +55,7 @@ end
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_END
return
Duel
.
GetCurrentPhase
()
==
PHASE_END
end
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
r
,
p
,
chk
)
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSummonType
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
SUMMON_TYPE_SPECIAL
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsSummonType
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
SUMMON_TYPE_SPECIAL
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
#
g
,
0
,
0
)
...
...
script/c101111045.lua
View file @
8194d90b
...
@@ -12,7 +12,7 @@ function c101111045.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c101111045.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCountLimit
(
1
,
101111045
)
e1
:
SetCountLimit
(
1
,
101111045
)
e1
:
Set
Target
(
c101111045
.
srcon
)
e1
:
Set
Condition
(
c101111045
.
srcon
)
e1
:
SetTarget
(
c101111045
.
srtg
)
e1
:
SetTarget
(
c101111045
.
srtg
)
e1
:
SetOperation
(
c101111045
.
srop
)
e1
:
SetOperation
(
c101111045
.
srop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c101111066.lua
View file @
8194d90b
...
@@ -20,17 +20,20 @@ function c101111066.initial_effect(c)
...
@@ -20,17 +20,20 @@ function c101111066.initial_effect(c)
e2
:
SetOperation
(
c101111066
.
tdop
)
e2
:
SetOperation
(
c101111066
.
tdop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c101111066
.
filter
(
c
,
e
,
tp
)
function
c101111066
.
rfilter1
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x3a
)
return
c
:
IsSetCard
(
0x3a
)
end
end
function
c101111066
.
rfilter2
(
c
,
e
,
tp
)
function
c101111066
.
rfilter2
(
c
,
e
,
tp
)
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0x3a
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
return
bit
.
band
(
c
:
GetType
(),
0x81
)
==
0x81
and
c
:
IsSetCard
(
0x3a
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
SUMMON_TYPE_RITUAL
,
tp
,
false
,
true
)
end
end
function
c101111066
.
cfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
not
c
:
IsImmuneToEffect
(
e
)
and
c
:
IsControler
(
tp
)
end
function
c101111066
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c101111066
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
local
mg1
=
Duel
.
GetRitualMaterial
(
tp
)
local
mg1
=
Duel
.
GetRitualMaterial
(
tp
)
local
mg2
=
Duel
.
GetReleaseGroup
(
1
-
tp
):
Filter
(
Card
.
IsFaceup
,
nil
)
local
mg2
=
Duel
.
GetReleaseGroup
(
1
-
tp
):
Filter
(
c101111066
.
cfilter
,
nil
,
e
,
1
-
tp
)
return
Duel
.
IsExistingMatchingCard
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
c101111066
.
filter
,
e
,
tp
,
mg1
,
nil
,
Card
.
GetLevel
,
"Equal"
)
return
Duel
.
IsExistingMatchingCard
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
c101111066
.
rfilter1
,
e
,
tp
,
mg1
,
nil
,
Card
.
GetLevel
,
"Equal"
)
or
(
mg2
:
GetCount
()
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
or
(
mg2
:
GetCount
()
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c101111066
.
rfilter2
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
))
and
Duel
.
IsExistingMatchingCard
(
c101111066
.
rfilter2
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
))
end
end
...
@@ -39,8 +42,8 @@ end
...
@@ -39,8 +42,8 @@ end
function
c101111066
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c101111066
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
mg1
=
Duel
.
GetRitualMaterial
(
tp
)
local
mg1
=
Duel
.
GetRitualMaterial
(
tp
)
local
mg2
=
Duel
.
GetReleaseGroup
(
1
-
tp
):
Filter
(
Card
.
IsFaceup
,
nil
)
local
mg2
=
Duel
.
GetReleaseGroup
(
1
-
tp
):
Filter
(
c101111066
.
cfilter
,
nil
,
e
,
1
-
tp
)
local
g1
=
Duel
.
GetMatchingGroup
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
nil
,
c101111066
.
filter
,
e
,
tp
,
mg1
,
nil
,
Card
.
GetLevel
,
"Equal"
)
local
g1
=
Duel
.
GetMatchingGroup
(
aux
.
RitualUltimateFilter
,
tp
,
LOCATION_HAND
,
0
,
nil
,
c101111066
.
rfilter1
,
e
,
tp
,
mg1
,
nil
,
Card
.
GetLevel
,
"Equal"
)
local
g2
=
nil
local
g2
=
nil
local
g
=
g1
local
g
=
g1
if
mg2
:
GetCount
()
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
if
mg2
:
GetCount
()
>
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
then
...
...
script/c101111069.lua
View file @
8194d90b
...
@@ -18,16 +18,16 @@ end
...
@@ -18,16 +18,16 @@ end
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCustomActivityCount
(
id
,
1
-
tp
,
ACTIVITY_CHAIN
)
~=
0
return
Duel
.
GetCustomActivityCount
(
id
,
1
-
tp
,
ACTIVITY_CHAIN
)
~=
0
end
end
function
s
.
filter
(
c
)
function
s
.
filter
(
c
,
tp
)
return
(
c
:
GetType
()
==
TYPE_SPELL
or
c
:
GetType
()
==
TYPE_TRAP
)
and
not
c
:
IsCode
(
id
)
return
(
c
:
GetType
()
==
TYPE_SPELL
or
c
:
GetType
()
==
TYPE_TRAP
)
and
not
c
:
IsCode
(
id
)
and
(
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
0
and
c
:
IsAbleToHand
()
or
c
:
IsSSetable
())
and
(
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
0
and
c
:
IsAbleToHand
()
or
c
:
IsSSetable
())
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
)
end
end
end
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_OPERATECARD
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
):
GetFirst
()
if
not
tc
then
return
end
if
not
tc
then
return
end
local
b1
,
b2
=
tc
:
IsSSetable
(),
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
0
and
tc
:
IsAbleToHand
()
local
b1
,
b2
=
tc
:
IsSSetable
(),
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
>
0
and
tc
:
IsAbleToHand
()
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
1153
,
1190
)
==
0
)
then
if
b1
and
(
not
b2
or
Duel
.
SelectOption
(
tp
,
1153
,
1190
)
==
0
)
then
...
...
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