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
7c92fb43
Commit
7c92fb43
authored
Apr 01, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1237 from DailyShana/patch-3
fix
parents
d069b8bb
d8cfe4e8
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
9 deletions
+12
-9
script/c15381252.lua
script/c15381252.lua
+5
-3
script/c22227683.lua
script/c22227683.lua
+2
-1
script/c23626223.lua
script/c23626223.lua
+1
-1
script/c43476205.lua
script/c43476205.lua
+1
-1
script/c6859683.lua
script/c6859683.lua
+1
-1
script/c76442616.lua
script/c76442616.lua
+1
-1
script/c86871614.lua
script/c86871614.lua
+1
-1
No files found.
script/c15381252.lua
View file @
7c92fb43
...
@@ -35,9 +35,11 @@ function c15381252.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,9 +35,11 @@ function c15381252.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
:
IsType
(
TYPE_MONSTER
)
then
if
tc
:
IsType
(
TYPE_MONSTER
)
then
Duel
.
DisableShuffleCheck
()
Duel
.
DisableShuffleCheck
()
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
+
REASON_REVEAL
)
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
+
REASON_REVEAL
)
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
if
tc
:
IsLocation
(
LOCATION_GRAVE
)
then
count
=
count
-
1
Duel
.
Damage
(
1
-
tp
,
500
,
REASON_EFFECT
)
count
=
count
-
1
else
count
=
0
end
else
else
count
=
0
count
=
0
end
end
...
...
script/c22227683.lua
View file @
7c92fb43
...
@@ -33,7 +33,8 @@ function c22227683.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -33,7 +33,8 @@ function c22227683.operation(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c22227683
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c22227683
.
tgfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
tc
=
g
:
GetFirst
()
local
tc
=
g
:
GetFirst
()
if
tc
and
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
c
:
IsRelateToBattle
()
and
c
:
IsFaceup
()
then
if
tc
and
Duel
.
SendtoGrave
(
tc
,
REASON_EFFECT
)
~=
0
and
tc
:
IsLocation
(
LOCATION_GRAVE
)
and
c
:
IsRelateToBattle
()
and
c
:
IsFaceup
()
then
local
lv
=
tc
:
GetLevel
()
local
lv
=
tc
:
GetLevel
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
script/c23626223.lua
View file @
7c92fb43
...
@@ -44,7 +44,7 @@ function c23626223.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -44,7 +44,7 @@ function c23626223.activate(e,tp,eg,ep,ev,re,r,rp)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c23626223
.
tgfilter
(
c
)
function
c23626223
.
tgfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsFaceup
()
and
bit
.
band
(
c
:
GetOriginalType
(),
TYPE_TRAP
)
~=
0
and
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
c23626223
.
tgcon
(
e
)
function
c23626223
.
tgcon
(
e
)
return
Duel
.
IsExistingMatchingCard
(
c23626223
.
tgfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
return
Duel
.
IsExistingMatchingCard
(
c23626223
.
tgfilter
,
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
())
...
...
script/c43476205.lua
View file @
7c92fb43
...
@@ -46,7 +46,7 @@ function c43476205.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -46,7 +46,7 @@ function c43476205.activate(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
Duel
.
GetTurnPlayer
()
~=
tp
then
if
Duel
.
GetTurnPlayer
()
~=
tp
then
if
not
tc
:
IsRelateToEffect
(
e
)
or
not
tc
:
IsFaceup
()
then
return
end
if
not
tc
:
IsRelateToEffect
(
e
)
or
not
tc
:
IsFaceup
()
then
return
end
if
not
Duel
.
GetControl
(
tc
,
tp
,
PHASE_END
,
1
)
then
if
not
Duel
.
GetControl
(
tc
,
tp
)
then
if
not
tc
:
IsImmuneToEffect
(
e
)
and
tc
:
IsAbleToChangeControler
()
then
if
not
tc
:
IsImmuneToEffect
(
e
)
and
tc
:
IsAbleToChangeControler
()
then
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
end
end
...
...
script/c6859683.lua
View file @
7c92fb43
...
@@ -9,7 +9,7 @@ function c6859683.initial_effect(c)
...
@@ -9,7 +9,7 @@ function c6859683.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c6859683
.
filter
(
c
)
function
c6859683
.
filter
(
c
)
not
c
:
IsType
(
TYPE_PENDULUM
)
return
c
:
IsFacedown
()
or
not
c
:
IsType
(
TYPE_PENDULUM
)
end
end
function
c6859683
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c6859683
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_EXTRA
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
0
,
LOCATION_EXTRA
)
...
...
script/c76442616.lua
View file @
7c92fb43
...
@@ -14,7 +14,7 @@ function c76442616.cfilter(c)
...
@@ -14,7 +14,7 @@ function c76442616.cfilter(c)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x8
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x8
)
end
end
function
c76442616
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c76442616
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c76442616
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c76442616
.
cfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
end
function
c76442616
.
filter
(
c
,
e
,
tp
)
function
c76442616
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x3008
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsSetCard
(
0x3008
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
script/c86871614.lua
View file @
7c92fb43
...
@@ -74,4 +74,4 @@ function c86871614.descon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -74,4 +74,4 @@ function c86871614.descon(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c86871614
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c86871614
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
Destroy
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
end
\ No newline at end of file
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