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
b9f6da47
Commit
b9f6da47
authored
Feb 05, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 千年の十字
特殊召唤和回到卡组不同时处理,会将魔法与陷阱区域的怪兽卡也送回卡组。
parent
b0a28d13
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
script/c101205053.lua
script/c101205053.lua
+7
-4
No files found.
script/c101205053.lua
View file @
b9f6da47
...
@@ -21,8 +21,8 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -21,8 +21,8 @@ function s.target(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
end
function
s
.
tdfilter
(
c
)
function
s
.
tdfilter
(
c
)
return
not
(
c
:
IsLevelAbove
(
10
)
and
c
:
IsSetCard
(
0xde
)
or
c
:
IsSetCard
(
0x2ae
)
or
c
:
IsFacedown
()
)
return
c
:
IsFaceup
()
and
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_MONSTER
)
~=
0
and
c
:
IsAbleToDeck
(
)
and
c
:
IsAbleToDeck
(
)
and
not
(
c
:
GetOriginalLevel
()
>=
10
and
c
:
IsSetCard
(
0xde
)
or
c
:
IsSetCard
(
0x2ae
)
)
end
end
function
s
.
afactivate
(
e
,
tp
)
function
s
.
afactivate
(
e
,
tp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -65,8 +65,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,8 +65,11 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
return
return
end
end
if
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
if
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
then
local
tg
=
Duel
.
GetMatchingGroup
(
s
.
tdfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
tg
=
Duel
.
GetMatchingGroup
(
s
.
tdfilter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
if
#
tg
>
0
then
Duel
.
BreakEffect
()
Duel
.
SendtoDeck
(
tg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
end
end
end
s
.
afactivate
(
e
,
tp
)
s
.
afactivate
(
e
,
tp
)
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