Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-222DIY-cards
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
alstroemeria-silentlove
ygopro-222DIY-cards
Commits
69974bf5
Commit
69974bf5
authored
Apr 13, 2024
by
Tachibana
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pic
parent
c3dcd524
Pipeline
#26433
passed with stages
in 24 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
expansions/script/c21520187.lua
expansions/script/c21520187.lua
+5
-5
No files found.
expansions/script/c21520187.lua
View file @
69974bf5
...
...
@@ -75,7 +75,7 @@ function s.thfilter(c,loc)
if
loc
~=
nil
then
return
c
:
IsSetCard
(
0x490
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToRemove
()
else
return
(
c
:
IsSetCard
(
0x490
)
or
aux
.
IsSetNameMonsterListed
(
c
,
0xc008
)
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
(
c
:
IsSetCard
(
0x490
))
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
end
end
function
s
.
rfilter
(
sg
,
tc
)
...
...
@@ -104,11 +104,11 @@ function s.thop2(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
thg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
thg
)
local
dg
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
LOCATION_DECK
)
--
if dg:CheckSubGroup(s.rfilter,1,thg:GetFirst():GetLevel(),thg:GetFirst()) and Duel.SelectYesNo(tp,aux.Stringid(id,3)) then
--
if dg:CheckSubGroup(s.rfilter,1,thg:GetFirst():GetLevel(),thg:GetFirst()) and Duel.SelectYesNo(tp,aux.Stringid(id,3)) then
if
dg
:
GetCount
()
>=
2
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
--
local rg=dg:SelectSubGroup(tp,s.rfilter,false,1,thg:GetFirst():GetLevel(),thg:GetFirst())
--
local rg=dg:SelectSubGroup(tp,s.rfilter,false,1,thg:GetFirst():GetLevel(),thg:GetFirst())
local
rg
=
dg
:
Select
(
tp
,
1
,
2
,
nil
)
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
end
...
...
@@ -127,11 +127,11 @@ function s.searchop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SendtoHand
(
thg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
thg
)
local
dg
=
Duel
.
GetMatchingGroup
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
,
LOCATION_DECK
)
--
if dg:CheckSubGroup(s.rfilter,1,thg:GetFirst():GetLevel(),thg:GetFirst()) and Duel.SelectYesNo(tp,aux.Stringid(id,3)) then
--
if dg:CheckSubGroup(s.rfilter,1,thg:GetFirst():GetLevel(),thg:GetFirst()) and Duel.SelectYesNo(tp,aux.Stringid(id,3)) then
if
dg
:
GetCount
()
>=
2
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
--
local rg=dg:SelectSubGroup(tp,s.rfilter,false,1,thg:GetFirst():GetLevel(),thg:GetFirst())
--
local rg=dg:SelectSubGroup(tp,s.rfilter,false,1,thg:GetFirst():GetLevel(),thg:GetFirst())
local
rg
=
dg
:
Select
(
tp
,
1
,
2
,
nil
)
Duel
.
Remove
(
rg
,
POS_FACEUP
,
REASON_EFFECT
)
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