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
b06dad6f
Commit
b06dad6f
authored
Aug 18, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
49b75064
Pipeline
#15721
passed with stages
in 57 seconds
Changes
9
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
25 additions
and
18 deletions
+25
-18
script/c100419025.lua
script/c100419025.lua
+0
-1
script/c100419027.lua
script/c100419027.lua
+2
-1
script/c100419029.lua
script/c100419029.lua
+1
-0
script/c100419030.lua
script/c100419030.lua
+1
-0
script/c100419035.lua
script/c100419035.lua
+2
-1
script/c100419036.lua
script/c100419036.lua
+8
-4
script/c101111003.lua
script/c101111003.lua
+8
-8
script/c101111044.lua
script/c101111044.lua
+1
-1
script/c101111051.lua
script/c101111051.lua
+2
-2
No files found.
script/c100419025.lua
View file @
b06dad6f
...
...
@@ -27,7 +27,6 @@ function c100419025.initial_effect(c)
e4
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e4
:
SetCode
(
EVENT_EQUIP
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e4
:
SetCountLimit
(
1
,
100419025
)
e4
:
SetTarget
(
c100419025
.
thtg
)
...
...
script/c100419027.lua
View file @
b06dad6f
...
...
@@ -29,7 +29,7 @@ function c100419027.initial_effect(c)
--equip
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
100419027
,
1
))
e4
:
SetCategory
(
CATEGORY_EQUIP
+
CATEGORY_LEAVE_GRAVE
)
e4
:
SetCategory
(
CATEGORY_EQUIP
)
e4
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e4
:
SetCode
(
EVENT_FREE_CHAIN
)
e4
:
SetRange
(
LOCATION_MZONE
)
...
...
@@ -49,6 +49,7 @@ end
function
c100419027
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c100419027
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_HANDES
,
nil
,
0
,
tp
,
1
)
end
function
c100419027
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
script/c100419029.lua
View file @
b06dad6f
...
...
@@ -9,6 +9,7 @@ function c100419029.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
100419029
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e1
:
SetTarget
(
c100419029
.
target
)
e1
:
SetOperation
(
c100419029
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
script/c100419030.lua
View file @
b06dad6f
...
...
@@ -32,6 +32,7 @@ function c100419030.eqlimit(e,c)
return
e
:
GetOwner
()
==
c
end
function
c100419030
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
local
c
=
e
:
GetHandler
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
c100419030
.
spfilter
),
tp
,
LOCATION_HAND
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
...
...
script/c100419035.lua
View file @
b06dad6f
...
...
@@ -8,6 +8,7 @@ function c100419035.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
100419035
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetTarget
(
c100419035
.
target
)
e1
:
SetOperation
(
c100419035
.
activate
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -32,7 +33,7 @@ function c100419035.activate(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_LEAVE_FIELD_REDIRECT
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_
STANDARD
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_
REDIRECT
)
e1
:
SetValue
(
LOCATION_REMOVED
)
tc
:
RegisterEffect
(
e1
,
true
)
Duel
.
SpecialSummonComplete
()
...
...
script/c100419036.lua
View file @
b06dad6f
...
...
@@ -10,6 +10,7 @@ function c100419036.initial_effect(c)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
,
100419036
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetCondition
(
c100419036
.
condition
)
e1
:
SetTarget
(
c100419036
.
target
)
e1
:
SetOperation
(
c100419036
.
activate
)
...
...
@@ -37,21 +38,24 @@ function c100419036.condition(e,tp,eg,ep,ev,re,r,rp)
end
function
c100419036
.
filter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
Duel
.
GetMatchingGroupCount
(
c100419036
.
eqfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
tp
,
c
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c100419036
.
eqfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
tp
,
c
)
end
function
c100419036
.
eqfilter
(
c
,
tp
,
ec
)
return
c
:
IsType
(
TYPE_EQUIP
)
and
c
:
CheckUniqueOnField
(
tp
)
and
not
c
:
IsForbidden
()
and
c
:
CheckEquipTarget
(
ec
)
end
function
c100419036
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
c100419036
.
filter
(
chkc
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c100419036
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
not
e
:
GetHandler
():
IsLocation
(
LOCATION_SZONE
)
then
ft
=
ft
-
1
end
return
ft
>
0
and
Duel
.
IsExistingTarget
(
c100419036
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c100419036
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
tp
)
end
function
c100419036
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
not
tc
:
IsImmuneToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_EQUIP
)
local
sc
=
Duel
.
SelectMatchingCard
(
tp
,
c100419036
.
eqfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tp
,
tc
):
GetFirst
()
if
sc
then
...
...
script/c101111003.lua
View file @
b06dad6f
...
...
@@ -15,14 +15,14 @@ function c101111003.initial_effect(c)
e1
:
SetOperation
(
c101111003
.
spop
)
c
:
RegisterEffect
(
e1
)
--destroy replace
local
e
3
=
Effect
.
CreateEffect
(
c
)
e
3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e
3
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e
3
:
SetRange
(
LOCATION_GRAVE
)
e
3
:
SetTarget
(
c101111003
.
reptg
)
e
3
:
SetValue
(
c101111003
.
repval
)
e
3
:
SetOperation
(
c101111003
.
repop
)
c
:
RegisterEffect
(
e
3
)
local
e
2
=
Effect
.
CreateEffect
(
c
)
e
2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e
2
:
SetCode
(
EFFECT_DESTROY_REPLACE
)
e
2
:
SetRange
(
LOCATION_GRAVE
)
e
2
:
SetTarget
(
c101111003
.
reptg
)
e
2
:
SetValue
(
c101111003
.
repval
)
e
2
:
SetOperation
(
c101111003
.
repop
)
c
:
RegisterEffect
(
e
2
)
end
function
c101111003
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetAttacker
():
IsControler
(
1
-
tp
)
...
...
script/c101111044.lua
View file @
b06dad6f
--銀河光子
龍
--銀河光子
竜
--
--Script by Trishula9
function
c101111044
.
initial_effect
(
c
)
...
...
script/c101111051.lua
View file @
b06dad6f
...
...
@@ -4,7 +4,7 @@
function
c101111051
.
initial_effect
(
c
)
--activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_DECKDES
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
101111051
+
EFFECT_COUNT_CODE_OATH
)
...
...
@@ -35,7 +35,7 @@ function c101111051.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c101111051
.
cfilter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
and
c
:
IsCode
(
93717133
)
return
c
:
IsControler
(
tp
)
and
c
:
Is
Faceup
()
and
c
:
Is
Code
(
93717133
)
end
function
c101111051
.
cfcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c101111051
.
cfilter
,
1
,
nil
,
tp
)
...
...
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