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
41985b00
Commit
41985b00
authored
Jun 20, 2017
by
nekrozar
Committed by
mercury233
Jun 20, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#880)
parent
51037f4b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
c13455674.lua
c13455674.lua
+1
-1
c53180020.lua
c53180020.lua
+1
-1
c56907986.lua
c56907986.lua
+1
-1
c80352158.lua
c80352158.lua
+1
-1
c88845345.lua
c88845345.lua
+1
-1
c89474727.lua
c89474727.lua
+1
-1
No files found.
c13455674.lua
View file @
41985b00
...
@@ -139,7 +139,7 @@ function c13455674.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -139,7 +139,7 @@ function c13455674.spcon(e,tp,eg,ep,ev,re,r,rp)
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
bit
.
band
(
r
,
REASON_EFFECT
+
REASON_BATTLE
)
~=
0
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
and
bit
.
band
(
r
,
REASON_EFFECT
+
REASON_BATTLE
)
~=
0
end
end
function
c13455674
.
spfilter
(
c
,
e
,
tp
)
function
c13455674
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
Is
Faceup
()
and
c
:
Is
CanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c13455674
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c13455674
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
c13455674
.
spfilter
(
chkc
,
e
,
tp
)
and
chkc
~=
e
:
GetHandler
()
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
c13455674
.
spfilter
(
chkc
,
e
,
tp
)
and
chkc
~=
e
:
GetHandler
()
end
...
...
c53180020.lua
View file @
41985b00
...
@@ -43,7 +43,7 @@ function c53180020.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,7 +43,7 @@ function c53180020.thop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c53180020
.
spfilter
(
c
,
e
,
tp
)
function
c53180020
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xb4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
Is
Faceup
()
and
c
:
Is
SetCard
(
0xb4
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c53180020
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c53180020
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c53180020
.
spfilter
(
chkc
,
e
,
tp
)
and
chkc
~=
e
:
GetHandler
()
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c53180020
.
spfilter
(
chkc
,
e
,
tp
)
and
chkc
~=
e
:
GetHandler
()
end
...
...
c56907986.lua
View file @
41985b00
...
@@ -50,7 +50,7 @@ function c56907986.spcost2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -50,7 +50,7 @@ function c56907986.spcost2(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
PayLPCost
(
tp
,
500
)
Duel
.
PayLPCost
(
tp
,
500
)
end
end
function
c56907986
.
spfilter2
(
c
,
e
,
tp
)
function
c56907986
.
spfilter2
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xd2
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
Is
Faceup
()
and
c
:
Is
SetCard
(
0xd2
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c56907986
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c56907986
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c56907986
.
spfilter2
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c56907986
.
spfilter2
(
chkc
,
e
,
tp
)
end
...
...
c80352158.lua
View file @
41985b00
...
@@ -11,7 +11,7 @@ function c80352158.initial_effect(c)
...
@@ -11,7 +11,7 @@ function c80352158.initial_effect(c)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
function
c80352158
.
filter
(
c
,
e
,
tp
)
function
c80352158
.
filter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_MACHINE
+
RACE_ROCK
)
and
not
c
:
IsSummonableCard
()
return
c
:
Is
Faceup
()
and
c
:
Is
Race
(
RACE_MACHINE
+
RACE_ROCK
)
and
not
c
:
IsSummonableCard
()
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c80352158
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c80352158
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
c88845345.lua
View file @
41985b00
...
@@ -16,7 +16,7 @@ function c88845345.condition(e,tp,eg,ep,ev,re,r,rp)
...
@@ -16,7 +16,7 @@ function c88845345.condition(e,tp,eg,ep,ev,re,r,rp)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
return
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
e
:
GetHandler
():
IsReason
(
REASON_BATTLE
)
end
end
function
c88845345
.
filter
(
c
)
function
c88845345
.
filter
(
c
)
return
c
:
IsLevelBelow
(
3
)
and
c
:
IsRace
(
RACE_BEAST
+
RACE_BEASTWARRIOR
+
RACE_WINDBEAST
)
and
c
:
IsAbleToHand
()
return
c
:
Is
Faceup
()
and
c
:
Is
LevelBelow
(
3
)
and
c
:
IsRace
(
RACE_BEAST
+
RACE_BEASTWARRIOR
+
RACE_WINDBEAST
)
and
c
:
IsAbleToHand
()
end
end
function
c88845345
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c88845345
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c88845345
.
filter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c88845345
.
filter
(
chkc
)
end
...
...
c89474727.lua
View file @
41985b00
...
@@ -59,7 +59,7 @@ function c89474727.spcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,7 +59,7 @@ function c89474727.spcon(e,tp,eg,ep,ev,re,r,rp)
return
rp
~=
tp
and
e
:
GetHandler
():
GetPreviousControler
()
==
tp
return
rp
~=
tp
and
e
:
GetHandler
():
GetPreviousControler
()
==
tp
end
end
function
c89474727
.
spfilter
(
c
,
e
,
tp
)
function
c89474727
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
Is
Faceup
()
and
c
:
Is
Type
(
TYPE_SYNCHRO
)
and
c
:
IsRace
(
RACE_DRAGON
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
end
function
c89474727
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c89474727
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c89474727
.
spfilter
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_REMOVED
)
and
chkc
:
IsControler
(
tp
)
and
c89474727
.
spfilter
(
chkc
,
e
,
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