Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
ygopro-pre-data
Commits
288e4929
Commit
288e4929
authored
Mar 03, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
c4917c96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
script/c100416033.lua
script/c100416033.lua
+2
-2
script/c100416035.lua
script/c100416035.lua
+2
-2
No files found.
script/c100416033.lua
View file @
288e4929
...
@@ -93,7 +93,7 @@ function c100416033.rfilter(c,tp)
...
@@ -93,7 +93,7 @@ function c100416033.rfilter(c,tp)
return
c
:
IsLevelAbove
(
7
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
return
c
:
IsLevelAbove
(
7
)
and
(
c
:
IsControler
(
tp
)
or
c
:
IsFaceup
())
end
end
function
c100416033
.
excostfilter
(
c
,
tp
)
function
c100416033
.
excostfilter
(
c
,
tp
)
return
c
:
IsAbleToRemove
()
and
c
:
IsHasEffect
(
100416038
,
tp
)
return
c
:
IsAbleToRemove
()
and
(
c
:
IsHasEffect
(
100416036
,
tp
)
or
c
:
IsHasEffect
(
100416038
,
tp
)
)
end
end
function
c100416033
.
costfilter
(
c
,
e
,
tp
)
function
c100416033
.
costfilter
(
c
,
e
,
tp
)
local
check
=
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
local
check
=
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
...
@@ -111,7 +111,7 @@ function c100416033.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -111,7 +111,7 @@ function c100416033.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
tc
=
g1
:
FilterSelect
(
tp
,
c100416033
.
costfilter
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
tc
=
g1
:
FilterSelect
(
tp
,
c100416033
.
costfilter
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
if
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
if
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
local
te
=
tc
:
IsHasEffect
(
100416038
,
tp
)
local
te
=
tc
:
IsHasEffect
(
10041603
6
,
tp
)
or
tc
:
IsHasEffect
(
10041603
8
,
tp
)
if
te
then
if
te
then
te
:
UseCountLimit
(
tp
)
te
:
UseCountLimit
(
tp
)
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_REPLACE
)
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_REPLACE
)
...
...
script/c100416035.lua
View file @
288e4929
...
@@ -99,7 +99,7 @@ function c100416035.costfilter(c,tp)
...
@@ -99,7 +99,7 @@ function c100416035.costfilter(c,tp)
if
c
:
IsLocation
(
LOCATION_HAND
+
LOCATION_MZONE
)
then
if
c
:
IsLocation
(
LOCATION_HAND
+
LOCATION_MZONE
)
then
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasable
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReleasable
()
else
else
return
c
:
IsAbleToRemove
()
and
c
:
IsHasEffect
(
100416038
,
tp
)
return
c
:
IsAbleToRemove
()
and
(
c
:
IsHasEffect
(
100416036
,
tp
)
or
c
:
IsHasEffect
(
100416038
,
tp
)
)
end
end
end
end
function
c100416035
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c100416035
.
negcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
@@ -107,7 +107,7 @@ function c100416035.negcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -107,7 +107,7 @@ function c100416035.negcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100416035
.
costfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c100416035
.
costfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
tp
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
local
te
=
tc
:
IsHasEffect
(
100416038
,
tp
)
local
te
=
tc
:
IsHasEffect
(
10041603
6
,
tp
)
or
tc
:
IsHasEffect
(
10041603
8
,
tp
)
if
te
then
if
te
then
te
:
UseCountLimit
(
tp
)
te
:
UseCountLimit
(
tp
)
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_REPLACE
)
Duel
.
Remove
(
tc
,
POS_FACEUP
,
REASON_EFFECT
+
REASON_REPLACE
)
...
...
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