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
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
八宫一月
ygopro-THC-cards
Commits
0345a7e5
Commit
0345a7e5
authored
Jun 04, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
7c68a5ce
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
script/c32022.lua
script/c32022.lua
+1
-1
script/c33300306.lua
script/c33300306.lua
+2
-2
No files found.
script/c32022.lua
View file @
0345a7e5
...
...
@@ -22,7 +22,7 @@ function c32022.initial_effect(c)
end
--
function
c32022
.
tfilter1
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0x410
)
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
Faceup
()
and
c
:
IsAbleToHand
()
and
c
:
IsSetCard
(
0x410
)
end
function
c32022
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c32022
.
tfilter1
,
tp
,
LOCATION_GRAVE
+
LOCATION_PZONE
+
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
...
...
script/c33300306.lua
View file @
0345a7e5
...
...
@@ -83,8 +83,8 @@ function cm.ltg(...)
aux
.
GetLinkMaterials
=
f
return
res
end
function
cm
.
GetLinkMaterials
(
tp
,
f
,
lc
)
local
mg
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LConditionFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
lc
)
function
cm
.
GetLinkMaterials
(
tp
,
f
,
lc
,
e
)
local
mg
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LConditionFilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
f
,
lc
,
e
)
local
mg2
=
Duel
.
GetMatchingGroup
(
Auxiliary
.
LExtraFilter
,
tp
,
LOCATION_HAND
+
LOCATION_SZONE
,
LOCATION_ONFIELD
,
nil
,
f
,
lc
,
tp
)
local
mg3
=
Duel
.
GetMatchingGroup
(
cm
.
extracheck
,
tp
,
LOCATION_SZONE
,
0
,
nil
)
if
mg2
:
GetCount
()
>
0
then
mg
:
Merge
(
mg2
)
end
...
...
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