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
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
Vee4
ygopro-scripts-888
Commits
0fcf609d
You need to sign in or sign up before continuing.
Commit
0fcf609d
authored
Mar 07, 2016
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #299 from nekrozar/patch-1
fix Mind Trust
parents
a0360419
8d852021
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
c38680149.lua
c38680149.lua
+3
-3
No files found.
c38680149.lua
View file @
0fcf609d
...
@@ -17,8 +17,8 @@ function c38680149.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -17,8 +17,8 @@ function c38680149.cost(e,tp,eg,ep,ev,re,r,rp,chk)
return
true
return
true
end
end
function
c38680149
.
filter1
(
c
,
e
,
tp
)
function
c38680149
.
filter1
(
c
,
e
,
tp
)
local
lv
=
c
:
GetLevel
(
)
local
lv
=
math.floor
(
c
:
GetLevel
()
/
2
)
return
lv
>
=
2
and
Duel
.
IsExistingTarget
(
c38680149
.
filter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
lv
/
2
)
return
lv
>
0
and
Duel
.
IsExistingTarget
(
c38680149
.
filter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
lv
)
end
end
function
c38680149
.
filter2
(
c
,
lv
)
function
c38680149
.
filter2
(
c
,
lv
)
return
c
:
IsLevelBelow
(
lv
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToHand
()
return
c
:
IsLevelBelow
(
lv
)
and
c
:
IsType
(
TYPE_TUNER
)
and
c
:
IsAbleToHand
()
...
@@ -31,7 +31,7 @@ function c38680149.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -31,7 +31,7 @@ function c38680149.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
return
Duel
.
CheckReleaseGroup
(
tp
,
c38680149
.
filter1
,
1
,
nil
,
e
,
tp
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c38680149
.
filter1
,
1
,
nil
,
e
,
tp
)
end
end
local
rg
=
Duel
.
SelectReleaseGroup
(
tp
,
c38680149
.
filter1
,
1
,
1
,
nil
,
e
,
tp
)
local
rg
=
Duel
.
SelectReleaseGroup
(
tp
,
c38680149
.
filter1
,
1
,
1
,
nil
,
e
,
tp
)
local
lv
=
rg
:
GetFirst
():
GetLevel
()
/
2
local
lv
=
math.floor
(
rg
:
GetFirst
():
GetLevel
()
/
2
)
e
:
SetLabel
(
lv
)
e
:
SetLabel
(
lv
)
Duel
.
Release
(
rg
,
REASON_COST
)
Duel
.
Release
(
rg
,
REASON_COST
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
...
...
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