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
5af69d22
Commit
5af69d22
authored
Apr 02, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 0x256 filters
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
4b7ea868
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
10 deletions
+10
-10
script/c19033.lua
script/c19033.lua
+1
-1
script/c21009.lua
script/c21009.lua
+1
-1
script/c21012.lua
script/c21012.lua
+1
-1
script/c21028.lua
script/c21028.lua
+1
-1
script/c21036.lua
script/c21036.lua
+1
-1
script/c21039.lua
script/c21039.lua
+1
-1
script/c21071.lua
script/c21071.lua
+1
-1
script/c21074.lua
script/c21074.lua
+1
-1
script/c21080.lua
script/c21080.lua
+1
-1
script/c74561037.lua
script/c74561037.lua
+1
-1
No files found.
script/c19033.lua
View file @
5af69d22
...
...
@@ -37,7 +37,7 @@ aux.FilterBoolFunction(Card.IsFusionSetCard,0x255),
aux
.
FilterBoolFunction
(
Card
.
IsFusionSetCard
,
0x261
),
}
function
c19033
.
filter
(
c
)
return
c
:
IsSetCard
(
0x256
)
and
c
:
IsAbleToHand
()
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
SetCard
(
0x256
)
and
c
:
IsAbleToHand
()
end
function
c19033
.
stg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c19033
.
filter
(
chkc
)
end
...
...
script/c21009.lua
View file @
5af69d22
...
...
@@ -28,7 +28,7 @@ function c21009.spcon(e,tp,eg,ep,ev,re,r,rp)
return
ep
~=
tp
end
function
c21009
.
spfilter
(
c
,
e
,
tp
)
return
not
c
:
IsCode
(
21009
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x256
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
not
c
:
IsCode
(
21009
)
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
LevelBelow
(
4
)
and
c
:
IsSetCard
(
0x256
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c21009
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
script/c21012.lua
View file @
5af69d22
...
...
@@ -31,7 +31,7 @@ function c21012.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
c21012
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x256
)
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
Faceup
()
and
c
:
IsSetCard
(
0x256
)
end
function
c21012
.
ntcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
script/c21028.lua
View file @
5af69d22
...
...
@@ -36,7 +36,7 @@ function c21028.spcon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
IsRelateToBattle
()
and
((
a
==
c
and
d
:
IsType
(
TYPE_MONSTER
)
and
d
:
IsControler
(
1
-
p
))
or
(
d
==
c
and
a
:
IsType
(
TYPE_MONSTER
)
and
a
:
IsControler
(
1
-
p
)))
end
function
c21028
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
(
c
:
IsSetCard
(
0x256
)
or
c
:
IsSetCard
(
0x258
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
LevelBelow
(
4
)
and
(
c
:
IsSetCard
(
0x256
)
or
c
:
IsSetCard
(
0x258
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c21028
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
script/c21036.lua
View file @
5af69d22
...
...
@@ -52,7 +52,7 @@ end
c21036
.
DescSetName
=
0x258
function
c21036
.
spfilter
(
c
)
return
(
c
:
IsSetCard
(
0x256
)
or
c
:
IsSetCard
(
0x258
))
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsSetCard
(
0x256
)
or
c
:
IsSetCard
(
0x258
))
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c21036
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
script/c21039.lua
View file @
5af69d22
...
...
@@ -40,7 +40,7 @@ end
c21039
.
DescSetName
=
0x258
function
c21039
.
spfilter
(
c
)
return
(
c
:
IsSetCard
(
0x256
)
or
c
:
IsSetCard
(
0x258
))
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsSetCard
(
0x256
)
or
c
:
IsSetCard
(
0x258
))
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c21039
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
script/c21071.lua
View file @
5af69d22
...
...
@@ -31,7 +31,7 @@ function c21071.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DRAW
,
nil
,
0
,
tp
,
1
)
end
function
c21071
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x256
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
SetCard
(
0x256
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c21071
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
==
0
then
return
end
...
...
script/c21074.lua
View file @
5af69d22
...
...
@@ -40,7 +40,7 @@ end
c21074
.
DescSetName
=
0x258
function
c21074
.
ntfilter
(
c
)
return
(
c
:
IsSetCard
(
0x256
)
or
c
:
IsSetCard
(
0x258
))
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsSetCard
(
0x256
)
or
c
:
IsSetCard
(
0x258
))
and
c
:
IsAbleToRemoveAsCost
()
end
function
c21074
.
ttcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
script/c21080.lua
View file @
5af69d22
...
...
@@ -46,7 +46,7 @@ function c21080.initial_effect(c)
c
:
RegisterEffect
(
e5
)
end
function
c21080
.
mtfilter
(
c
)
return
c
:
GetLevel
()
>
0
and
c
:
IsReleasable
()
and
c
:
IsSetCard
(
0x256
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetLevel
()
>
0
and
c
:
IsReleasable
()
and
c
:
IsSetCard
(
0x256
)
end
function
c21080
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
...
...
script/c74561037.lua
View file @
5af69d22
...
...
@@ -62,7 +62,7 @@ end
--SpecialSummon
function
cCardno
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
re
:
GetHandler
()
return
tc
:
Is
SetCard
(
0x256
)
or
tc
:
IsSetCard
(
0x6208
)
return
tc
:
Is
Type
(
TYPE_MONSTER
)
and
(
tc
:
IsSetCard
(
0x256
)
or
tc
:
IsSetCard
(
0x6208
)
)
end
function
cCardno
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
not
e
:
GetHandler
():
IsStatus
(
STATUS_CHAINING
)
and
Duel
.
GetMZoneCount
(
tp
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
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