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
45ec0ab3
Commit
45ec0ab3
authored
Mar 07, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
黄金柜新卡和艾克佐迪亚新卡修复
parent
4aeb3b2c
Pipeline
#25692
passed with stages
in 56 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
script/c101205068.lua
script/c101205068.lua
+1
-2
script/c101205069.lua
script/c101205069.lua
+1
-0
No files found.
script/c101205068.lua
View file @
45ec0ab3
...
...
@@ -11,7 +11,6 @@ function s.initial_effect(c)
e1
:
SetOperation
(
s
.
activate
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_LEAVE_GRAVE
+
CATEGORY_TODECK
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
...
...
@@ -60,7 +59,7 @@ function s.thtg(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
else
e
:
SetCategory
(
CATEGORY_TODECK
)
e
:
SetCategory
(
CATEGORY_
LEAVE_GRAVE
+
CATEGORY_
TODECK
)
end
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c101205069.lua
View file @
45ec0ab3
...
...
@@ -37,6 +37,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
local
ct
=
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
if
Duel
.
IsExistingMatchingCard
(
s
.
cfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
then
Duel
.
BreakEffect
()
Duel
.
Damage
(
1
-
tp
,
ct
*
500
,
REASON_EFFECT
)
end
end
...
...
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