Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
Mr.Tan
pre-release-database-cdb
Commits
ae0deab4
You need to sign in or sign up before continuing.
Commit
ae0deab4
authored
Dec 18, 2023
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix LEDE-JP038\043 scripts
parent
8221d572
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
9 deletions
+10
-9
script/c101204038.lua
script/c101204038.lua
+9
-8
script/c101204043.lua
script/c101204043.lua
+1
-1
No files found.
script/c101204038.lua
View file @
ae0deab4
...
...
@@ -120,16 +120,17 @@ function s.spfilter(c,e,tp)
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g1
=
Duel
.
Get
FieldGroup
(
s
.
thfilter1
,
LOCATION_REMOVED
,
0
)
local
g2
=
Duel
.
Get
FieldGroup
(
s
.
thfilter2
,
LOCATION_REMOVED
,
0
)
local
g1
=
Duel
.
Get
MatchingGroup
(
s
.
thfilter1
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
local
g2
=
Duel
.
Get
MatchingGroup
(
s
.
thfilter2
,
tp
,
LOCATION_REMOVED
,
0
,
nil
)
if
#
g1
>
0
and
#
g2
>
0
then
Duel
.
SendtoHand
(
Group
.
__add
(
g1
,
g2
):
SelectSubGroup
(
tp
,
s
.
fselect2
,
false
,
2
,
2
),
nil
,
REASON_EFFECT
)
end
local
tg
=
Duel
.
GetOperatedGroup
()
if
tg
:
FilterCount
(
s
.
spfilter
,
nil
,
e
,
tp
)
==
2
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>=
2
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
BreakEffect
()
for
tc
in
aux
.
Next
(
tg
)
do
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
Duel
.
SpecialSummonComplete
()
end
end
end
\ No newline at end of file
script/c101204043.lua
View file @
ae0deab4
...
...
@@ -27,7 +27,7 @@ function s.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--remove and tograve
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_
TOGRAVE
)
e3
:
SetCategory
(
CATEGORY_
DECKDES
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
,
id
+
o
)
...
...
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