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
八宫一月
pre-release-database-cdb
Commits
c2b44070
Commit
c2b44070
authored
Dec 13, 2023
by
fallenstardust
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix LEDE-JP059/60 scripts
parent
4c0227e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
script/c101204059.lua
script/c101204059.lua
+1
-1
script/c101204060.lua
script/c101204060.lua
+2
-2
No files found.
script/c101204059.lua
View file @
c2b44070
...
...
@@ -62,7 +62,7 @@ function c101204059.thop(e,tp,eg,ep,ev,re,r,rp)
end
function
c101204059
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
return
Duel
.
GetTurnPlayer
()
==
tp
and
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
end
function
c101204059
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsRace
(
RACE_DRAGON
)
...
...
script/c101204060.lua
View file @
c2b44070
...
...
@@ -26,14 +26,14 @@ function c101204060.activate(e,tp,eg,ep,ev,re,r,rp)
local
op
=
0
if
Duel
.
IsExistingMatchingCard
(
c101204060
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
then
if
not
Duel
.
IsExistingMatchingCard
(
c101204060
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
or
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>=
1
and
Duel
.
IsExistingMatchingCard
(
c101204060
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
101204060
,
1
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c101204060
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
end
op
=
1
end
op
=
1
end
Duel
.
AdjustAll
()
if
op
==
0
or
Duel
.
IsExistingMatchingCard
(
c101204060
.
spfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>=
1
and
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
101204060
,
2
))
then
...
...
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