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
liucerf
pre-release-database-cdb
Commits
a033a496
You need to sign in or sign up before continuing.
Commit
a033a496
authored
May 10, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 黒魔術のバリア-ミラーフォース-
parent
a50d094e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
script/c101205069.lua
script/c101205069.lua
+3
-3
No files found.
script/c101205069.lua
View file @
a033a496
...
@@ -19,13 +19,13 @@ function s.cfilter1(c)
...
@@ -19,13 +19,13 @@ function s.cfilter1(c)
return
aux
.
IsCodeListed
(
c
,
79791878
)
and
c
:
IsFaceup
()
return
aux
.
IsCodeListed
(
c
,
79791878
)
and
c
:
IsFaceup
()
end
end
function
s
.
condition1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
condition1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
tp
~=
Duel
.
GetTurnPlayer
()
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
return
tp
~=
Duel
.
GetTurnPlayer
()
end
end
function
s
.
filter
(
c
)
function
s
.
filter
(
c
)
return
c
:
IsAttackPos
()
return
c
:
IsAttackPos
()
end
end
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
...
@@ -67,5 +67,5 @@ function s.condition2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,5 +67,5 @@ function s.condition2(e,tp,eg,ep,ev,re,r,rp)
if
tp
==
ep
then
return
false
end
if
tp
==
ep
then
return
false
end
if
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
return
false
end
if
not
re
:
IsActiveType
(
TYPE_MONSTER
)
then
return
false
end
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
(
s
.
cfilter3
,
nil
)
-
tg
:
GetCount
()
>
0
and
Duel
.
IsExistingMatchingCard
(
s
.
cfilter1
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
return
ex
and
tg
~=
nil
and
tc
+
tg
:
FilterCount
(
s
.
cfilter3
,
nil
)
-
tg
:
GetCount
()
>
0
end
end
\ No newline at end of file
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