Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
ygopro-scripts-888
Commits
686de4ff
Commit
686de4ff
authored
May 16, 2023
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 妖精伝姫-シラユキ
parent
0ba96dd7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
c55623480.lua
c55623480.lua
+5
-2
No files found.
c55623480.lua
View file @
686de4ff
...
...
@@ -41,15 +41,18 @@ function c55623480.posop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
ChangePosition
(
tc
,
POS_FACEDOWN_DEFENSE
)
end
end
function
c55623480
.
mainfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<=
4
end
function
c55623480
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
local
ct
=-
ft
+
1
local
sg
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemoveAsCost
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
e
:
GetHandler
())
if
chk
==
0
then
return
sg
:
GetCount
()
>=
7
and
(
ft
>
0
or
sg
:
IsExists
(
Card
.
IsLocation
,
ct
,
nil
,
LOCATION_MZONE
))
end
if
chk
==
0
then
return
sg
:
GetCount
()
>=
7
and
(
ft
>
0
or
sg
:
IsExists
(
c55623480
.
mainfilter
,
ct
,
nil
))
end
local
g
=
nil
if
ft
<=
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
g
=
sg
:
FilterSelect
(
tp
,
Card
.
IsLocation
,
ct
,
ct
,
nil
,
LOCATION_MZONE
)
g
=
sg
:
FilterSelect
(
tp
,
c55623480
.
mainfilter
,
ct
,
ct
,
nil
)
if
ct
<
7
then
sg
:
Sub
(
g
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
...
...
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