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
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-scripts
Commits
1c7db241
Commit
1c7db241
authored
Jul 12, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
92d06db3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
18 deletions
+18
-18
c33846209.lua
c33846209.lua
+3
-3
c4333086.lua
c4333086.lua
+3
-3
c53567095.lua
c53567095.lua
+3
-3
c5795980.lua
c5795980.lua
+3
-3
c58873391.lua
c58873391.lua
+3
-3
c80584548.lua
c80584548.lua
+3
-3
No files found.
c33846209.lua
View file @
1c7db241
...
@@ -19,7 +19,7 @@ end
...
@@ -19,7 +19,7 @@ end
function
c33846209
.
desfilter
(
c
,
tc
,
ec
)
function
c33846209
.
desfilter
(
c
,
tc
,
ec
)
return
c
:
GetEquipTarget
()
~=
tc
and
c
~=
ec
return
c
:
GetEquipTarget
()
~=
tc
and
c
~=
ec
end
end
function
c33846209
.
costfilter
(
c
,
ec
)
function
c33846209
.
costfilter
(
c
,
ec
,
tp
)
if
c
:
IsFacedown
()
or
not
c
:
IsLevel
(
4
)
or
not
c
:
IsType
(
TYPE_DUAL
)
then
return
false
end
if
c
:
IsFacedown
()
or
not
c
:
IsLevel
(
4
)
or
not
c
:
IsType
(
TYPE_DUAL
)
then
return
false
end
return
Duel
.
IsExistingTarget
(
c33846209
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
,
c
,
ec
)
return
Duel
.
IsExistingTarget
(
c33846209
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
,
c
,
ec
)
end
end
...
@@ -30,14 +30,14 @@ function c33846209.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -30,14 +30,14 @@ function c33846209.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
not
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
return
false
end
if
not
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
return
false
end
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c33846209
.
costfilter
,
1
,
c
,
c
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c33846209
.
costfilter
,
1
,
c
,
c
,
tp
)
else
else
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
end
end
end
end
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c33846209
.
costfilter
,
1
,
1
,
c
,
c
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c33846209
.
costfilter
,
1
,
1
,
c
,
c
,
tp
)
Duel
.
Release
(
sg
,
REASON_COST
)
Duel
.
Release
(
sg
,
REASON_COST
)
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
c4333086.lua
View file @
1c7db241
...
@@ -23,7 +23,7 @@ end
...
@@ -23,7 +23,7 @@ end
function
c4333086
.
desfilter
(
c
,
tc
,
ec
)
function
c4333086
.
desfilter
(
c
,
tc
,
ec
)
return
c
:
GetEquipTarget
()
~=
tc
and
c
~=
ec
return
c
:
GetEquipTarget
()
~=
tc
and
c
~=
ec
end
end
function
c4333086
.
costfilter
(
c
,
ec
)
function
c4333086
.
costfilter
(
c
,
ec
,
tp
)
if
not
c
:
IsRace
(
RACE_ZOMBIE
)
then
return
false
end
if
not
c
:
IsRace
(
RACE_ZOMBIE
)
then
return
false
end
return
Duel
.
IsExistingTarget
(
c4333086
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
2
,
c
,
c
,
ec
)
return
Duel
.
IsExistingTarget
(
c4333086
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
2
,
c
,
c
,
ec
)
end
end
...
@@ -33,7 +33,7 @@ function c4333086.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -33,7 +33,7 @@ function c4333086.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
if
chk
==
0
then
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c4333086
.
costfilter
,
1
,
c
,
c
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c4333086
.
costfilter
,
1
,
c
,
c
,
tp
)
and
Duel
.
IsExistingMatchingCard
(
c4333086
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c4333086
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
else
else
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
2
,
c
)
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
2
,
c
)
...
@@ -42,7 +42,7 @@ function c4333086.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -42,7 +42,7 @@ function c4333086.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
end
end
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c4333086
.
costfilter
,
1
,
1
,
c
,
c
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c4333086
.
costfilter
,
1
,
1
,
c
,
c
,
tp
)
Duel
.
Release
(
sg
,
REASON_COST
)
Duel
.
Release
(
sg
,
REASON_COST
)
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
c53567095.lua
View file @
1c7db241
...
@@ -19,7 +19,7 @@ end
...
@@ -19,7 +19,7 @@ end
function
c53567095
.
desfilter
(
c
,
tc
,
ec
)
function
c53567095
.
desfilter
(
c
,
tc
,
ec
)
return
c
:
GetEquipTarget
()
~=
tc
and
c
~=
ec
return
c
:
GetEquipTarget
()
~=
tc
and
c
~=
ec
end
end
function
c53567095
.
costfilter
(
c
,
ec
)
function
c53567095
.
costfilter
(
c
,
ec
,
tp
)
if
not
c
:
IsRace
(
RACE_WINDBEAST
)
then
return
false
end
if
not
c
:
IsRace
(
RACE_WINDBEAST
)
then
return
false
end
return
Duel
.
IsExistingTarget
(
c53567095
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
2
,
c
,
c
,
ec
)
return
Duel
.
IsExistingTarget
(
c53567095
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
2
,
c
,
c
,
ec
)
end
end
...
@@ -29,14 +29,14 @@ function c53567095.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -29,14 +29,14 @@ function c53567095.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
if
chk
==
0
then
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c53567095
.
costfilter
,
1
,
c
,
c
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c53567095
.
costfilter
,
1
,
c
,
c
,
tp
)
else
else
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
2
,
c
)
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
2
,
c
)
end
end
end
end
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c53567095
.
costfilter
,
1
,
1
,
c
,
c
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c53567095
.
costfilter
,
1
,
1
,
c
,
c
,
tp
)
Duel
.
Release
(
sg
,
REASON_COST
)
Duel
.
Release
(
sg
,
REASON_COST
)
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
c5795980.lua
View file @
1c7db241
...
@@ -25,7 +25,7 @@ function c5795980.cost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -25,7 +25,7 @@ function c5795980.cost(e,tp,eg,ep,ev,re,r,rp,chk)
e
:
SetLabel
(
1
)
e
:
SetLabel
(
1
)
return
true
return
true
end
end
function
c5795980
.
cfilter
(
c
,
ec
)
function
c5795980
.
cfilter
(
c
,
ec
,
tp
)
if
c
:
IsFacedown
()
or
not
c
:
IsLevelAbove
(
5
)
or
not
c
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
then
return
false
end
if
c
:
IsFacedown
()
or
not
c
:
IsLevelAbove
(
5
)
or
not
c
:
IsSummonType
(
SUMMON_TYPE_NORMAL
)
then
return
false
end
return
Duel
.
IsExistingTarget
(
c5795980
.
tgfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
,
c
,
ec
)
return
Duel
.
IsExistingTarget
(
c5795980
.
tgfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
,
c
,
ec
)
end
end
...
@@ -39,14 +39,14 @@ function c5795980.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -39,14 +39,14 @@ function c5795980.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
not
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
return
false
end
if
not
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
return
false
end
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c5795980
.
cfilter
,
1
,
c
,
c
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c5795980
.
cfilter
,
1
,
c
,
c
,
tp
)
else
else
return
Duel
.
IsExistingTarget
(
aux
.
disfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
return
Duel
.
IsExistingTarget
(
aux
.
disfilter1
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
end
end
end
end
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c5795980
.
cfilter
,
1
,
1
,
c
,
c
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c5795980
.
cfilter
,
1
,
1
,
c
,
c
,
tp
)
Duel
.
Release
(
sg
,
REASON_COST
)
Duel
.
Release
(
sg
,
REASON_COST
)
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
...
...
c58873391.lua
View file @
1c7db241
...
@@ -19,7 +19,7 @@ end
...
@@ -19,7 +19,7 @@ end
function
c58873391
.
desfilter
(
c
,
tc
,
ec
)
function
c58873391
.
desfilter
(
c
,
tc
,
ec
)
return
c
:
GetEquipTarget
()
~=
tc
and
c
~=
ec
return
c
:
GetEquipTarget
()
~=
tc
and
c
~=
ec
end
end
function
c58873391
.
costfilter
(
c
,
ec
)
function
c58873391
.
costfilter
(
c
,
ec
,
tp
)
if
not
c
:
IsRace
(
RACE_FISH
)
then
return
false
end
if
not
c
:
IsRace
(
RACE_FISH
)
then
return
false
end
return
Duel
.
IsExistingTarget
(
c58873391
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
,
c
,
ec
)
return
Duel
.
IsExistingTarget
(
c58873391
.
desfilter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
,
c
,
ec
)
end
end
...
@@ -30,14 +30,14 @@ function c58873391.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -30,14 +30,14 @@ function c58873391.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
not
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
return
false
end
if
not
Duel
.
IsPlayerCanDraw
(
tp
,
1
)
then
return
false
end
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c58873391
.
costfilter
,
1
,
c
,
c
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c58873391
.
costfilter
,
1
,
c
,
c
,
tp
)
else
else
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
c
)
end
end
end
end
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c58873391
.
costfilter
,
1
,
1
,
c
,
c
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c58873391
.
costfilter
,
1
,
1
,
c
,
c
,
tp
)
Duel
.
Release
(
sg
,
REASON_COST
)
Duel
.
Release
(
sg
,
REASON_COST
)
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
c80584548.lua
View file @
1c7db241
...
@@ -19,7 +19,7 @@ end
...
@@ -19,7 +19,7 @@ end
function
c80584548
.
desfilter
(
c
,
tc
,
ec
)
function
c80584548
.
desfilter
(
c
,
tc
,
ec
)
return
c
:
GetEquipTarget
()
~=
tc
and
c
~=
ec
return
c
:
GetEquipTarget
()
~=
tc
and
c
~=
ec
end
end
function
c80584548
.
costfilter
(
c
,
ec
)
function
c80584548
.
costfilter
(
c
,
ec
,
tp
)
return
Duel
.
IsExistingTarget
(
c80584548
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
c
,
c
,
ec
)
return
Duel
.
IsExistingTarget
(
c80584548
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
c
,
c
,
ec
)
end
end
function
c80584548
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c80584548
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
...
@@ -28,14 +28,14 @@ function c80584548.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -28,14 +28,14 @@ function c80584548.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
if
chk
==
0
then
if
chk
==
0
then
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c80584548
.
costfilter
,
1
,
c
,
c
)
return
Duel
.
CheckReleaseGroup
(
tp
,
c80584548
.
costfilter
,
1
,
c
,
c
,
tp
)
else
else
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
c
)
return
Duel
.
IsExistingTarget
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
c
)
end
end
end
end
if
e
:
GetLabel
()
==
1
then
if
e
:
GetLabel
()
==
1
then
e
:
SetLabel
(
0
)
e
:
SetLabel
(
0
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c80584548
.
costfilter
,
1
,
1
,
c
,
c
)
local
sg
=
Duel
.
SelectReleaseGroup
(
tp
,
c80584548
.
costfilter
,
1
,
1
,
c
,
c
,
tp
)
Duel
.
Release
(
sg
,
REASON_COST
)
Duel
.
Release
(
sg
,
REASON_COST
)
end
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
...
...
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