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
6cc08a7d
Commit
6cc08a7d
authored
Jun 30, 2016
by
mercury233
Committed by
DailyShana
Jun 30, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Electromagnetic Bagworm (#470)
parent
7aedb7c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
c7914843.lua
c7914843.lua
+4
-4
No files found.
c7914843.lua
View file @
6cc08a7d
...
...
@@ -30,10 +30,10 @@ function c7914843.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
function
c7914843
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tct
=
1
if
Duel
.
GetTurnPlayer
()
~=
tp
then
tct
=
2
elseif
Duel
.
GetCurrentPhase
()
==
PHASE_END
then
tct
=
3
end
if
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRace
(
RACE_MACHINE
)
then
if
tc
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRace
(
RACE_MACHINE
)
then
local
tct
=
1
if
Duel
.
GetTurnPlayer
()
~=
tp
then
tct
=
2
elseif
Duel
.
GetCurrentPhase
()
==
PHASE_END
then
tct
=
3
end
Duel
.
GetControl
(
tc
,
tp
,
PHASE_END
,
tct
)
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