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
26821f97
Commit
26821f97
authored
Mar 22, 2016
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0e95a715
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
c58600555.lua
c58600555.lua
+9
-0
c61864793.lua
c61864793.lua
+1
-1
No files found.
c58600555.lua
View file @
26821f97
...
@@ -32,6 +32,7 @@ function c58600555.initial_effect(c)
...
@@ -32,6 +32,7 @@ function c58600555.initial_effect(c)
e3
:
SetCountLimit
(
1
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCode
(
EVENT_CHANGE_POS
)
e3
:
SetCode
(
EVENT_CHANGE_POS
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e3
:
SetCondition
(
c58600555
.
condition
)
e3
:
SetTarget
(
c58600555
.
target
)
e3
:
SetTarget
(
c58600555
.
target
)
e3
:
SetOperation
(
c58600555
.
operation
)
e3
:
SetOperation
(
c58600555
.
operation
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
...
@@ -140,6 +141,14 @@ function c58600555.tdop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -140,6 +141,14 @@ function c58600555.tdop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoDeck
(
tc
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tc
,
nil
,
2
,
REASON_EFFECT
)
end
end
end
end
function
c58600555
.
cfilter
(
c
)
local
np
=
c
:
GetPosition
()
local
pp
=
c
:
GetPreviousPosition
()
return
((
np
<
3
and
pp
>
3
)
or
(
pp
<
3
and
np
>
3
))
end
function
c58600555
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c58600555
.
cfilter
,
1
,
nil
)
end
function
c58600555
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c58600555
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsRace
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
RACE_INSECT
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsRace
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
RACE_INSECT
)
end
end
end
...
...
c61864793.lua
View file @
26821f97
...
@@ -15,7 +15,7 @@ function c61864793.poscon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -15,7 +15,7 @@ function c61864793.poscon(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
np
=
c
:
GetPosition
()
local
np
=
c
:
GetPosition
()
local
pp
=
c
:
GetPreviousPosition
()
local
pp
=
c
:
GetPreviousPosition
()
return
not
c
:
IsStatus
(
STATUS_CONTINUOUS_POS
)
and
(
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
c
~=
Duel
.
GetAttackTarget
(
))
return
not
c
:
IsStatus
(
STATUS_CONTINUOUS_POS
)
and
(
(
np
<
3
and
pp
>
3
)
or
(
pp
<
3
and
np
>
3
))
end
end
function
c61864793
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c61864793
.
postg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
1
-
tp
)
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