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
333cf507
Commit
333cf507
authored
Apr 16, 2022
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f6f1de69
Pipeline
#11729
passed with stages
in 33 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
13 deletions
+9
-13
script/c101109050.lua
script/c101109050.lua
+3
-8
script/c101109066.lua
script/c101109066.lua
+1
-1
script/c68941332.lua
script/c68941332.lua
+5
-4
No files found.
script/c101109050.lua
View file @
333cf507
...
...
@@ -3,7 +3,7 @@
--Script by Trishula9
function
c101109050
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
c101109050
.
mfilter
,
1
,
1
,
c101109050
.
lcheck
)
aux
.
AddLinkProcedure
(
c
,
c101109050
.
mfilter
,
1
,
1
)
c
:
EnableReviveLimit
()
--to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -27,13 +27,8 @@ function c101109050.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
c101109050
.
mfilter
(
c
)
return
c
:
IsLinkSetCard
(
0x17a
)
or
c
:
IsLinkCode
(
56099748
)
end
function
c101109050
.
lcheck
(
g
,
lc
)
return
g
:
IsExists
(
c101109050
.
lfilter
,
1
,
nil
)
end
function
c101109050
.
lfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
return
(
c
:
IsLinkSetCard
(
0x17a
)
or
c
:
IsLinkCode
(
56099748
))
and
(
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
or
not
c
:
IsLocation
(
LOCATION_MZONE
))
end
function
c101109050
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
script/c101109066.lua
View file @
333cf507
...
...
@@ -37,7 +37,7 @@ function c101109066.stcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsExistingMatchingCard
(
c101109066
.
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
c101109066
.
stfilter
(
c
)
return
c
:
IsSetCard
(
0x141
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsSSetable
()
return
c
:
IsSetCard
(
0x141
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
not
c
:
IsType
(
TYPE_FIELD
)
and
c
:
IsSSetable
()
end
function
c101109066
.
sttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
...
...
script/c68941332.lua
View file @
333cf507
...
...
@@ -30,9 +30,9 @@ function c68941332.filter(c,check)
and
(
check
or
c
:
IsAbleToChangeControler
())
end
function
c68941332
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c68941332
.
filter
,
1
-
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
true
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c68941332
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
true
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
Duel
.
SelectTarget
(
tp
,
c68941332
.
filter
,
1
-
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
true
)
Duel
.
SelectTarget
(
tp
,
c68941332
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
,
true
)
end
function
c68941332
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
...
...
@@ -46,6 +46,7 @@ function c68941332.activate(e,tp,eg,ep,ev,re,r,rp)
end
function
c68941332
.
rfilter
(
c
,
tp
)
return
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
and
(
c
:
IsRace
(
RACE_PLANT
)
or
c
:
IsHasEffect
(
101109066
))
and
Duel
.
IsExistingTarget
(
c68941332
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
c
)
end
function
c68941332
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
c68941332
.
rfilter
,
1
,
nil
,
tp
)
end
...
...
@@ -54,9 +55,9 @@ function c68941332.cost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
g
,
REASON_COST
)
end
function
c68941332
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsExistingTarget
(
c68941332
.
filter
,
1
-
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
IsExistingTarget
(
c68941332
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c68941332
.
filter
,
1
-
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c68941332
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_CONTROL
,
g
,
1
,
0
,
0
)
end
function
c68941332
.
activate2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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