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
764d03a2
Commit
764d03a2
authored
Apr 07, 2017
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5af57f75
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
9 deletions
+6
-9
c10117149.lua
c10117149.lua
+1
-2
c128454.lua
c128454.lua
+1
-1
c1344018.lua
c1344018.lua
+2
-4
c20409757.lua
c20409757.lua
+1
-1
c94415058.lua
c94415058.lua
+1
-1
No files found.
c10117149.lua
View file @
764d03a2
...
@@ -69,8 +69,7 @@ function c10117149.atkval(e,c)
...
@@ -69,8 +69,7 @@ function c10117149.atkval(e,c)
return
Duel
.
GetMatchingGroupCount
(
c10117149
.
cfilter
,
c
:
GetControler
(),
LOCATION_EXTRA
,
0
,
nil
)
*
500
return
Duel
.
GetMatchingGroupCount
(
c10117149
.
cfilter
,
c
:
GetControler
(),
LOCATION_EXTRA
,
0
,
nil
)
*
500
end
end
function
c10117149
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10117149
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_PZONE
)
return
c
:
IsPreviousLocation
(
LOCATION_SZONE
)
and
(
c
:
GetPreviousSequence
()
==
6
or
c
:
GetPreviousSequence
()
==
7
)
end
end
function
c10117149
.
spfilter
(
c
,
e
,
tp
)
function
c10117149
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0xab
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsSetCard
(
0xab
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
c128454.lua
View file @
764d03a2
...
@@ -18,7 +18,7 @@ function c128454.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -18,7 +18,7 @@ function c128454.thcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
Duel
.
Remove
(
e
:
GetHandler
(),
POS_FACEUP
,
REASON_COST
)
end
end
function
c128454
.
thfilter
(
c
)
function
c128454
.
thfilter
(
c
)
return
((
c
:
IsLocation
(
LOCATION_
SZONE
)
and
(
c
:
GetSequence
()
==
6
or
c
:
GetSequence
()
==
7
)
and
(
c
:
IsSetCard
(
0x9f
)
or
c
:
IsSetCard
(
0x98
)))
return
((
c
:
IsLocation
(
LOCATION_
PZONE
)
and
(
c
:
IsSetCard
(
0x9f
)
or
c
:
IsSetCard
(
0x98
)))
or
(
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsType
(
TYPE_PENDULUM
)))
and
c
:
IsAbleToHand
()
or
(
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
IsType
(
TYPE_PENDULUM
)))
and
c
:
IsAbleToHand
()
end
end
function
c128454
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c128454
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
...
c1344018.lua
View file @
764d03a2
...
@@ -55,16 +55,14 @@ function c1344018.descost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -55,16 +55,14 @@ function c1344018.descost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RegisterFlagEffect
(
tp
,
1344018
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
Duel
.
RegisterFlagEffect
(
tp
,
1344018
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
end
function
c1344018
.
desfilter
(
c
)
function
c1344018
.
desfilter
(
c
)
local
seq
=
c
:
GetSequence
()
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x98
)
and
c
:
IsType
(
TYPE_PENDULUM
)
return
c
:
IsFaceup
()
and
c
:
IsSetCard
(
0x98
)
and
c
:
IsType
(
TYPE_PENDULUM
)
and
(
c
:
IsLocation
(
LOCATION_MZONE
)
or
(
seq
==
6
or
seq
==
7
))
end
end
function
c1344018
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c1344018
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c1344018
.
desfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c1344018
.
desfilter
,
tp
,
LOCATION_
MZONE
+
LOCATION_PZONE
,
0
,
1
,
nil
)
and
Duel
.
IsExistingTarget
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
and
Duel
.
IsExistingTarget
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c1344018
.
desfilter
,
tp
,
LOCATION_
ONFIELD
,
0
,
1
,
1
,
nil
)
local
g1
=
Duel
.
SelectTarget
(
tp
,
c1344018
.
desfilter
,
tp
,
LOCATION_
MZONE
+
LOCATION_PZONE
,
0
,
1
,
1
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g2
=
Duel
.
SelectTarget
(
tp
,
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
g1
:
Merge
(
g2
)
g1
:
Merge
(
g2
)
...
...
c20409757.lua
View file @
764d03a2
...
@@ -66,7 +66,7 @@ function c20409757.aclimit(e,re,tp)
...
@@ -66,7 +66,7 @@ function c20409757.aclimit(e,re,tp)
end
end
function
c20409757
.
slcon
(
e
)
function
c20409757
.
slcon
(
e
)
local
seq
=
e
:
GetHandler
():
GetSequence
()
local
seq
=
e
:
GetHandler
():
GetSequence
()
local
tc
=
Duel
.
GetFieldCard
(
e
:
GetHandlerPlayer
(),
LOCATION_
SZONE
,
13
-
seq
)
local
tc
=
Duel
.
GetFieldCard
(
e
:
GetHandlerPlayer
(),
LOCATION_
PZONE
,({
1
,
0
,
0
,
0
,
0
,
0
,
1
,
0
})[
seq
+
1
]
)
return
not
tc
or
(
not
tc
:
IsSetCard
(
0x98
)
and
not
tc
:
IsSetCard
(
0x99
))
return
not
tc
or
(
not
tc
:
IsSetCard
(
0x98
)
and
not
tc
:
IsSetCard
(
0x99
))
end
end
function
c20409757
.
filter
(
c
,
tp
)
function
c20409757
.
filter
(
c
,
tp
)
...
...
c94415058.lua
View file @
764d03a2
...
@@ -58,7 +58,7 @@ function c94415058.aclimit(e,re,tp)
...
@@ -58,7 +58,7 @@ function c94415058.aclimit(e,re,tp)
end
end
function
c94415058
.
sccon
(
e
)
function
c94415058
.
sccon
(
e
)
local
seq
=
e
:
GetHandler
():
GetSequence
()
local
seq
=
e
:
GetHandler
():
GetSequence
()
local
tc
=
Duel
.
GetFieldCard
(
e
:
GetHandlerPlayer
(),
LOCATION_
SZONE
,
13
-
seq
)
local
tc
=
Duel
.
GetFieldCard
(
e
:
GetHandlerPlayer
(),
LOCATION_
PZONE
,({
1
,
0
,
0
,
0
,
0
,
0
,
1
,
0
})[
seq
+
1
]
)
return
not
tc
or
(
not
tc
:
IsSetCard
(
0x98
)
and
not
tc
:
IsSetCard
(
0x99
))
return
not
tc
or
(
not
tc
:
IsSetCard
(
0x98
)
and
not
tc
:
IsSetCard
(
0x99
))
end
end
function
c94415058
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c94415058
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
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