Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
Commits
46a13055
Commit
46a13055
authored
Aug 24, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1491 from Steeldarkeagel/patch-52
Update c712559.lua
parents
2ec69a70
8e87457c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
script/c712559.lua
script/c712559.lua
+1
-4
No files found.
script/c712559.lua
View file @
46a13055
...
...
@@ -28,14 +28,11 @@ function c712559.initial_effect(c)
e3
:
SetOperation
(
c712559
.
operation
)
c
:
RegisterEffect
(
e3
)
end
function
c712559
.
cfilter
(
c
)
return
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsSetCard
(
0x4
)
end
function
c712559
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
lv
=
0
local
tc
=
eg
:
GetFirst
()
while
tc
do
if
tc
:
IsReason
(
REASON_DESTROY
)
and
tc
:
IsSetCard
(
0x4
)
then
if
tc
:
IsReason
(
REASON_DESTROY
)
and
tc
:
IsSetCard
(
0x4
)
and
not
tc
:
IsPreviousLocation
(
LOCATION_SZONE
)
then
local
tlv
=
tc
:
GetLevel
()
if
tlv
>
lv
then
lv
=
tlv
end
end
...
...
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