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
2442c942
Commit
2442c942
authored
Apr 22, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5287b3c6
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
24 additions
and
11 deletions
+24
-11
script/c101109012.lua
script/c101109012.lua
+5
-2
script/c101109013.lua
script/c101109013.lua
+5
-2
script/c101109014.lua
script/c101109014.lua
+7
-4
script/c101109042.lua
script/c101109042.lua
+1
-0
script/c101109063.lua
script/c101109063.lua
+4
-1
script/c101109071.lua
script/c101109071.lua
+1
-1
script/c101109072.lua
script/c101109072.lua
+1
-1
No files found.
script/c101109012.lua
View file @
2442c942
...
@@ -88,8 +88,8 @@ function c101109012.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -88,8 +88,8 @@ function c101109012.activate(e,tp,eg,ep,ev,re,r,rp)
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg
,
e
:
GetHandler
(),
chkf
)
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg
,
e
:
GetHandler
(),
chkf
)
tc
:
SetMaterial
(
mat1
)
tc
:
SetMaterial
(
mat1
)
if
mat1
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
then
if
mat1
:
IsExists
(
c101109012
.
fdfilter
,
1
,
nil
)
then
local
cg
=
mat1
:
Filter
(
Card
.
IsFacedown
,
nil
)
local
cg
=
mat1
:
Filter
(
c101109012
.
fdfilter
,
nil
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
end
end
Duel
.
SendtoDeck
(
mat1
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_FUSION
)
Duel
.
SendtoDeck
(
mat1
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_FUSION
)
...
@@ -115,6 +115,9 @@ function c101109012.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -115,6 +115,9 @@ function c101109012.activate(e,tp,eg,ep,ev,re,r,rp)
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
end
end
end
end
function
c101109012
.
fdfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFacedown
()
or
c
:
IsLocation
(
LOCATION_HAND
)
end
function
c101109012
.
seqfilter
(
c
,
tp
)
function
c101109012
.
seqfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_DECK
)
and
c
:
IsControler
(
tp
)
return
c
:
IsLocation
(
LOCATION_DECK
)
and
c
:
IsControler
(
tp
)
end
end
script/c101109013.lua
View file @
2442c942
...
@@ -93,8 +93,8 @@ function c101109013.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -93,8 +93,8 @@ function c101109013.activate(e,tp,eg,ep,ev,re,r,rp)
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg
,
e
:
GetHandler
(),
chkf
)
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg
,
e
:
GetHandler
(),
chkf
)
tc
:
SetMaterial
(
mat1
)
tc
:
SetMaterial
(
mat1
)
if
mat1
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
then
if
mat1
:
IsExists
(
c101109013
.
fdfilter
,
1
,
nil
)
then
local
cg
=
mat1
:
Filter
(
Card
.
IsFacedown
,
nil
)
local
cg
=
mat1
:
Filter
(
c101109013
.
fdfilter
,
nil
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
end
end
Duel
.
SendtoDeck
(
mat1
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_FUSION
)
Duel
.
SendtoDeck
(
mat1
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_FUSION
)
...
@@ -120,6 +120,9 @@ function c101109013.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -120,6 +120,9 @@ function c101109013.activate(e,tp,eg,ep,ev,re,r,rp)
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
end
end
end
end
function
c101109013
.
fdfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFacedown
()
or
c
:
IsLocation
(
LOCATION_HAND
)
end
function
c101109013
.
seqfilter
(
c
,
tp
)
function
c101109013
.
seqfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_DECK
)
and
c
:
IsControler
(
tp
)
return
c
:
IsLocation
(
LOCATION_DECK
)
and
c
:
IsControler
(
tp
)
end
end
script/c101109014.lua
View file @
2442c942
...
@@ -20,7 +20,7 @@ function c101109014.initial_effect(c)
...
@@ -20,7 +20,7 @@ function c101109014.initial_effect(c)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCountLimit
(
1
,
101109014
+
100
)
e3
:
SetCountLimit
(
1
,
101109014
+
100
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
Set
Target
(
c101109014
.
condition
)
e3
:
Set
Condition
(
c101109014
.
condition
)
e3
:
SetTarget
(
c101109014
.
target
)
e3
:
SetTarget
(
c101109014
.
target
)
e3
:
SetOperation
(
c101109014
.
activate
)
e3
:
SetOperation
(
c101109014
.
activate
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
...
@@ -42,7 +42,7 @@ function c101109014.tgop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,7 +42,7 @@ function c101109014.tgop(e,tp,eg,ep,ev,re,r,rp)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
Duel
.
SpecialSummon
(
e
:
GetHandler
(),
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101109014
.
tgfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101109014
.
tgfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
#
g
>
0
and
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
>
0
then
if
#
g
>
0
and
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
>
0
and
g
:
GetFirst
():
IsLocation
(
LOCATION_GRAVE
)
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_EFFECT
)
Duel
.
DiscardDeck
(
tp
,
3
,
REASON_EFFECT
)
end
end
...
@@ -100,8 +100,8 @@ function c101109014.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -100,8 +100,8 @@ function c101109014.activate(e,tp,eg,ep,ev,re,r,rp)
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
if
sg1
:
IsContains
(
tc
)
and
(
sg2
==
nil
or
not
sg2
:
IsContains
(
tc
)
or
not
Duel
.
SelectYesNo
(
tp
,
ce
:
GetDescription
()))
then
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg
,
e
:
GetHandler
(),
chkf
)
local
mat1
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg
,
e
:
GetHandler
(),
chkf
)
tc
:
SetMaterial
(
mat1
)
tc
:
SetMaterial
(
mat1
)
if
mat1
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
then
if
mat1
:
IsExists
(
c101109014
.
fdfilter
,
1
,
nil
)
then
local
cg
=
mat1
:
Filter
(
Card
.
IsFacedown
,
nil
)
local
cg
=
mat1
:
Filter
(
c101109014
.
fdfilter
,
nil
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
Duel
.
ConfirmCards
(
1
-
tp
,
cg
)
end
end
Duel
.
SendtoDeck
(
mat1
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_FUSION
)
Duel
.
SendtoDeck
(
mat1
,
nil
,
SEQ_DECKTOP
,
REASON_EFFECT
+
REASON_MATERIAL
+
REASON_FUSION
)
...
@@ -127,6 +127,9 @@ function c101109014.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -127,6 +127,9 @@ function c101109014.activate(e,tp,eg,ep,ev,re,r,rp)
tc
:
CompleteProcedure
()
tc
:
CompleteProcedure
()
end
end
end
end
function
c101109014
.
fdfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsFacedown
()
or
c
:
IsLocation
(
LOCATION_HAND
)
end
function
c101109014
.
seqfilter
(
c
,
tp
)
function
c101109014
.
seqfilter
(
c
,
tp
)
return
c
:
IsLocation
(
LOCATION_DECK
)
and
c
:
IsControler
(
tp
)
return
c
:
IsLocation
(
LOCATION_DECK
)
and
c
:
IsControler
(
tp
)
end
end
script/c101109042.lua
View file @
2442c942
...
@@ -32,6 +32,7 @@ function c101109042.initial_effect(c)
...
@@ -32,6 +32,7 @@ function c101109042.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_DECKDES
)
e3
:
SetCategory
(
CATEGORY_DECKDES
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
101109042
+
200
)
e3
:
SetCountLimit
(
1
,
101109042
+
200
)
e3
:
SetCondition
(
c101109042
.
discon
)
e3
:
SetCondition
(
c101109042
.
discon
)
e3
:
SetTarget
(
c101109042
.
distg
)
e3
:
SetTarget
(
c101109042
.
distg
)
...
...
script/c101109063.lua
View file @
2442c942
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
function
c101109063
.
initial_effect
(
c
)
function
c101109063
.
initial_effect
(
c
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
@@ -25,6 +24,7 @@ function c101109063.initial_effect(c)
...
@@ -25,6 +24,7 @@ function c101109063.initial_effect(c)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE_START
)
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE_START
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
,
101109063
+
100
)
e2
:
SetCountLimit
(
1
,
101109063
+
100
)
e2
:
SetCondition
(
c101109063
.
atkcon
)
e2
:
SetTarget
(
c101109063
.
atktg
)
e2
:
SetTarget
(
c101109063
.
atktg
)
e2
:
SetOperation
(
c101109063
.
atkop
)
e2
:
SetOperation
(
c101109063
.
atkop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -76,6 +76,9 @@ function c101109063.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -76,6 +76,9 @@ function c101109063.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
tc
,
nil
,
1
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tc
,
nil
,
1
,
REASON_EFFECT
)
end
end
end
end
function
c101109063
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
==
1
-
tp
end
function
c101109063
.
atkfilter
(
c
)
function
c101109063
.
atkfilter
(
c
)
return
not
c
:
IsPublic
()
and
c
:
IsSetCard
(
0x146
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
not
c
:
IsPublic
()
and
c
:
IsSetCard
(
0x146
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
...
...
script/c101109071.lua
View file @
2442c942
...
@@ -10,7 +10,7 @@ function c101109071.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c101109071.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e1
:
SetCountLimit
(
1
,
101109071
)
e1
:
SetCountLimit
(
1
,
101109071
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e1
:
Set
Target
(
c101109071
.
condition
)
e1
:
Set
Condition
(
c101109071
.
condition
)
e1
:
SetTarget
(
c101109071
.
target
)
e1
:
SetTarget
(
c101109071
.
target
)
e1
:
SetOperation
(
c101109071
.
activate
)
e1
:
SetOperation
(
c101109071
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
...
...
script/c101109072.lua
View file @
2442c942
...
@@ -10,7 +10,7 @@ function c101109072.initial_effect(c)
...
@@ -10,7 +10,7 @@ function c101109072.initial_effect(c)
--quick
--quick
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
101109072
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
101109072
,
0
))
e2
:
SetCategory
(
CATEGORY_DISABLE
+
CATEGORY_
SEARCH
+
CATEGORY_
TOGRAVE
)
e2
:
SetCategory
(
CATEGORY_DISABLE
+
CATEGORY_TOGRAVE
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
...
...
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