Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
bf777aaa
Commit
bf777aaa
authored
Jan 20, 2024
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5937b2b5
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
16 deletions
+12
-16
c34446231.lua
c34446231.lua
+2
-2
c60830240.lua
c60830240.lua
+1
-3
c61775475.lua
c61775475.lua
+6
-8
c9396662.lua
c9396662.lua
+2
-2
c96113307.lua
c96113307.lua
+1
-1
No files found.
c34446231.lua
View file @
bf777aaa
...
@@ -52,9 +52,9 @@ function s.costfilter(c)
...
@@ -52,9 +52,9 @@ function s.costfilter(c)
return
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsType
(
TYPE_MONSTER
)
end
end
function
s
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
discost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
s
.
costfilter
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
s
.
costfilter
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
s
.
costfilter
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
s
.
costfilter
,
1
,
1
,
nil
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
distg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c60830240.lua
View file @
bf777aaa
...
@@ -68,9 +68,7 @@ function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -68,9 +68,7 @@ function s.tgtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g
=
tg
:
SelectSubGroup
(
tp
,
aux
.
TRUE
,
false
,
1
,
11
)
local
g
=
tg
:
SelectSubGroup
(
tp
,
aux
.
TRUE
,
false
,
1
,
11
)
aux
.
GCheckAdditional
=
nil
aux
.
GCheckAdditional
=
nil
Duel
.
SetTargetCard
(
g
)
Duel
.
SetTargetCard
(
g
)
if
g
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
g
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
g
,
g
:
GetCount
(),
0
,
0
)
end
end
end
function
s
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
tgop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
...
...
c61775475.lua
View file @
bf777aaa
...
@@ -66,8 +66,8 @@ end
...
@@ -66,8 +66,8 @@ end
function
s
.
rmlimit
(
e
,
c
,
tp
,
r
,
re
)
function
s
.
rmlimit
(
e
,
c
,
tp
,
r
,
re
)
return
c
:
IsAttribute
(
e
:
GetLabel
())
and
re
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsCode
(
id
)
and
r
==
REASON_COST
return
c
:
IsAttribute
(
e
:
GetLabel
())
and
re
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsCode
(
id
)
and
r
==
REASON_COST
end
end
function
s
.
tdfilter
(
c
,
tp
)
function
s
.
tdfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x2
)
and
c
:
IsAbleToDeck
()
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsSetCard
(
0x2
)
and
c
:
IsAbleToDeck
()
and
c
:
IsFaceup
()
end
end
function
s
.
desfilter
(
c
)
function
s
.
desfilter
(
c
)
return
c
:
GetSequence
()
<
5
return
c
:
GetSequence
()
<
5
...
@@ -79,17 +79,15 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -79,17 +79,15 @@ function s.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
tdfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
tdfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dabcheck
,
false
,
1
,
6
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
dabcheck
,
false
,
1
,
6
)
Duel
.
SetTargetCard
(
sg
)
Duel
.
SetTargetCard
(
sg
)
if
sg
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
sg
,
sg
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
sg
,
sg
:
GetCount
(),
0
,
0
)
end
end
end
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tg
=
Duel
.
Get
ChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
tg
=
Duel
.
Get
TargetsRelateToChain
(
)
if
not
tg
then
return
end
if
#
tg
==
0
then
return
end
Duel
.
SendtoDeck
(
tg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
tg
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
local
g
=
Duel
.
GetOperatedGroup
()
local
g
=
Duel
.
GetOperatedGroup
()
if
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_DECK
)
then
Duel
.
ShuffleDeck
(
tp
)
end
if
g
:
IsExists
(
Card
.
IsLocation
,
1
,
nil
,
LOCATION_DECK
)
then
Duel
.
ShuffleDeck
(
tp
)
end
local
ct
=
t
g
:
GetCount
()
local
ct
=
g
:
GetCount
()
local
dg
=
Duel
.
GetMatchingGroup
(
s
.
desfilter
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
nil
)
local
dg
=
Duel
.
GetMatchingGroup
(
s
.
desfilter
,
tp
,
LOCATION_SZONE
,
LOCATION_SZONE
,
nil
)
if
ct
>
0
and
dg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
if
ct
>
0
and
dg
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
1
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
...
...
c9396662.lua
View file @
bf777aaa
...
@@ -29,9 +29,9 @@ function s.rfilter(c,tp)
...
@@ -29,9 +29,9 @@ function s.rfilter(c,tp)
end
end
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
REASON_COST
,
tp
,
s
.
rfilter
,
1
,
c
,
1
,
tp
)
end
if
chk
==
0
then
return
Duel
.
CheckReleaseGroup
(
tp
,
s
.
rfilter
,
1
,
c
,
1
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
SelectReleaseGroup
(
REASON_COST
,
tp
,
s
.
rfilter
,
1
,
1
,
c
,
tp
)
local
g
=
Duel
.
SelectReleaseGroup
(
tp
,
s
.
rfilter
,
1
,
1
,
c
,
tp
)
Duel
.
Release
(
g
,
REASON_COST
)
Duel
.
Release
(
g
,
REASON_COST
)
end
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
...
...
c96113307.lua
View file @
bf777aaa
...
@@ -67,7 +67,7 @@ function s.bsop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -67,7 +67,7 @@ function s.bsop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SUMMON
)
local
sumc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
sfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
):
GetFirst
()
local
sumc
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
sfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
1
,
nil
):
GetFirst
()
if
sumc
then
Duel
.
Summon
(
tp
,
sumc
,
true
,
nil
)
end
if
sumc
then
Duel
.
Summon
(
tp
,
sumc
,
true
,
nil
)
end
end
end
end
end
end
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