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
REIKAI
ygopro
Commits
efabedf5
Commit
efabedf5
authored
Apr 09, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b8702845
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
25 deletions
+19
-25
script/c24096228.lua
script/c24096228.lua
+19
-25
No files found.
script/c24096228.lua
View file @
efabedf5
...
...
@@ -56,30 +56,24 @@ function c24096228.operation(e,tp,eg,ep,ev,re,r,rp)
if
bit
.
band
(
tpe
,
TYPE_EQUIP
+
TYPE_CONTINUOUS
)
~=
0
or
tc
:
IsHasEffect
(
EFFECT_REMAIN_FIELD
)
then
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
<=
0
then
return
end
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
tc
:
CreateEffectRelation
(
te
)
if
co
then
co
(
te
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
if
tg
then
tg
(
te
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
Duel
.
BreakEffect
()
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
etc
=
g
:
GetFirst
()
while
etc
do
etc
:
CreateEffectRelation
(
te
)
etc
=
g
:
GetNext
()
end
if
op
then
op
(
te
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
tc
:
ReleaseEffectRelation
(
te
)
etc
=
g
:
GetFirst
()
while
etc
do
etc
:
ReleaseEffectRelation
(
te
)
etc
=
g
:
GetNext
()
end
else
if
bit
.
band
(
tpe
,
TYPE_FIELD
)
~=
0
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
if
co
then
co
(
te
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
if
tg
then
tg
(
te
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
Duel
.
BreakEffect
()
if
op
then
op
(
te
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
elseif
bit
.
band
(
tpe
,
TYPE_FIELD
)
~=
0
then
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
end
tc
:
CreateEffectRelation
(
te
)
if
co
then
co
(
te
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
if
tg
then
tg
(
te
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
1
)
end
Duel
.
BreakEffect
()
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
etc
=
g
:
GetFirst
()
while
etc
do
etc
:
CreateEffectRelation
(
te
)
etc
=
g
:
GetNext
()
end
if
op
then
op
(
te
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
tc
:
ReleaseEffectRelation
(
te
)
etc
=
g
:
GetFirst
()
while
etc
do
etc
:
ReleaseEffectRelation
(
te
)
etc
=
g
:
GetNext
()
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