Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
R
rd-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
苍蓝
rd-ygopro
Commits
faac42d2
Commit
faac42d2
authored
Sep 12, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
10a78ee3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
script/c10691144.lua
script/c10691144.lua
+4
-2
No files found.
script/c10691144.lua
View file @
faac42d2
...
@@ -20,12 +20,14 @@ function c10691144.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -20,12 +20,14 @@ function c10691144.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
RegisterFlagEffect
(
tp
,
10691144
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
10691144
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c10691144
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10691144
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
(
re
:
GetOwnerPlayer
()
==
1
-
tp
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
IsActivated
())
then
return
false
end
local
flag
=
0
local
flag
=
0
local
tc
=
eg
:
GetFirst
()
local
tc
=
eg
:
GetFirst
()
while
tc
do
while
tc
do
local
ploc
=
tc
:
GetPreviousLocation
()
local
ploc
=
tc
:
GetPreviousLocation
()
if
tc
:
IsReason
(
REASON_EFFECT
)
and
not
tc
:
IsReason
(
REASON_REDIRECT
)
and
bit
.
band
(
ploc
,
0x1e
)
~=
0
if
tc
:
GetPreviousControler
()
==
tp
and
bit
.
band
(
ploc
,
0x1e
)
~=
0
then
and
tc
:
GetPreviousControler
()
==
tp
and
tc
:
GetReasonEffect
():
GetOwner
():
IsType
(
TYPE_MONSTER
)
then
flag
=
bit
.
bor
(
flag
,
ploc
)
flag
=
bit
.
bor
(
flag
,
ploc
)
end
end
tc
=
eg
:
GetNext
()
tc
=
eg
:
GetNext
()
...
...
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