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
f17748e2
Commit
f17748e2
authored
May 10, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
a50d094e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
script/c100222006.lua
script/c100222006.lua
+1
-1
script/c100222010.lua
script/c100222010.lua
+7
-0
No files found.
script/c100222006.lua
View file @
f17748e2
...
...
@@ -65,7 +65,7 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsPlayerCanDiscardDeck
(
1
-
tp
,
1
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsLocation
(
LOCATION_MZONE
)
and
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsPlayerCanDiscardDeck
(
1
-
tp
,
1
)
then
Duel
.
DiscardDeck
(
1
-
tp
,
3
,
REASON_EFFECT
)
end
end
\ No newline at end of file
script/c100222010.lua
View file @
f17748e2
...
...
@@ -33,6 +33,7 @@ function s.initial_effect(c)
e5
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e5
:
SetRange
(
LOCATION_SZONE
)
e5
:
SetTargetRange
(
0
,
1
)
e5
:
SetCondition
(
s
.
ieecon
)
e5
:
SetCode
(
id
)
c
:
RegisterEffect
(
e5
)
end
...
...
@@ -57,3 +58,9 @@ end
function
s
.
tg
(
e
,
c
)
return
aux
.
IsCodeListed
(
c
,
33900648
)
end
function
s
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
7
)
and
aux
.
IsCodeListed
(
c
,
33900648
)
end
function
s
.
ieecon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
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