Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-2pick
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-2pick
Commits
194bd147
Commit
194bd147
authored
Jun 27, 2013
by
Fluorohydride
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #566 from sidschingis/patch-3
fix
parents
9290a029
4b0e9aa1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
4 deletions
+14
-4
script/c13629812.lua
script/c13629812.lua
+12
-2
script/c21698716.lua
script/c21698716.lua
+1
-1
script/c30459350.lua
script/c30459350.lua
+1
-1
No files found.
script/c13629812.lua
View file @
194bd147
...
...
@@ -61,8 +61,18 @@ function c13629812.disop(e,tp)
return
bit
.
lshift
(
0x1
,
e
:
GetLabel
())
end
function
c13629812
.
retcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFirstCardTarget
()
~=
nil
local
c
=
e
:
GetHandler
()
local
tc
=
c
:
GetFirstCardTarget
()
if
tc
and
tc
:
IsLocation
(
LOCATION_REMOVED
)
and
tc
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_GRAVE
)
then
e
:
SetLabelObject
(
tc
)
tc
:
CreateEffectRelation
(
e
)
return
true
else
return
false
end
end
function
c13629812
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ReturnToField
(
e
:
GetHandler
():
GetFirstCardTarget
())
local
c
=
e
:
GetHandler
()
local
tc
=
e
:
GetLabelObject
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
ReturnToField
(
tc
)
end
end
script/c21698716.lua
View file @
194bd147
...
...
@@ -41,7 +41,7 @@ function c21698716.repoperation(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RaiseEvent
(
c
,
47408488
,
e
,
0
,
tp
,
0
,
0
)
end
function
c21698716
.
filter
(
c
)
return
c
:
IsSetCard
(
0x34
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x34
)
and
c
:
IsAbleToDeck
()
and
c
:
IsFaceup
()
end
function
c21698716
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsOnField
()
and
c21698716
.
filter
(
chkc
)
end
...
...
script/c30459350.lua
View file @
194bd147
...
...
@@ -4,7 +4,7 @@ function c30459350.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_DRAW_PHASE
)
e1
:
SetHintTiming
(
0
,
TIMING_DRAW_PHASE
+
0x1e0
)
c
:
RegisterEffect
(
e1
)
--cannot remove
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
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