Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
yks
pre-release-database-cdb
Commits
491a3bbc
Commit
491a3bbc
authored
May 29, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix
parent
3dbf8671
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
script/c100220022.lua
script/c100220022.lua
+1
-1
script/c100220203.lua
script/c100220203.lua
+1
-1
script/c100220206.lua
script/c100220206.lua
+1
-1
No files found.
script/c100220022.lua
View file @
491a3bbc
...
@@ -60,7 +60,7 @@ function s.spfilter(c,e,tp,fc)
...
@@ -60,7 +60,7 @@ function s.spfilter(c,e,tp,fc)
return
aux
.
IsMaterialListCode
(
fc
,
c
:
GetCode
())
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
aux
.
IsMaterialListCode
(
fc
,
c
:
GetCode
())
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
s
.
fselect
(
tg
,
tp
,
ec
)
function
s
.
fselect
(
tg
,
tp
,
ec
)
return
Duel
.
GetMZoneCount
(
tp
,
c
,
tp
)
>=#
tg
return
Duel
.
GetMZoneCount
(
tp
,
e
c
,
tp
)
>=#
tg
end
end
function
s
.
ffilter
(
c
,
e
,
tp
,
ec
)
function
s
.
ffilter
(
c
,
e
,
tp
,
ec
)
if
not
(
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsLevel
(
8
))
then
return
false
end
if
not
(
c
:
IsType
(
TYPE_FUSION
)
and
c
:
IsRace
(
RACE_MACHINE
)
and
c
:
IsAttribute
(
ATTRIBUTE_LIGHT
)
and
c
:
IsLevel
(
8
))
then
return
false
end
...
...
script/c100220203.lua
View file @
491a3bbc
...
@@ -34,7 +34,7 @@ end
...
@@ -34,7 +34,7 @@ end
function
s
.
tgfilter
(
c
,
e
)
function
s
.
tgfilter
(
c
,
e
)
return
c
:
IsFaceupEx
()
and
c
:
GetBaseAttack
()
>
0
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeEffectTarget
(
e
)
return
c
:
IsFaceupEx
()
and
c
:
GetBaseAttack
()
>
0
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsCanBeEffectTarget
(
e
)
end
end
function
s
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
local
g
=
eg
:
Filter
(
s
.
tgfilter
,
nil
,
e
)
local
g
=
eg
:
Filter
(
s
.
tgfilter
,
nil
,
e
)
if
chk
==
0
then
return
g
:
GetCount
()
>
0
end
if
chk
==
0
then
return
g
:
GetCount
()
>
0
end
...
...
script/c100220206.lua
View file @
491a3bbc
...
@@ -41,7 +41,7 @@ end
...
@@ -41,7 +41,7 @@ end
function
s
.
filter
(
c
,
e
)
function
s
.
filter
(
c
,
e
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsCanBeEffectTarget
(
e
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsCanBeEffectTarget
(
e
)
end
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
s
.
filter
(
chkc
,
e
)
end
if
chkc
then
return
eg
:
IsContains
(
chkc
)
and
s
.
filter
(
chkc
,
e
)
end
if
chk
==
0
then
return
eg
:
IsExists
(
s
.
filter
,
1
,
nil
,
e
)
end
if
chk
==
0
then
return
eg
:
IsExists
(
s
.
filter
,
1
,
nil
,
e
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
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