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
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
YGOPRO-520DIY
ygopro
Commits
81bc1172
Commit
81bc1172
authored
Nov 20, 2013
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
3032315a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
script/c5851097.lua
script/c5851097.lua
+5
-6
script/c65384188.lua
script/c65384188.lua
+1
-1
No files found.
script/c5851097.lua
View file @
81bc1172
...
...
@@ -7,10 +7,6 @@ function c5851097.initial_effect(c)
e1
:
SetHintTiming
(
0
,
0x1c1
)
e1
:
SetOperation
(
c5851097
.
activate
)
c
:
RegisterEffect
(
e1
)
end
function
c5851097
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
--disable spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -18,8 +14,11 @@ function c5851097.activate(e,tp,eg,ep,ev,re,r,rp)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e2
)
end
function
c5851097
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
--destroy
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
5851097
,
0
))
...
...
@@ -30,7 +29,7 @@ function c5851097.activate(e,tp,eg,ep,ev,re,r,rp)
e3
:
SetTarget
(
c5851097
.
destg
)
e3
:
SetOperation
(
c5851097
.
desop
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
,
true
)
end
function
c5851097
.
filter
(
c
,
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
+
LOCATION_ONFIELD
)
and
c
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsControler
(
tp
)
...
...
script/c65384188.lua
View file @
81bc1172
...
...
@@ -79,5 +79,5 @@ function c65384188.posop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c65384188
.
effcon
(
e
)
return
e
:
GetHandler
():
GetFlagEffect
(
65384188
)
~=
0
and
e
:
GetLabelObject
():
Res
etFlagEffect
(
65384188
)
~=
0
return
e
:
GetHandler
():
GetFlagEffect
(
65384188
)
~=
0
and
e
:
GetLabelObject
():
G
etFlagEffect
(
65384188
)
~=
0
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