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
Crescent/毛虫
pre-release-database-cdb
Commits
a5fd47aa
Commit
a5fd47aa
authored
Oct 24, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
8e81c660
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
script/c101207064.lua
script/c101207064.lua
+1
-1
script/c101207065.lua
script/c101207065.lua
+1
-1
No files found.
script/c101207064.lua
View file @
a5fd47aa
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
...
@@ -26,7 +26,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
s
.
spfilter
(
c
,
e
,
tp
,
att
)
function
s
.
spfilter
(
c
,
e
,
tp
,
att
)
if
att
or
not
c
:
IsAttribute
(
att
)
then
return
false
end
if
att
and
not
c
:
IsAttribute
(
att
)
then
return
false
end
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
,
c
:
GetOwner
())
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFENSE
,
c
:
GetOwner
())
and
Duel
.
IsExistingMatchingCard
(
s
.
desfilter
,
c
:
GetOwner
(),
LOCATION_MZONE
,
0
,
1
,
nil
,
c
:
GetOwner
(),
att
)
and
Duel
.
IsExistingMatchingCard
(
s
.
desfilter
,
c
:
GetOwner
(),
LOCATION_MZONE
,
0
,
1
,
nil
,
c
:
GetOwner
(),
att
)
end
end
...
...
script/c101207065.lua
View file @
a5fd47aa
...
@@ -50,7 +50,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
DiscardHand
(
tp
,
s
.
hdfilter
,
1
,
1
,
REASON_EFFECT
,
nil
,
e
,
tp
,
rc
:
GetOriginalRace
())
Duel
.
DiscardHand
(
tp
,
s
.
hdfilter
,
1
,
1
,
REASON_EFFECT
,
nil
,
e
,
tp
,
rc
:
GetOriginalRace
())
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
,
rc
:
GetOriginalRace
())
local
sg
=
Duel
.
SelectMatchingCard
(
tp
,
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
,
rc
:
GetOriginalRace
())
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
sg
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
_DEFENSE
)
end
end
end
end
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
...
...
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