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
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
Commits
6a020548
Commit
6a020548
authored
Oct 15, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
77a72171
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
c20513882.lua
c20513882.lua
+2
-1
c27770341.lua
c27770341.lua
+1
-1
c34187685.lua
c34187685.lua
+1
-1
No files found.
c20513882.lua
View file @
6a020548
...
...
@@ -20,7 +20,8 @@ function c20513882.cfilter(c,tp)
and
Duel
.
IsExistingMatchingCard
(
c20513882
.
thfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
c
)
end
function
c20513882
.
thfilter
(
c
,
tc
)
return
c
:
GetOriginalLevel
()
==
tc
:
GetOriginalLevel
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
GetOriginalLevel
()
==
tc
:
GetOriginalLevel
()
and
c
:
GetOriginalRace
()
==
tc
:
GetOriginalRace
()
and
c
:
GetOriginalAttribute
()
==
tc
:
GetOriginalAttribute
()
and
c
:
GetOriginalCode
()
~=
tc
:
GetOriginalCode
()
and
c
:
IsAbleToHand
()
...
...
c27770341.lua
View file @
6a020548
...
...
@@ -40,7 +40,7 @@ function c27770341.addcount(e,tp,eg,ep,ev,re,r,rp)
if
pl
==
LOCATION_MZONE
and
tc
:
GetPreviousRaceOnField
()
==
RACE_DRAGON
then
local
p
=
tc
:
GetReasonPlayer
()
c27770341
[
p
]
=
c27770341
[
p
]
+
1
elseif
pl
==
LOCATION_HAND
and
tc
:
GetOriginalRace
()
==
RACE_DRAGON
then
elseif
pl
==
LOCATION_HAND
and
tc
:
IsType
(
TYPE_MONSTER
)
and
tc
:
GetOriginalRace
()
==
RACE_DRAGON
then
local
p
=
tc
:
GetPreviousControler
()
c27770341
[
p
]
=
c27770341
[
p
]
+
1
end
...
...
c34187685.lua
View file @
6a020548
...
...
@@ -21,7 +21,7 @@ function c34187685.cost(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c34187685
.
filter1
(
c
,
tp
)
local
lv
=
c
:
GetOriginalLevel
()
return
lv
>
1
and
c
:
IsDiscardable
()
and
c
:
IsAbleToGraveAsCost
()
return
lv
>
1
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
Discardable
()
and
c
:
IsAbleToGraveAsCost
()
and
Duel
.
IsExistingTarget
(
c34187685
.
filter2
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
lv
)
end
function
c34187685
.
filter2
(
c
,
lv
)
...
...
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