Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
List
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
YGOPRO-520DIY
ygopro
Commits
86aeb67c
Commit
86aeb67c
authored
Apr 30, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1291 from DailyShana/patch-3
fix
parents
30b3088b
fb2ab5e3
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
5 deletions
+8
-5
script/c30500113.lua
script/c30500113.lua
+1
-1
script/c4081665.lua
script/c4081665.lua
+4
-1
script/c5050644.lua
script/c5050644.lua
+1
-1
script/c58446973.lua
script/c58446973.lua
+1
-1
script/c79531196.lua
script/c79531196.lua
+1
-1
No files found.
script/c30500113.lua
View file @
86aeb67c
...
@@ -48,7 +48,7 @@ function c30500113.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -48,7 +48,7 @@ function c30500113.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c30500113
.
cfilter2
(
c
,
tp
)
function
c30500113
.
cfilter2
(
c
,
tp
)
return
c
:
IsSetCard
(
0xba
)
and
c
:
IsReason
(
REASON_EFFECT
)
return
c
:
IsSetCard
(
0xba
)
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
end
end
function
c30500113
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c30500113
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
script/c4081665.lua
View file @
86aeb67c
...
@@ -41,8 +41,11 @@ function c4081665.spop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -41,8 +41,11 @@ function c4081665.spop(e,tp,eg,ep,ev,re,r,rp,c)
e2
:
SetCode
(
EFFECT_CANNOT_MSET
)
e2
:
SetCode
(
EFFECT_CANNOT_MSET
)
Duel
.
RegisterEffect
(
e2
,
tp
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
c4081665
.
cfilter
(
c
)
return
c
:
IsSetCard
(
0xc6
)
and
c
:
IsType
(
TYPE_MONSTER
)
end
function
c4081665
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c4081665
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
(),
0xc6
)
then
return
false
end
if
not
Duel
.
IsExistingMatchingCard
(
c4081665
.
cfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
e
:
GetHandler
()
)
then
return
false
end
local
ex
,
cg
,
ct
,
cp
,
cv
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_DAMAGE
)
local
ex
,
cg
,
ct
,
cp
,
cv
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_DAMAGE
)
if
ex
and
(
cp
==
1
-
tp
or
cp
==
PLAYER_ALL
)
then
return
true
end
if
ex
and
(
cp
==
1
-
tp
or
cp
==
PLAYER_ALL
)
then
return
true
end
ex
,
cg
,
ct
,
cp
,
cv
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_RECOVER
)
ex
,
cg
,
ct
,
cp
,
cv
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_RECOVER
)
...
...
script/c5050644.lua
View file @
86aeb67c
...
@@ -57,7 +57,7 @@ function c5050644.reop1(e,tp,eg,ep,ev,re,r,rp)
...
@@ -57,7 +57,7 @@ function c5050644.reop1(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c5050644
.
cfilter2
(
c
,
tp
)
function
c5050644
.
cfilter2
(
c
,
tp
)
return
c
:
IsSetCard
(
0xc9
)
and
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
return
c
:
IsSetCard
(
0xc9
)
and
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsReason
(
REASON_BATTLE
+
REASON_EFFECT
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
and
c
:
GetPreviousControler
()
==
tp
and
c
:
IsPrevious
Location
(
LOCATION_MZONE
)
and
c
:
IsPrevious
Position
(
POS_FACEUP
)
end
end
function
c5050644
.
recon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c5050644
.
recon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c5050644
.
cfilter2
,
1
,
nil
,
tp
)
return
eg
:
IsExists
(
c5050644
.
cfilter2
,
1
,
nil
,
tp
)
...
...
script/c58446973.lua
View file @
86aeb67c
...
@@ -14,7 +14,7 @@ function c58446973.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c58446973.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c58446973
.
filter
(
c
)
function
c58446973
.
filter
(
c
)
return
c
:
IsSetCard
(
0xbb
)
and
not
c
:
IsCode
(
58446973
)
and
c
:
IsAbleToGrave
()
return
c
:
IsSetCard
(
0xbb
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
not
c
:
IsCode
(
58446973
)
and
c
:
IsAbleToGrave
()
end
end
function
c58446973
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c58446973
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c58446973
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c58446973
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
...
...
script/c79531196.lua
View file @
86aeb67c
...
@@ -21,7 +21,7 @@ function c79531196.initial_effect(c)
...
@@ -21,7 +21,7 @@ function c79531196.initial_effect(c)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
end
end
function
c79531196
.
filter
(
c
)
function
c79531196
.
filter
(
c
)
return
(
c
:
IsSetCard
(
0x1047
)
or
c
:
IsSetCard
(
0x9b
))
and
c
:
IsAbleToGrave
()
return
(
c
:
IsSetCard
(
0x1047
)
or
c
:
IsSetCard
(
0x9b
))
and
c
:
Is
Type
(
TYPE_MONSTER
)
and
c
:
Is
AbleToGrave
()
end
end
function
c79531196
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c79531196
.
tgtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c79531196
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c79531196
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
)
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