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
Mr.Tan
pre-release-database-cdb
Commits
8f9c98a8
Commit
8f9c98a8
authored
Apr 14, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
7cd844ca
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
script/c101205027.lua
script/c101205027.lua
+3
-3
No files found.
script/c101205027.lua
View file @
8f9c98a8
...
@@ -18,8 +18,8 @@ function s.drcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -18,8 +18,8 @@ function s.drcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
0
)
==
0
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
0
)
==
0
end
end
function
s
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
drcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
Is
AbleToGraveAsCost
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
Is
Discardable
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
+
REASON_DISCARD
)
Duel
.
AddCustomActivityCounter
(
id
,
ACTIVITY_CHAIN
,
s
.
chainfilter
)
Duel
.
AddCustomActivityCounter
(
id
,
ACTIVITY_CHAIN
,
s
.
chainfilter
)
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
)
...
@@ -115,5 +115,5 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -115,5 +115,5 @@ function s.tdop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetFieldGroup
(
e
:
GetOwnerPlayer
(),
LOCATION_HAND
,
0
)
local
g
=
Duel
.
GetFieldGroup
(
e
:
GetOwnerPlayer
(),
LOCATION_HAND
,
0
)
local
d
=
Duel
.
GetFieldGroupCount
(
e
:
GetOwnerPlayer
(),
LOCATION_HAND
,
0
)
-
(
Duel
.
GetFieldGroupCount
(
e
:
GetOwnerPlayer
(),
0
,
LOCATION_ONFIELD
)
+
6
)
local
d
=
Duel
.
GetFieldGroupCount
(
e
:
GetOwnerPlayer
(),
LOCATION_HAND
,
0
)
-
(
Duel
.
GetFieldGroupCount
(
e
:
GetOwnerPlayer
(),
0
,
LOCATION_ONFIELD
)
+
6
)
local
sg
=
g
:
RandomSelect
(
e
:
GetOwnerPlayer
(),
d
)
local
sg
=
g
:
RandomSelect
(
e
:
GetOwnerPlayer
(),
d
)
aux
.
PlaceCardsOnDeckBottom
(
e
:
GetOwnerPlayer
(),
sg
)
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_EFFECT
)
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