Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
3ca10b83
Commit
3ca10b83
authored
Oct 16, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
33dd8e02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
script/c101007045.lua
script/c101007045.lua
+5
-4
No files found.
script/c101007045.lua
View file @
3ca10b83
...
...
@@ -21,7 +21,6 @@ function c101007045.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetCode
(
EVENT_BE_MATERIAL
)
e2
:
SetCountLimit
(
1
,
101007045
)
e2
:
SetCondition
(
c101007045
.
efcon
)
e2
:
SetTarget
(
c101007045
.
eftg
)
e2
:
SetOperation
(
c101007045
.
efop
)
...
...
@@ -158,12 +157,14 @@ function c101007045.efcon(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
r
==
REASON_LINK
end
function
c101007045
.
eftg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetReasonCard
():
GetFlagEffect
(
101007045
)
==
0
end
local
rc
=
e
:
GetHandler
():
GetReasonCard
()
if
chk
==
0
then
return
rc
:
GetFlagEffect
(
101007045
)
~=
0
and
rc
:
GetFlagEffect
(
101007145
)
==
0
end
rc
:
RegisterFlagEffect
(
101007145
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
end
function
c101007045
.
efop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
rc
=
c
:
GetReasonCard
()
if
rc
:
GetFlagEffect
(
101007045
)
~
=
0
then
return
end
local
rc
=
e
:
GetHandler
()
:
GetReasonCard
()
if
rc
:
GetFlagEffect
(
101007045
)
=
=
0
then
return
end
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
101007045
,
2
))
e1
:
SetProperty
(
EFFECT_FLAG_CLIENT_HINT
)
...
...
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