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
1fcfbb45
Commit
1fcfbb45
authored
Oct 15, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
73b2cb55
Pipeline
#30464
passed with stages
in 1 minute and 28 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
script/c100229033.lua
script/c100229033.lua
+3
-2
script/c100229034.lua
script/c100229034.lua
+6
-4
No files found.
script/c100229033.lua
View file @
1fcfbb45
...
...
@@ -81,8 +81,9 @@ function s.accon2(e,tp,eg,ep,ev,re,r,rp)
return
aux
.
IsCanBeQuickEffect
(
e
:
GetHandler
(),
tp
,
90351981
)
end
function
s
.
thcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsDiscardable
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
Duel
.
DiscardHand
(
tp
,
Card
.
IsDiscardable
,
1
,
1
,
REASON_COST
+
REASON_DISCARD
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsAbleToExtraAsCost
,
tp
,
LOCATION_HAND
,
0
,
1
,
e
:
GetHandler
())
end
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
IsAbleToExtraAsCost
,
tp
,
LOCATION_HAND
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
g
,
REASON_COST
)
end
function
s
.
thfilter
(
c
)
return
c
:
IsAbleToHand
()
and
(
c
:
IsCode
(
90351981
)
or
(
c
:
IsSetCard
(
0xfe
)
and
c
:
IsType
(
TYPE_MONSTER
)))
...
...
script/c100229034.lua
View file @
1fcfbb45
...
...
@@ -68,7 +68,7 @@ function s.thcon2(e,tp,eg,ep,ev,re,r,rp)
return
aux
.
IsCanBeQuickEffect
(
e
:
GetHandler
(),
tp
,
90351981
)
end
function
s
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x11b
,
0xfe
)
and
not
c
:
IsCode
(
id
)
and
c
:
IsAbleToHand
()
and
c
:
IsFaceupEx
()
return
c
:
IsSetCard
(
0x11b
,
0xfe
)
and
c
:
IsAbleToHand
()
and
c
:
IsFaceupEx
()
end
function
s
.
gcfilter2
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsControlerCanBeChanged
()
...
...
@@ -91,7 +91,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ShuffleHand
(
tp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsAbleToDeck
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
)
if
#
g
>
0
and
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
~=
0
then
if
#
g
>
0
and
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
~=
0
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONTROL
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
gcfilter2
,
tp
,
0
,
LOCATION_MZONE
,
1
,
1
,
nil
)
...
...
@@ -103,11 +103,13 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
s
.
tgcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
id
)
~=
0
and
not
aux
.
IsCanBeQuickEffect
(
c
,
tp
,
90351981
)
local
c
=
e
:
GetHandler
()
return
c
:
GetFlagEffect
(
id
)
~=
0
and
not
aux
.
IsCanBeQuickEffect
(
c
,
tp
,
90351981
)
end
function
s
.
tgcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
Duel
.
GetTurnPlayer
()
==
tp
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
and
e
:
GetHandler
()
:
GetFlagEffect
(
id
)
~=
0
and
aux
.
IsCanBeQuickEffect
(
c
,
tp
,
90351981
)
and
c
:
GetFlagEffect
(
id
)
~=
0
and
aux
.
IsCanBeQuickEffect
(
c
,
tp
,
90351981
)
end
function
s
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
nil
)
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