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
a39a937b
Commit
a39a937b
authored
May 03, 2015
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0cd2fef3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
script/c23296404.lua
script/c23296404.lua
+1
-1
script/c31444249.lua
script/c31444249.lua
+2
-2
script/c59785059.lua
script/c59785059.lua
+1
-1
script/c8038143.lua
script/c8038143.lua
+2
-2
No files found.
script/c23296404.lua
View file @
a39a937b
...
@@ -35,7 +35,7 @@ function c23296404.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -35,7 +35,7 @@ function c23296404.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
and
(
ct
<=
0
or
Duel
.
IsExistingTarget
(
c23296404
.
desfilter
,
tp
,
LOCATION_MZONE
,
0
,
ct
,
nil
))
end
and
(
ct
<=
0
or
Duel
.
IsExistingTarget
(
c23296404
.
desfilter
,
tp
,
LOCATION_MZONE
,
0
,
ct
,
nil
))
end
local
g
=
nil
local
g
=
nil
if
ct
>
0
then
if
ct
>
0
then
local
tg
=
Duel
.
GetMatchingGroup
(
c23296404
.
desfilter2
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
,
e
)
local
tg
=
Duel
.
GetMatchingGroup
(
c23296404
.
desfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
,
e
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
g
=
tg
:
FilterSelect
(
tp
,
Card
.
IsLocation
,
ct
,
ct
,
nil
,
LOCATION_MZONE
)
g
=
tg
:
FilterSelect
(
tp
,
Card
.
IsLocation
,
ct
,
ct
,
nil
,
LOCATION_MZONE
)
if
ct
<
3
then
if
ct
<
3
then
...
...
script/c31444249.lua
View file @
a39a937b
...
@@ -36,8 +36,8 @@ function c31444249.lvtg(e,c)
...
@@ -36,8 +36,8 @@ function c31444249.lvtg(e,c)
return
c
:
IsSetCard
(
0xbb
)
and
c
:
GetOriginalLevel
()
>=
2
return
c
:
IsSetCard
(
0xbb
)
and
c
:
GetOriginalLevel
()
>=
2
end
end
function
c31444249
.
rdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c31444249
.
rdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ac
=
Duel
.
GetAttacker
()
local
ac
=
eg
:
GetFirst
()
return
ep
~=
tp
and
ac
:
IsSetCard
(
0xbb
)
and
ac
:
GetOriginalLevel
()
>=
2
and
not
ac
:
IsImmuneToEffect
(
e
)
return
ep
~=
tp
and
ac
:
Is
Controler
(
tp
)
and
ac
:
Is
SetCard
(
0xbb
)
and
ac
:
GetOriginalLevel
()
>=
2
and
not
ac
:
IsImmuneToEffect
(
e
)
end
end
function
c31444249
.
rdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c31444249
.
rdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
ChangeBattleDamage
(
ep
,
ev
/
2
)
Duel
.
ChangeBattleDamage
(
ep
,
ev
/
2
)
...
...
script/c59785059.lua
View file @
a39a937b
...
@@ -35,7 +35,7 @@ function c59785059.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -35,7 +35,7 @@ function c59785059.sptg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
and
(
ct
<=
0
or
Duel
.
IsExistingTarget
(
c59785059
.
desfilter
,
tp
,
LOCATION_MZONE
,
0
,
ct
,
nil
))
end
and
(
ct
<=
0
or
Duel
.
IsExistingTarget
(
c59785059
.
desfilter
,
tp
,
LOCATION_MZONE
,
0
,
ct
,
nil
))
end
local
g
=
nil
local
g
=
nil
if
ct
>
0
then
if
ct
>
0
then
local
tg
=
Duel
.
GetMatchingGroup
(
c59785059
.
desfilter2
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
,
e
)
local
tg
=
Duel
.
GetMatchingGroup
(
c59785059
.
desfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
nil
,
e
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
g
=
tg
:
FilterSelect
(
tp
,
Card
.
IsLocation
,
ct
,
ct
,
nil
,
LOCATION_MZONE
)
g
=
tg
:
FilterSelect
(
tp
,
Card
.
IsLocation
,
ct
,
ct
,
nil
,
LOCATION_MZONE
)
if
ct
<
3
then
if
ct
<
3
then
...
...
script/c8038143.lua
View file @
a39a937b
...
@@ -38,7 +38,7 @@ function c8038143.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -38,7 +38,7 @@ function c8038143.target(e,tp,eg,ep,ev,re,r,rp,chk)
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
i
)
then
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
i
)
then
local
tc
=
te
:
GetHandler
()
local
tc
=
te
:
GetHandler
()
ng
:
AddCard
(
tc
)
ng
:
AddCard
(
tc
)
if
tc
:
IsOnField
()
and
tc
:
IsRelateToEffect
(
te
)
and
not
tc
:
IsHasEffect
(
EFFECT_CANNOT_TO_DECK
)
and
IsPlayerCanSendtoDeck
(
tp
,
tc
)
then
if
tc
:
IsOnField
()
and
tc
:
IsRelateToEffect
(
te
)
and
not
tc
:
IsHasEffect
(
EFFECT_CANNOT_TO_DECK
)
and
Duel
.
IsPlayerCanSendtoDeck
(
tp
,
tc
)
then
dg
:
AddCard
(
tc
)
dg
:
AddCard
(
tc
)
end
end
end
end
...
@@ -54,7 +54,7 @@ function c8038143.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,7 +54,7 @@ function c8038143.activate(e,tp,eg,ep,ev,re,r,rp)
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
i
)
then
if
tgp
~=
tp
and
(
te
:
IsActiveType
(
TYPE_MONSTER
)
or
te
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
))
and
Duel
.
IsChainNegatable
(
i
)
then
Duel
.
NegateActivation
(
i
)
Duel
.
NegateActivation
(
i
)
local
tc
=
te
:
GetHandler
()
local
tc
=
te
:
GetHandler
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
te
)
and
not
tc
:
IsHasEffect
(
EFFECT_CANNOT_TO_DECK
)
and
IsPlayerCanSendtoDeck
(
tp
,
tc
)
then
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
te
)
and
not
tc
:
IsHasEffect
(
EFFECT_CANNOT_TO_DECK
)
and
Duel
.
IsPlayerCanSendtoDeck
(
tp
,
tc
)
then
tc
:
CancelToGrave
()
tc
:
CancelToGrave
()
dg
:
AddCard
(
tc
)
dg
:
AddCard
(
tc
)
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