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
bb19427f
Commit
bb19427f
authored
May 10, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
caa03e8e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
12 deletions
+15
-12
expansions/script/c11500042.lua
expansions/script/c11500042.lua
+4
-4
expansions/script/c79029803.lua
expansions/script/c79029803.lua
+1
-1
expansions/script/c9911435.lua
expansions/script/c9911435.lua
+4
-2
expansions/script/c9911619.lua
expansions/script/c9911619.lua
+4
-3
expansions/script/c9911620.lua
expansions/script/c9911620.lua
+2
-2
No files found.
expansions/script/c11500042.lua
View file @
bb19427f
...
@@ -356,10 +356,10 @@ function s.initial_effect(c)
...
@@ -356,10 +356,10 @@ function s.initial_effect(c)
end
end
return
rz
return
rz
else
else
return
_SelectDisableField
(
tp
,
count
,
s
,
o
,
filter
)
return
_SelectDisableField
(
tp
,
count
,
s
l
,
ol
,
filter
)
end
end
end
end
function
Duel
.
SelectField
(
tp
,
count
,
sl
,
ol
,
filter
)
function
Duel
.
SelectField
(
tp
,
count
,
sl
,
ol
,
filter
,
...
)
if
Duel
.
IsPlayerAffectedByEffect
(
0
,
id
)
then
if
Duel
.
IsPlayerAffectedByEffect
(
0
,
id
)
then
local
zonet
=
0
local
zonet
=
0
if
sl
&
LOCATION_SZONE
>
0
then
if
sl
&
LOCATION_SZONE
>
0
then
...
@@ -400,7 +400,7 @@ function s.initial_effect(c)
...
@@ -400,7 +400,7 @@ function s.initial_effect(c)
Debug
.
Message
(
rz
)
Debug
.
Message
(
rz
)
return
rz
return
rz
else
else
return
_SelectField
(
tp
,
count
,
s
,
o
,
filter
)
return
_SelectField
(
tp
,
count
,
s
l
,
ol
,
filter
,
...
)
end
end
end
end
local
_AnnounceAttribute
=
Duel
.
AnnounceAttribute
local
_AnnounceAttribute
=
Duel
.
AnnounceAttribute
...
@@ -544,7 +544,7 @@ function s.roll(min,max)
...
@@ -544,7 +544,7 @@ function s.roll(min,max)
for
i
=
0
,
10
do
for
i
=
0
,
10
do
result
=
result
+
(
ct
[
g
:
RandomSelect
(
2
,
1
):
GetFirst
()]
<<
(
3
*
i
))
result
=
result
+
(
ct
[
g
:
RandomSelect
(
2
,
1
):
GetFirst
()]
<<
(
3
*
i
))
end
end
s
.
r
=
result
&
0xffffffff
s
.
r
=
result
&
0xffffffff
end
end
min
=
tonumber
(
min
)
min
=
tonumber
(
min
)
max
=
tonumber
(
max
)
max
=
tonumber
(
max
)
...
...
expansions/script/c79029803.lua
View file @
bb19427f
...
@@ -12,7 +12,7 @@ function c79029803.initial_effect(c)
...
@@ -12,7 +12,7 @@ function c79029803.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetCode
(
EVENT_TO_GRAVE
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e2
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCountLimit
(
1
,
79029803
)
e2
:
SetCountLimit
(
1
,
79029803
)
e2
:
SetCondition
(
c79029803
.
tgcon
)
e2
:
SetCondition
(
c79029803
.
tgcon
)
e2
:
SetTarget
(
c79029803
.
detg
)
e2
:
SetTarget
(
c79029803
.
detg
)
...
...
expansions/script/c9911435.lua
View file @
bb19427f
...
@@ -45,8 +45,10 @@ end
...
@@ -45,8 +45,10 @@ end
function
c9911435
.
spcost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911435
.
spcost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
nil
,
9910871
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsCode
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
nil
,
9910871
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_CONFIRM
)
local
tc
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
,
9910871
):
GetFirst
()
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsCode
,
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
,
9910871
)
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
local
tc
=
g
:
GetFirst
()
if
tc
:
IsFaceup
()
then
Duel
.
HintSelection
(
g
)
else
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
end
end
end
function
c9911435
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c9911435
.
sptg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
expansions/script/c9911619.lua
View file @
bb19427f
...
@@ -50,9 +50,10 @@ function c9911619.conop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -50,9 +50,10 @@ function c9911619.conop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
loc
)
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_HAND
+
LOCATION_ONFIELD
,
loc
)
if
#
g
==
0
then
return
end
if
#
g
==
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
9911619
,
0
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
9911619
,
0
))
local
tc
=
g
:
Select
(
tp
,
1
,
1
,
nil
):
GetFirst
()
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
ConfirmCards
(
tp
,
tc
)
local
tc
=
sg
:
GetFirst
()
Duel
.
ConfirmCards
(
1
-
tp
,
tc
)
if
tc
:
IsFaceup
()
then
Duel
.
HintSelection
(
sg
)
else
Duel
.
ConfirmCards
(
1
-
tc
:
GetControler
(),
tc
)
end
local
code
=
tc
:
GetOriginalCode
()
local
code
=
tc
:
GetOriginalCode
()
if
code
==
9911601
or
code
==
9911614
then
if
code
==
9911601
or
code
==
9911614
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9911619
,
1
))
then
if
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
9911619
,
1
))
then
...
...
expansions/script/c9911620.lua
View file @
bb19427f
...
@@ -54,8 +54,8 @@ function c9911620.dsop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -54,8 +54,8 @@ function c9911620.dsop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
9911620
,
0
))
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
aux
.
Stringid
(
9911620
,
0
))
local
g1
=
g
:
SelectSubGroup
(
tp
,
c9911620
.
fselect
,
false
,
2
,
2
,
eg
)
local
g1
=
g
:
SelectSubGroup
(
tp
,
c9911620
.
fselect
,
false
,
2
,
2
,
eg
)
if
not
g1
or
#
g1
~=
2
then
return
end
if
not
g1
or
#
g1
~=
2
then
return
end
Duel
.
ConfirmCards
(
tp
,
g1
)
if
g1
:
IsExists
(
Card
.
IsFaceup
,
1
,
nil
)
then
Duel
.
HintSelection
(
g1
)
end
Duel
.
ConfirmCards
(
1
-
tp
,
g1
)
if
g1
:
IsExists
(
Card
.
IsFacedown
,
1
,
nil
)
then
Duel
.
ConfirmCards
(
1
-
tp
,
g1
)
end
local
lv1
=
g1
:
GetFirst
():
GetLevel
()
local
lv1
=
g1
:
GetFirst
():
GetLevel
()
local
lv2
=
g1
:
GetNext
():
GetLevel
()
local
lv2
=
g1
:
GetNext
():
GetLevel
()
if
lv1
>
lv2
then
lv1
,
lv2
=
lv2
,
lv1
end
if
lv1
>
lv2
then
lv1
,
lv2
=
lv2
,
lv1
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