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
87063a01
Commit
87063a01
authored
Sep 07, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4a077c3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
14 deletions
+6
-14
c33776734.lua
c33776734.lua
+6
-14
No files found.
c33776734.lua
View file @
87063a01
...
@@ -41,29 +41,21 @@ function c33776734.initial_effect(c)
...
@@ -41,29 +41,21 @@ function c33776734.initial_effect(c)
ge1
:
SetOperation
(
c33776734
.
checkop1
)
ge1
:
SetOperation
(
c33776734
.
checkop1
)
Duel
.
RegisterEffect
(
ge1
,
0
)
Duel
.
RegisterEffect
(
ge1
,
0
)
local
ge2
=
ge1
:
Clone
()
local
ge2
=
ge1
:
Clone
()
e2
:
SetCode
(
EVENT_CHAIN_NEGATED
)
g
e2
:
SetCode
(
EVENT_CHAIN_NEGATED
)
e2
:
SetOperation
(
c33776734
.
checkop2
)
g
e2
:
SetOperation
(
c33776734
.
checkop2
)
Duel
.
RegisterEffect
(
ge2
,
0
)
Duel
.
RegisterEffect
(
ge2
,
0
)
end
end
end
end
c33776734
.
lvupcount
=
1
c33776734
.
lvupcount
=
1
c33776734
.
lvup
=
{
33776734
}
c33776734
.
lvup
=
{
33776734
}
function
c33776734
.
checkop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33776734
.
checkop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
if
re
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
then
while
tc
do
re
:
GetHandler
():
RegisterFlagEffect
(
33776734
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
if
re
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
tc
==
re
:
GetHandler
()
then
tc
:
RegisterFlagEffect
(
33776734
,
RESET_EVENT
+
0x1fe0000
,
0
,
1
)
end
tc
=
eg
:
GetNext
()
end
end
end
end
function
c33776734
.
checkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33776734
.
checkop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
if
re
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
then
while
tc
do
re
:
GetHandler
():
ResetFlagEffect
(
33776734
)
if
re
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
re
:
IsActiveType
(
TYPE_SPELL
)
and
tc
==
re
:
GetHandler
()
then
tc
:
ResetFlagEffect
(
33776734
)
end
tc
=
eg
:
GetNext
()
end
end
end
end
function
c33776734
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c33776734
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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