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
8b745273
Commit
8b745273
authored
Apr 02, 2022
by
wyykak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
revert needless modification
Signed-off-by:
wyykak
<
wyy_1414@126.com
>
parent
5af69d22
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
5 deletions
+5
-5
script/c21009.lua
script/c21009.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/c21080.lua
script/c21080.lua
+1
-1
No files found.
script/c21009.lua
View file @
8b745273
...
@@ -28,7 +28,7 @@ function c21009.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -28,7 +28,7 @@ function c21009.spcon(e,tp,eg,ep,ev,re,r,rp)
return
ep
~=
tp
return
ep
~=
tp
end
end
function
c21009
.
spfilter
(
c
,
e
,
tp
)
function
c21009
.
spfilter
(
c
,
e
,
tp
)
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
)
return
not
c
:
IsCode
(
21009
)
and
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x256
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c21009
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21009
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
script/c21028.lua
View file @
8b745273
...
@@ -36,7 +36,7 @@ function c21028.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -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
)))
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
end
function
c21028
.
spfilter
(
c
,
e
,
tp
)
function
c21028
.
spfilter
(
c
,
e
,
tp
)
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
)
return
c
:
IsLevelBelow
(
4
)
and
(
c
:
IsSetCard
(
0x256
)
or
c
:
IsSetCard
(
0x258
))
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c21028
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c21028
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
script/c21036.lua
View file @
8b745273
...
@@ -52,7 +52,7 @@ end
...
@@ -52,7 +52,7 @@ end
c21036
.
DescSetName
=
0x258
c21036
.
DescSetName
=
0x258
function
c21036
.
spfilter
(
c
)
function
c21036
.
spfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsSetCard
(
0x256
)
or
c
:
IsSetCard
(
0x258
))
and
c
:
IsType
(
TYPE_MONSTER
)
return
(
c
:
IsSetCard
(
0x256
)
or
c
:
IsSetCard
(
0x258
))
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c21036
.
spcon
(
e
,
c
)
function
c21036
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
script/c21039.lua
View file @
8b745273
...
@@ -40,7 +40,7 @@ end
...
@@ -40,7 +40,7 @@ end
c21039
.
DescSetName
=
0x258
c21039
.
DescSetName
=
0x258
function
c21039
.
spfilter
(
c
)
function
c21039
.
spfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
(
c
:
IsSetCard
(
0x256
)
or
c
:
IsSetCard
(
0x258
))
and
c
:
IsType
(
TYPE_MONSTER
)
return
(
c
:
IsSetCard
(
0x256
)
or
c
:
IsSetCard
(
0x258
))
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c21039
.
spcon
(
e
,
c
)
function
c21039
.
spcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
...
...
script/c21080.lua
View file @
8b745273
...
@@ -46,7 +46,7 @@ function c21080.initial_effect(c)
...
@@ -46,7 +46,7 @@ function c21080.initial_effect(c)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c21080
.
mtfilter
(
c
)
function
c21080
.
mtfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetLevel
()
>
0
and
c
:
IsReleasable
()
and
c
:
IsSetCard
(
0x256
)
return
c
:
GetLevel
()
>
0
and
c
:
IsReleasable
()
and
c
:
IsSetCard
(
0x256
)
end
end
function
c21080
.
hspcon
(
e
,
c
)
function
c21080
.
hspcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
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