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
4
Merge Requests
4
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
5bd4a54d
Commit
5bd4a54d
authored
Aug 15, 2023
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2f8e8552
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
12 additions
and
12 deletions
+12
-12
c33878367.lua
c33878367.lua
+2
-2
c40080312.lua
c40080312.lua
+2
-2
c60362066.lua
c60362066.lua
+1
-1
c67331360.lua
c67331360.lua
+1
-1
c71782404.lua
c71782404.lua
+1
-1
c78642798.lua
c78642798.lua
+1
-1
c90050480.lua
c90050480.lua
+2
-2
c95664204.lua
c95664204.lua
+2
-2
No files found.
c33878367.lua
View file @
5bd4a54d
...
...
@@ -28,8 +28,8 @@ end
function
c33878367
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c33878367
.
spfilter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
1
,
nil
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
1
,
nil
,
tp
,
LOCATION_MZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_MZONE
)
end
function
c33878367
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
...
...
c40080312.lua
View file @
5bd4a54d
...
...
@@ -30,7 +30,7 @@ function c40080312.splimit(e,se,sp,st)
end
function
c40080312
.
set_category
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_REMOVE
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
e
:
GetHandler
(),
tp
,
POS_FACEDOWN
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
e
:
GetHandler
(),
tp
,
POS_FACEDOWN
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
g
,
#
g
,
0
,
0
)
end
function
c40080312
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -38,7 +38,7 @@ function c40080312.retop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
if
c
:
IsLocation
(
LOCATION_EXTRA
)
then
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
,
tp
,
POS_FACEDOWN
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToRemove
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
,
tp
,
POS_FACEDOWN
)
Duel
.
Remove
(
g
,
POS_FACEDOWN
,
REASON_EFFECT
)
end
end
...
...
c60362066.lua
View file @
5bd4a54d
...
...
@@ -38,7 +38,7 @@ function c60362066.tdtg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c60362066
.
filter
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
ct
,
e
:
GetHandler
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
1
,
nil
,
tp
,
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_HAND
)
end
function
c60362066
.
tdop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
...
...
c67331360.lua
View file @
5bd4a54d
...
...
@@ -77,7 +77,7 @@ function c67331360.spop(e,tp,eg,ep,ev,re,r,rp)
else
local
g
=
Duel
.
GetMatchingGroup
(
c67331360
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
e
,
tp
,
code1
,
code2
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
gfcheck
,
2
,
2
,
false
,
Card
.
IsCode
,
code1
,
code2
)
sg
=
g
:
SelectSubGroup
(
tp
,
aux
.
gfcheck
,
false
,
2
,
2
,
Card
.
IsCode
,
code1
,
code2
)
end
if
not
sg
then
return
end
local
sc
=
sg
:
GetFirst
()
...
...
c71782404.lua
View file @
5bd4a54d
...
...
@@ -21,7 +21,7 @@ function c71782404.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TARGET
)
local
g
=
eg
:
FilterSelect
(
tp
,
c71782404
.
cfilter
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetTargetCard
(
g
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
0
,
nil
,
PLAYER_ALL
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
g
:
GetFirst
():
GetBaseAttack
()
)
end
function
c71782404
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
...
...
c78642798.lua
View file @
5bd4a54d
...
...
@@ -74,7 +74,7 @@ function c78642798.eqop(e,tp,eg,ep,ev,re,r,rp)
if
sg
:
GetCount
()
>
0
then
local
tc2
=
sg
:
GetFirst
()
if
tc1
:
IsFaceup
()
and
tc1
:
IsRelateToEffect
(
e
)
and
tc2
then
Duel
.
Equip
(
tp
,
tc1
,
tc2
,
atk
)
Duel
.
Equip
(
tp
,
tc1
,
tc2
,
false
)
--Gains ATK
local
e1
=
Effect
.
CreateEffect
(
tc1
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
...
...
c90050480.lua
View file @
5bd4a54d
...
...
@@ -33,7 +33,7 @@ function c90050480.splimit(e,se,sp,st)
end
function
c90050480
.
set_category
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_DESTROY
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
e
:
GetHandler
())
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
e
:
GetHandler
())
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
#
g
,
0
,
0
)
end
function
c90050480
.
retop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -41,7 +41,7 @@ function c90050480.retop(e,tp,eg,ep,ev,re,r,rp)
if
not
c
:
IsRelateToEffect
(
e
)
or
c
:
IsFacedown
()
then
return
end
Duel
.
SendtoDeck
(
c
,
nil
,
SEQ_DECKSHUFFLE
,
REASON_EFFECT
)
if
c
:
IsLocation
(
LOCATION_EXTRA
)
then
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
end
end
...
...
c95664204.lua
View file @
5bd4a54d
...
...
@@ -49,8 +49,8 @@ function c95664204.activate(e,tp,eg,ep,ev,re,r,rp)
Duel
.
BreakEffect
()
local
g
=
Duel
.
GetMatchingGroup
(
c95664204
.
lvfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
local
lv
=
0
if
g
:
FilterCount
(
Card
.
IsLevel
,
1
,
nil
,
5
)
==#
g
then
lv
=
4
end
if
g
:
FilterCount
(
Card
.
IsLevel
,
1
,
nil
,
4
)
==#
g
then
lv
=
5
end
if
g
:
FilterCount
(
Card
.
IsLevel
,
nil
,
5
)
==#
g
then
lv
=
4
end
if
g
:
FilterCount
(
Card
.
IsLevel
,
nil
,
4
)
==#
g
then
lv
=
5
end
if
lv
==
0
then
lv
=
Duel
.
AnnounceNumber
(
tp
,
4
,
5
)
end
local
lc
=
g
:
GetFirst
()
while
lc
do
...
...
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