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
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
Reinen
ygopro-scripts
Commits
2e9a71e3
Commit
2e9a71e3
authored
Feb 05, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove/fix
parent
41ac36a2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
10 deletions
+4
-10
c51053997.lua
c51053997.lua
+1
-5
c60417395.lua
c60417395.lua
+2
-2
c78663366.lua
c78663366.lua
+1
-3
No files found.
c51053997.lua
View file @
2e9a71e3
...
...
@@ -105,11 +105,7 @@ function c51053997.retcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c51053997
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
if
tc
:
IsForbidden
()
then
Duel
.
SendtoGrave
(
tc
,
REASON_RULE
)
else
Duel
.
ReturnToField
(
tc
)
end
Duel
.
ReturnToField
(
tc
)
end
function
c51053997
.
cfilter
(
c
,
tp
)
return
c
:
IsPreviousSetCard
(
0xc1
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousControler
()
==
tp
...
...
c60417395.lua
View file @
2e9a71e3
...
...
@@ -71,8 +71,8 @@ end
function
c60417395
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
end
function
c60417395
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExisting
Target
(
c60417395
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
function
c60417395
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExisting
MatchingCard
(
c60417395
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
c60417395
.
filter
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
g
,
g
:
GetCount
(),
0
,
0
)
end
...
...
c78663366.lua
View file @
2e9a71e3
...
...
@@ -40,9 +40,7 @@ function c78663366.retcon(e,tp,eg,ep,ev,re,r,rp)
end
function
c78663366
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
if
tc
:
IsForbidden
()
then
Duel
.
SendtoGrave
(
tc
,
REASON_RULE
)
elseif
Duel
.
ReturnToField
(
tc
)
and
tc
:
IsFaceup
()
then
if
Duel
.
ReturnToField
(
tc
)
and
tc
:
IsFaceup
()
then
local
e1
=
Effect
.
CreateEffect
(
tc
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
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