Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-rush-duel
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
Clara Grace Paulsen
ygopro-rush-duel
Commits
f18c9cd6
Commit
f18c9cd6
authored
Feb 22, 2022
by
未闻皂名
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2022/2/22 修复海龙骑士的bug
parent
8f2eeced
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
script/c120199032.lua
script/c120199032.lua
+8
-1
No files found.
script/c120199032.lua
View file @
f18c9cd6
...
...
@@ -17,6 +17,13 @@ end
function
cm
.
costfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToDeckOrExtraAsCost
()
end
function
cm
.
exfilter
(
c
,
tc
)
if
c
:
IsCode
(
120000000
)
then
return
RushDuel
.
IsLegendCode
(
c
,
tc
:
GetOriginalCode
())
else
return
c
:
IsCode
(
tc
:
GetCode
())
end
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
costfilter
,
tp
,
LOCATION_GRAVE
,
0
,
2
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
...
...
@@ -34,7 +41,7 @@ function cm.operation(e,tp,eg,ep,ev,re,r,rp)
if
tc
then
Duel
.
HintSelection
(
g
)
Duel
.
ConfirmCards
(
tp
,
g
)
if
Duel
.
IsExistingMatchingCard
(
RushDuel
.
IsLegendCode
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
,
tc
:
GetCode
()
)
if
Duel
.
IsExistingMatchingCard
(
RushDuel
.
IsLegendCode
,
tp
,
0
,
LOCATION_GRAVE
,
1
,
nil
,
tc
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
1
))
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
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