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
MyCard
pre-release-database-cdb
Commits
322e7d3b
Commit
322e7d3b
authored
Dec 17, 2024
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tte==nil
parent
16e72509
Pipeline
#31847
passed with stages
in 1 minute and 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
64 additions
and
16 deletions
+64
-16
script/c101208009.lua
script/c101208009.lua
+32
-8
script/c81096431.lua
script/c81096431.lua
+32
-8
No files found.
script/c101208009.lua
View file @
322e7d3b
...
...
@@ -138,7 +138,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
if
et
==
0
or
2
-
et
==
ext
then
for
ttc
in
aux
.
Next
(
og
)
do
local
tte
=
ttc
:
IsHasEffect
(
81096431
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
else
local
st
=
2
-
et
...
...
@@ -146,7 +149,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
reg
=
exg
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
st
,
st
,
tp
)
for
ttc
in
aux
.
Next
(
reg
)
do
local
tte
=
ttc
:
IsHasEffect
(
81096431
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
end
end
...
...
@@ -169,7 +175,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
if
et
==
0
or
2
-
et
==
ext
then
for
ttc
in
aux
.
Next
(
exg
)
do
local
tte
=
ttc
:
IsHasEffect
(
81096431
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
else
local
st
=
2
-
et
...
...
@@ -177,7 +186,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
reg
=
exg
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
st
,
st
,
tp
)
for
ttc
in
aux
.
Next
(
reg
)
do
local
tte
=
ttc
:
IsHasEffect
(
81096431
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
end
end
...
...
@@ -216,7 +228,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
if
et
==
0
or
2
-
et
==
ext
then
for
ttc
in
aux
.
Next
(
exg
)
do
local
tte
=
ttc
:
IsHasEffect
(
81096431
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
else
local
st
=
2
-
et
...
...
@@ -224,7 +239,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
reg
=
exg
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
st
,
st
,
tp
)
for
ttc
in
aux
.
Next
(
reg
)
do
local
tte
=
ttc
:
IsHasEffect
(
81096431
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
end
end
...
...
@@ -247,7 +265,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
if
(
et
==
0
or
2
-
et
==
ext
)
and
exg
then
for
ttc
in
aux
.
Next
(
exg
)
do
local
tte
=
ttc
:
IsHasEffect
(
81096431
,
tp
)
if
tte
then
tte
:
UseCountLimit
(
tp
)
end
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
else
local
st
=
2
-
et
...
...
@@ -255,7 +276,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
reg
=
exg
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
st
,
st
,
tp
)
for
ttc
in
aux
.
Next
(
reg
)
do
local
tte
=
ttc
:
IsHasEffect
(
81096431
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
end
end
...
...
script/c81096431.lua
View file @
322e7d3b
...
...
@@ -98,7 +98,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
if
et
==
0
or
2
-
et
==
ext
then
for
ttc
in
aux
.
Next
(
exg
)
do
local
tte
=
ttc
:
IsHasEffect
(
id
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
else
local
st
=
2
-
et
...
...
@@ -106,7 +109,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
reg
=
exg
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
st
,
st
,
tp
)
for
ttc
in
aux
.
Next
(
reg
)
do
local
tte
=
ttc
:
IsHasEffect
(
id
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
end
end
...
...
@@ -129,7 +135,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
if
et
==
0
or
2
-
et
==
ext
then
for
ttc
in
aux
.
Next
(
exg
)
do
local
tte
=
ttc
:
IsHasEffect
(
id
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
else
local
st
=
2
-
et
...
...
@@ -137,7 +146,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
reg
=
exg
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
st
,
st
,
tp
)
for
ttc
in
aux
.
Next
(
reg
)
do
local
tte
=
ttc
:
IsHasEffect
(
id
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
end
end
...
...
@@ -176,7 +188,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
if
et
==
0
or
2
-
et
==
ext
then
for
ttc
in
aux
.
Next
(
exg
)
do
local
tte
=
ttc
:
IsHasEffect
(
id
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
else
local
st
=
2
-
et
...
...
@@ -184,7 +199,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
reg
=
exg
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
st
,
st
,
tp
)
for
ttc
in
aux
.
Next
(
reg
)
do
local
tte
=
ttc
:
IsHasEffect
(
id
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
end
end
...
...
@@ -207,7 +225,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
if
et
==
0
or
2
-
et
==
ext
then
for
ttc
in
aux
.
Next
(
exg
)
do
local
tte
=
ttc
:
IsHasEffect
(
id
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
end
end
else
local
st
=
2
-
et
...
...
@@ -215,7 +236,10 @@ function s.adjustop(e,tp,eg,ep,ev,re,r,rp)
local
reg
=
exg
:
SelectSubGroup
(
tp
,
s
.
gcheck
,
false
,
st
,
st
,
tp
)
for
ttc
in
aux
.
Next
(
reg
)
do
local
tte
=
ttc
:
IsHasEffect
(
id
,
tp
)
tte
:
UseCountLimit
(
tp
)
if
tte
then
Duel
.
Hint
(
HINT_CARD
,
0
,
ttc
:
GetCode
())
tte
:
UseCountLimit
(
tp
)
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