Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-THC-cards
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
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
HiiragiGuardians
ygopro-THC-cards
Commits
e6905b24
Commit
e6905b24
authored
Jul 02, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
6937d705
Pipeline
#14381
passed with stage
in 57 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
7 deletions
+13
-7
script/c60722.lua
script/c60722.lua
+1
-1
script/c66916002.lua
script/c66916002.lua
+1
-1
script/c74563043.lua
script/c74563043.lua
+6
-4
script/c74563606.lua
script/c74563606.lua
+5
-1
No files found.
script/c60722.lua
View file @
e6905b24
...
@@ -32,7 +32,7 @@ function c60722.filter(c,tp)
...
@@ -32,7 +32,7 @@ function c60722.filter(c,tp)
end
end
function
c60722
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c60722
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ex
,
tg
,
tc
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_DESTROY
)
local
ex
,
tg
,
tc
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_DESTROY
)
return
ex
and
tg
~=
nil
and
tc
+
tg
:
FilterCount
(
c60722
.
filter
,
nil
,
tp
)
-
tg
:
GetCount
()
>
0
and
not
re
:
GetHandler
():
IsLocation
(
LOCATION_REMOVED
)
return
ex
and
tg
~=
nil
and
tc
+
tg
:
FilterCount
(
c60722
.
filter
,
nil
,
tp
)
-
tg
:
GetCount
()
>
0
and
not
re
:
GetHandler
():
IsLocation
(
LOCATION_REMOVED
)
and
rp
==
1
-
tp
end
end
function
c60722
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c60722
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
end
...
...
script/c66916002.lua
View file @
e6905b24
...
@@ -14,7 +14,7 @@ function cm.initial_effect(c)
...
@@ -14,7 +14,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
cm
.
filter
(
c
)
function
cm
.
filter
(
c
)
return
c
:
IsSetCard
(
0x999
)
and
c
:
IsAbleToDeck
()
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsSetCard
(
0x999
)
and
c
:
IsAbleToDeck
()
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
end
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
filter
(
chkc
)
end
...
...
script/c74563043.lua
View file @
e6905b24
...
@@ -31,14 +31,16 @@ function c74563043.initial_effect(c)
...
@@ -31,14 +31,16 @@ function c74563043.initial_effect(c)
e1
:
SetOperation
(
c74563043
.
vnop
)
e1
:
SetOperation
(
c74563043
.
vnop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c74563043
.
vnfilter
(
c
,
tp
)
return
c
:
IsAbleToRemove
(
tp
,
POS_FACEDOWN
)
and
c
:
IsControler
(
1
-
tp
)
end
function
c74563043
.
vntg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c74563043
.
vntg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
():
Filter
(
Card
.
IsAbleToRemove
,
nil
,
POS_FACEDOWN
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
():
Filter
(
c74563043
.
vnfilter
,
nil
,
tp
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToRemove
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
lg
)
end
if
chk
==
0
then
return
#
lg
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
lg
,
lg
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
lg
,
lg
:
GetCount
(),
0
,
0
)
end
end
function
c74563043
.
vnop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c74563043
.
vnop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
():
Filter
(
Card
.
IsAbleToRemove
,
nil
,
POS_FACEDOWN
)
local
lg
=
e
:
GetHandler
():
GetLinkedGroup
():
Filter
(
c74563043
.
vnfilter
,
nil
,
tp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<
lg
:
GetCount
()
then
return
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
lg
:
GetFirst
()
local
tc
=
lg
:
GetFirst
()
while
tc
do
while
tc
do
...
...
script/c74563606.lua
View file @
e6905b24
...
@@ -12,15 +12,19 @@ function c74563606.initial_effect(c)
...
@@ -12,15 +12,19 @@ function c74563606.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetCountLimit
(
1
)
e2
:
SetTarget
(
c74563606
.
lvtg
)
e2
:
SetOperation
(
c74563606
.
lvop
)
e2
:
SetOperation
(
c74563606
.
lvop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c74563606
.
lvfilter
(
c
,
lv
)
function
c74563606
.
lvfilter
(
c
,
lv
)
return
c
:
IsFaceup
()
and
(
c
:
IsLevelAbove
(
0
)
and
not
c
:
IsLevel
(
lv
))
or
(
c
:
IsRankAbove
(
0
)
and
not
c
:
IsRank
(
lv
))
return
c
:
IsFaceup
()
and
(
c
:
IsLevelAbove
(
0
)
and
not
c
:
IsLevel
(
lv
))
or
(
c
:
IsRankAbove
(
0
)
and
not
c
:
IsRank
(
lv
))
end
end
function
c74563606
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c74563606
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
6
)
end
end
function
c74563606
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c74563606
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
c74563606
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
0
)
local
g
=
Duel
.
GetMatchingGroup
(
c74563606
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
6
)
local
lc
=
g
:
GetFirst
()
local
lc
=
g
:
GetFirst
()
while
lc
do
while
lc
do
if
lc
:
IsLevelAbove
(
0
)
then
if
lc
:
IsLevelAbove
(
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