Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
Reinen
ygopro-scripts
Commits
fb2b81e9
Commit
fb2b81e9
authored
Jan 08, 2017
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
ca7da6b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
c12247206.lua
c12247206.lua
+2
-5
c52176579.lua
c52176579.lua
+1
-1
No files found.
c12247206.lua
View file @
fb2b81e9
...
...
@@ -34,9 +34,6 @@ end
function
c12247206
.
selfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
Duel
.
IsExistingMatchingCard
(
c12247206
.
filter
,
tp
,
0x13
,
0
,
1
,
nil
,
c
,
e
,
tp
)
end
function
c12247206
.
rmfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_MZONE
+
LOCATION_GRAVE
)
end
function
c12247206
.
sp
(
g
,
tp
,
pos
)
local
sc
=
g
:
GetFirst
()
while
sc
do
...
...
@@ -56,7 +53,7 @@ function c12247206.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
fg
=
g
:
Select
(
tp
,
ft1
,
ft1
,
nil
)
c12247206
.
sp
(
fg
,
tp
,
POS_FACEUP_ATTACK
)
g
:
Remove
(
c12247206
.
rmfilter
,
nil
)
g
:
Sub
(
fg
)
gg
:
Merge
(
g
)
end
end
...
...
@@ -73,7 +70,7 @@ function c12247206.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_SPSUMMON
)
local
fg
=
g2
:
Select
(
1
-
tp
,
ft2
,
ft2
,
nil
)
c12247206
.
sp
(
fg
,
1
-
tp
,
POS_FACEUP
)
g2
:
Remove
(
c12247206
.
rmfilter
,
nil
)
g2
:
Sub
(
fg
)
gg
:
Merge
(
g2
)
end
end
...
...
c52176579.lua
View file @
fb2b81e9
...
...
@@ -66,7 +66,7 @@ end
function
c52176579
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c52176579
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tc
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c52176579
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
tc
:
GetLevel
()
)
if
g
:
GetCount
()
>
0
then
local
gc
=
g
:
GetFirst
()
if
Duel
.
SendtoGrave
(
gc
,
REASON_EFFECT
)
~=
0
and
gc
:
IsLocation
(
LOCATION_GRAVE
)
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
then
...
...
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