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
9209ab3d
Commit
9209ab3d
authored
Jun 12, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1391 from DailyShana/patch-2
fix
parents
cb58b8e5
92557e64
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
5 deletions
+15
-5
script/c17016362.lua
script/c17016362.lua
+3
-1
script/c32146097.lua
script/c32146097.lua
+3
-1
script/c57477163.lua
script/c57477163.lua
+3
-1
script/c74583607.lua
script/c74583607.lua
+3
-1
script/c76066541.lua
script/c76066541.lua
+3
-1
No files found.
script/c17016362.lua
View file @
9209ab3d
...
...
@@ -81,7 +81,9 @@ function c17016362.desop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
function
c17016362
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
~=
tp
and
e
:
GetHandler
():
IsReason
(
REASON_DESTROY
)
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_BATTLE
)
or
rp
~=
tp
and
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
GetPreviousControler
()
==
tp
end
function
c17016362
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xc6
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c32146097.lua
View file @
9209ab3d
...
...
@@ -12,7 +12,9 @@ function c32146097.initial_effect(c)
c
:
RegisterEffect
(
e1
)
end
function
c32146097
.
drcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
~=
tp
and
e
:
GetHandler
():
IsReason
(
REASON_DESTROY
)
local
c
=
e
:
GetHandler
()
return
(
c
:
IsReason
(
REASON_BATTLE
)
or
rp
~=
tp
and
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
GetPreviousControler
()
==
tp
)
and
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
0
)
==
0
end
function
c32146097
.
drtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
script/c57477163.lua
View file @
9209ab3d
...
...
@@ -32,7 +32,9 @@ function c57477163.actcon(e)
return
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
or
Duel
.
GetAttackTarget
()
==
e
:
GetHandler
()
end
function
c57477163
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
~=
tp
and
e
:
GetHandler
():
IsReason
(
REASON_DESTROY
)
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_BATTLE
)
or
rp
~=
tp
and
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
GetPreviousControler
()
==
tp
end
function
c57477163
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
script/c74583607.lua
View file @
9209ab3d
...
...
@@ -50,7 +50,9 @@ function c74583607.spop(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c74583607
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
rp
~=
tp
and
e
:
GetHandler
():
GetPreviousControler
()
==
tp
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_BATTLE
)
or
(
rp
~=
tp
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
GetPreviousControler
()
==
tp
)
end
function
c74583607
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xae
)
and
c
:
IsAbleToHand
()
...
...
script/c76066541.lua
View file @
9209ab3d
...
...
@@ -15,7 +15,9 @@ function c76066541.initial_effect(c)
end
function
c76066541
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
rp
~=
tp
and
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
return
(
c
:
IsReason
(
REASON_BATTLE
)
or
rp
~=
tp
and
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
GetPreviousControler
()
==
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
function
c76066541
.
filter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_PENDULUM
)
and
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
...
...
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