Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
no81cards
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
Nemo Ma
no81cards
Commits
d484c11b
Commit
d484c11b
authored
Oct 01, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
b8fd6ed5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
expansions/script/c43990092.lua
expansions/script/c43990092.lua
+2
-2
expansions/script/c53752002.lua
expansions/script/c53752002.lua
+5
-5
No files found.
expansions/script/c43990092.lua
View file @
d484c11b
...
...
@@ -57,12 +57,12 @@ end
function
c43990092
.
drcon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsReason
(
REASON_COST
)
and
re
:
IsActivated
()
and
re
:
IsActiveType
(
TYPE_MONSTER
)
and
re
:
GetHandler
():
IsRace
(
RACE_ILLUSION
)
end
function
c43990092
.
d
es
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c43990092
.
d
r
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
if
chk
==
0
then
return
g
:
GetCount
()
>
0
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
g
,
1
,
0
,
0
)
end
function
c43990092
.
d
es
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c43990092
.
d
r
op
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_DESTROY
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
TRUE
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
expansions/script/c53752002.lua
View file @
d484c11b
...
...
@@ -216,11 +216,11 @@ function s.lvplus(group,sc)
calculateRecursive
(
cards
,
1
,
0
)
return
results
end
function
s
.
IsTuner
(
c
,
sc
)
function
s
.
TunerCheck
(
c
,
sc
)
local
p
,
sp
=
c
:
GetControler
(),
sc
:
GetControler
()
return
c
:
IsTuner
(
sc
)
and
(
c
:
IsFaceup
()
or
p
==
sp
or
not
c
:
IsOnField
())
end
function
s
.
IsNotTuner
(
c
,
sc
)
function
s
.
NotTunerCheck
(
c
,
sc
)
local
p
,
sp
=
c
:
GetControler
(),
sc
:
GetControler
()
return
c
:
IsNotTuner
(
sc
)
or
(
c
:
IsFacedown
()
and
p
~=
sp
and
c
:
IsOnField
())
end
...
...
@@ -232,12 +232,12 @@ function s.slfilter(c,tc,sc)
if
lv1_2
and
lv2_2
then
res1
=
(((
lv1_1
==
lv2_1
)
and
(
lv1_2
==
lv2_2
))
or
((
lv1_1
==
lv2_2
)
and
(
lv1_2
==
lv2_1
)))
end
if
not
res1
then
return
false
end
local
function
botht
(
card
,
syncard
)
return
s
.
IsTuner
(
card
,
syncard
)
and
s
.
IsNotTuner
(
card
,
syncard
)
return
s
.
TunerCheck
(
card
,
syncard
)
and
s
.
NotTunerCheck
(
card
,
syncard
)
end
if
botht
(
c
,
sc
)
and
botht
(
tc
,
sc
)
then
return
true
elseif
botht
(
c
,
sc
)
and
not
botht
(
tc
,
sc
)
then
return
false
elseif
not
botht
(
c
,
sc
)
and
botht
(
tc
,
sc
)
then
return
false
else
if
(
s
.
IsTuner
(
c
,
sc
)
and
s
.
IsTuner
(
tc
,
sc
))
or
(
s
.
IsNotTuner
(
c
,
sc
)
and
s
.
IsNotTuner
(
tc
,
sc
))
then
return
true
end
if
(
s
.
TunerCheck
(
c
,
sc
)
and
s
.
TunerCheck
(
tc
,
sc
))
or
(
s
.
NotTunerCheck
(
c
,
sc
)
and
s
.
NotTunerCheck
(
tc
,
sc
))
then
return
true
end
end
return
false
end
...
...
@@ -283,7 +283,7 @@ function s.SynMixCondition(e,c,smat,mg1,min,max)
return
res
and
mg
:
IsExists
(
s
.
ntfilter
,
1
,
nil
,
c
,
mg
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
function
s
.
ntfilter
(
c
,
sc
,
mg
)
return
s
.
IsTuner
(
c
,
sc
)
and
mg
:
IsExists
(
s
.
IsNotTuner
,
1
,
c
,
sc
)
return
s
.
TunerCheck
(
c
,
sc
)
and
mg
:
IsExists
(
s
.
NotTunerCheck
,
1
,
c
,
sc
)
end
function
s
.
syngoal
(
g
,
sc
,
smat
,
tp
,
mgchk
)
if
not
g
:
IsExists
(
s
.
ntfilter
,
1
,
nil
,
sc
,
g
)
then
return
false
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