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
MyCard
pre-release-database-cdb
Commits
04ebb27e
Commit
04ebb27e
authored
Apr 20, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
1d294c26
Pipeline
#26591
passed with stages
in 58 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
script/c101205080.lua
script/c101205080.lua
+4
-4
No files found.
script/c101205080.lua
View file @
04ebb27e
...
...
@@ -44,15 +44,15 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
thfilter1
(
c
,
tp
)
return
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_MONSTER
)
==
TYPE_MONSTER
return
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_MONSTER
)
==
TYPE_MONSTER
and
c
:
IsFaceup
()
and
Duel
.
IsExistingTarget
(
s
.
thfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
tp
,
c
)
end
function
s
.
thfilter2
(
c
,
tp
,
oc
)
return
not
c
:
IsOriginalCodeRule
(
oc
:
GetOriginalCode
())
and
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_MONSTER
)
==
TYPE_MONSTER
return
not
c
:
IsOriginalCodeRule
(
oc
:
GetOriginalCode
())
and
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_MONSTER
)
==
TYPE_MONSTER
and
c
:
IsFaceup
()
and
Duel
.
IsExistingTarget
(
s
.
thfilter3
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
tp
,
oc
,
c
)
end
function
s
.
thfilter3
(
c
,
tp
,
oc
,
tc
)
return
not
c
:
IsOriginalCodeRule
(
oc
:
GetOriginalCode
(),
tc
:
GetOriginalCode
())
and
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_MONSTER
)
==
TYPE_MONSTER
return
not
c
:
IsOriginalCodeRule
(
oc
:
GetOriginalCode
(),
tc
:
GetOriginalCode
())
and
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_MONSTER
)
==
and
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
s
.
setfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
tp
,
oc
,
tc
,
c
)
end
function
s
.
setfilter
(
c
,
tp
,
oc
,
tc
,
sc
)
...
...
@@ -73,7 +73,7 @@ function s.settg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
thfilter3
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
,
tp
,
oc
,
tc
)
end
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
:
Filter
(
Card
.
IsFaceup
,
nil
)
if
tg
:
GetCount
()
~=
3
then
return
end
local
oc
=
tg
:
GetFirst
()
local
tc
=
tg
:
GetNext
()
...
...
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