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
cafd81e6
Commit
cafd81e6
authored
Dec 26, 2015
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sylvan
parent
895fcb6e
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
13 additions
and
14 deletions
+13
-14
c10530913.lua
c10530913.lua
+1
-1
c10753491.lua
c10753491.lua
+1
-1
c11682713.lua
c11682713.lua
+1
-1
c20579538.lua
c20579538.lua
+1
-1
c25824484.lua
c25824484.lua
+1
-1
c36046926.lua
c36046926.lua
+1
-1
c47077318.lua
c47077318.lua
+1
-1
c47741109.lua
c47741109.lua
+1
-2
c62434031.lua
c62434031.lua
+1
-1
c63257623.lua
c63257623.lua
+1
-1
c73136204.lua
c73136204.lua
+1
-1
c99429730.lua
c99429730.lua
+1
-1
c99641328.lua
c99641328.lua
+1
-1
No files found.
c10530913.lua
View file @
cafd81e6
...
@@ -65,7 +65,7 @@ function c10530913.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -65,7 +65,7 @@ function c10530913.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c10530913
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10530913
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
GetPreviousPosition
()
==
POS_FACEUP_DEFENCE
)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_REVEAL
)
end
end
function
c10530913
.
thfilter
(
c
)
function
c10530913
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x90
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x90
)
and
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsAbleToHand
()
...
...
c10753491.lua
View file @
cafd81e6
...
@@ -52,7 +52,7 @@ function c10753491.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c10753491.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c10753491
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10753491
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
GetPreviousPosition
()
==
POS_FACEUP_DEFENCE
)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_REVEAL
)
end
end
function
c10753491
.
filter
(
c
,
e
,
tp
)
function
c10753491
.
filter
(
c
,
e
,
tp
)
return
c
:
GetLevel
()
==
1
and
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
GetLevel
()
==
1
and
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c11682713.lua
View file @
cafd81e6
...
@@ -37,7 +37,7 @@ function c11682713.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,7 +37,7 @@ function c11682713.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c11682713
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c11682713
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
GetPreviousPosition
()
==
POS_FACEUP_DEFENCE
)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_REVEAL
)
end
end
function
c11682713
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c11682713
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToHand
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToHand
()
end
...
...
c20579538.lua
View file @
cafd81e6
...
@@ -50,7 +50,7 @@ function c20579538.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,7 +50,7 @@ function c20579538.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c20579538
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c20579538
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
GetPreviousPosition
()
==
POS_FACEUP_DEFENCE
)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_REVEAL
)
end
end
function
c20579538
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c20579538
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
c25824484.lua
View file @
cafd81e6
...
@@ -36,7 +36,7 @@ function c25824484.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -36,7 +36,7 @@ function c25824484.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c25824484
.
sdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c25824484
.
sdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
GetPreviousPosition
()
==
POS_FACEUP_DEFENCE
)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_REVEAL
)
end
end
function
c25824484
.
sdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c25824484
.
sdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
local
ct
=
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_DECK
,
0
)
...
...
c36046926.lua
View file @
cafd81e6
...
@@ -52,7 +52,7 @@ function c36046926.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c36046926.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c36046926
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c36046926
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
GetPreviousPosition
()
==
POS_FACEUP_DEFENCE
)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_REVEAL
)
end
end
function
c36046926
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c36046926
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsDestructable
()
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsDestructable
()
end
...
...
c47077318.lua
View file @
cafd81e6
...
@@ -43,7 +43,7 @@ function c47077318.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,7 +43,7 @@ function c47077318.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c47077318
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c47077318
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
GetPreviousPosition
()
==
POS_FACEUP_DEFENCE
)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_REVEAL
)
end
end
function
c47077318
.
filter
(
c
)
function
c47077318
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_PLANT
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_PLANT
)
...
...
c47741109.lua
View file @
cafd81e6
...
@@ -13,8 +13,7 @@ function c47741109.initial_effect(c)
...
@@ -13,8 +13,7 @@ function c47741109.initial_effect(c)
end
end
function
c47741109
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c47741109
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_HAND
+
LOCATION_ONFIELD
)
or
(
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
return
c
:
IsPreviousLocation
(
LOCATION_HAND
+
LOCATION_ONFIELD
)
or
(
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_REVEAL
))
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
GetPreviousPosition
()
==
POS_FACEUP_DEFENCE
))
end
end
function
c47741109
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c47741109
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
end
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
end
...
...
c62434031.lua
View file @
cafd81e6
...
@@ -37,7 +37,7 @@ function c62434031.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -37,7 +37,7 @@ function c62434031.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c62434031
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c62434031
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
GetPreviousPosition
()
==
POS_FACEUP_DEFENCE
)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_REVEAL
)
end
end
function
c62434031
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c62434031
.
tdtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
0x90
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsSetCard
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
0x90
)
end
...
...
c63257623.lua
View file @
cafd81e6
...
@@ -42,7 +42,7 @@ function c63257623.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -42,7 +42,7 @@ function c63257623.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c63257623
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c63257623
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
GetPreviousPosition
()
==
POS_FACEUP_DEFENCE
)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_REVEAL
)
end
end
function
c63257623
.
filter
(
c
,
e
,
tp
)
function
c63257623
.
filter
(
c
,
e
,
tp
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsLevelBelow
(
4
)
and
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c73136204.lua
View file @
cafd81e6
...
@@ -49,7 +49,7 @@ function c73136204.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -49,7 +49,7 @@ function c73136204.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c73136204
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c73136204
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
GetPreviousPosition
()
==
POS_FACEUP_DEFENCE
)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_REVEAL
)
end
end
function
c73136204
.
filter
(
c
)
function
c73136204
.
filter
(
c
)
return
c
:
IsSetCard
(
0x90
)
and
not
c
:
IsCode
(
73136204
)
and
c
:
IsAbleToDeck
()
return
c
:
IsSetCard
(
0x90
)
and
not
c
:
IsCode
(
73136204
)
and
c
:
IsAbleToDeck
()
...
...
c99429730.lua
View file @
cafd81e6
...
@@ -52,7 +52,7 @@ function c99429730.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c99429730.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c99429730
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c99429730
.
tdcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
GetPreviousPosition
()
==
POS_FACEUP_DEFENCE
)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_REVEAL
)
end
end
function
c99429730
.
filter
(
c
)
function
c99429730
.
filter
(
c
)
return
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsAbleToDeck
()
return
c
:
IsRace
(
RACE_PLANT
)
and
c
:
IsAbleToDeck
()
...
...
c99641328.lua
View file @
cafd81e6
...
@@ -52,7 +52,7 @@ function c99641328.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -52,7 +52,7 @@ function c99641328.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c99641328
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c99641328
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
(
c
:
IsReason
(
REASON_REVEAL
)
or
c
:
GetPreviousPosition
()
==
POS_FACEUP_DEFENCE
)
return
c
:
IsPreviousLocation
(
LOCATION_DECK
)
and
c
:
IsReason
(
REASON_REVEAL
)
end
end
function
c99641328
.
desfilter
(
c
)
function
c99641328
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsDestructable
()
return
c
:
IsType
(
TYPE_SPELL
+
TYPE_TRAP
)
and
c
:
IsDestructable
()
...
...
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