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
67dab4de
Commit
67dab4de
authored
Jul 27, 2016
by
nekrozar
Committed by
DailyShana
Jul 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Transmodify (#508)
parent
fedc2459
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
c5288597.lua
c5288597.lua
+4
-1
No files found.
c5288597.lua
View file @
67dab4de
...
...
@@ -19,10 +19,13 @@ end
function
c5288597
.
cfilter
(
c
,
e
,
tp
)
local
lv
=
c
:
GetOriginalLevel
()
local
rc
=
nil
local
att
=
nil
if
Duel
.
IsEnvironment
(
4064256
)
then
rc
=
RACE_ZOMBIE
else
rc
=
c
:
GetOriginalRace
()
end
if
Duel
.
IsEnvironment
(
12644061
)
and
c
:
IsSetCard
(
0x1034
)
then
att
=
ATTRIBUTE_DARK
else
att
=
c
:
GetOriginalAttribute
()
end
return
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_MONSTER
)
~=
0
and
lv
>
0
and
c
:
IsFaceup
()
and
c
:
IsAbleToGraveAsCost
()
and
Duel
.
IsExistingMatchingCard
(
c5288597
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
lv
+
1
,
rc
,
c
:
GetOriginalAttribute
()
,
e
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c5288597
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
lv
+
1
,
rc
,
att
,
e
,
tp
)
end
function
c5288597
.
spfilter
(
c
,
lv
,
rc
,
att
,
e
,
tp
)
return
c
:
GetLevel
()
==
lv
and
c
:
IsRace
(
rc
)
and
c
:
IsAttribute
(
att
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
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