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
da057c58
Commit
da057c58
authored
Mar 05, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
5cd460d5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
expansions/script/c11500042.lua
expansions/script/c11500042.lua
+5
-4
expansions/script/c29070743.lua
expansions/script/c29070743.lua
+3
-1
No files found.
expansions/script/c11500042.lua
View file @
da057c58
...
@@ -243,6 +243,7 @@ function s.initial_effect(c)
...
@@ -243,6 +243,7 @@ function s.initial_effect(c)
table.remove
(
zonet
,
zoneToRemove
[
i
])
table.remove
(
zonet
,
zoneToRemove
[
i
])
end
end
zone
=
zonet
[
s
.
roll
(
1
,
#
zonet
)]
zone
=
zonet
[
s
.
roll
(
1
,
#
zonet
)]
Duel
.
Hint
(
HINT_ZONE
,
tp
,
zone
)
end
end
if
zone
==
nil
then
zone
=
0xff
end
if
zone
==
nil
then
zone
=
0xff
end
return
_SpecialSummonStep
(
c
,
sumt
,
sump
,
tp
,
noc
,
nol
,
pos
,
zone
)
return
_SpecialSummonStep
(
c
,
sumt
,
sump
,
tp
,
noc
,
nol
,
pos
,
zone
)
...
@@ -288,6 +289,7 @@ function s.initial_effect(c)
...
@@ -288,6 +289,7 @@ function s.initial_effect(c)
table.remove
(
zonet
,
zoneToRemove
[
i
])
table.remove
(
zonet
,
zoneToRemove
[
i
])
end
end
zone
=
zonet
[
s
.
roll
(
1
,
#
zonet
)]
zone
=
zonet
[
s
.
roll
(
1
,
#
zonet
)]
Duel
.
Hint
(
HINT_ZONE
,
tp
,
zone
)
end
end
if
min
==
nil
then
min
=
0
end
if
min
==
nil
then
min
=
0
end
if
zone
==
nil
then
zone
=
0x1f
end
if
zone
==
nil
then
zone
=
0x1f
end
...
@@ -309,6 +311,7 @@ function s.initial_effect(c)
...
@@ -309,6 +311,7 @@ function s.initial_effect(c)
table.remove
(
zonet
,
zoneToRemove
[
i
])
table.remove
(
zonet
,
zoneToRemove
[
i
])
end
end
zone
=
zonet
[
s
.
roll
(
1
,
#
zonet
)]
zone
=
zonet
[
s
.
roll
(
1
,
#
zonet
)]
Duel
.
Hint
(
HINT_ZONE
,
tp
,
zone
)
end
end
if
min
==
nil
then
min
=
0
end
if
min
==
nil
then
min
=
0
end
if
zone
==
nil
then
zone
=
0x1f
end
if
zone
==
nil
then
zone
=
0x1f
end
...
@@ -541,9 +544,7 @@ function s.roll(min,max)
...
@@ -541,9 +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
g
:
DeleteGroup
()
s
.
r
=
result
&
0xffffffff
s
.
r
=
result
&
0xffffffff
end
end
min
=
tonumber
(
min
)
min
=
tonumber
(
min
)
max
=
tonumber
(
max
)
max
=
tonumber
(
max
)
...
@@ -590,7 +591,7 @@ function s.fuop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -590,7 +591,7 @@ function s.fuop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
g1
:
GetFirst
()
local
tc
=
g1
:
GetFirst
()
while
tc
and
fg
:
GetCount
()
<
6
do
while
tc
and
fg
:
GetCount
()
<
6
do
g1
:
RemoveCard
(
tc
)
g1
:
RemoveCard
(
tc
)
if
fg
:
Filter
(
Card
.
IsCode
,
nil
,
tc
:
GetCode
()):
GetCount
()
==
0
then
fg
:
AddCard
(
Duel
.
CreateToken
(
p
,
tc
:
GetCode
())
)
end
if
fg
:
Filter
(
Card
.
IsCode
,
nil
,
tc
:
GetCode
()):
GetCount
()
==
0
then
fg
:
AddCard
(
tc
)
end
tc
=
g1
:
RandomSelect
(
p
,
1
):
GetFirst
()
tc
=
g1
:
RandomSelect
(
p
,
1
):
GetFirst
()
end
end
if
fg
:
GetCount
()
==
6
then
if
fg
:
GetCount
()
==
6
then
...
...
expansions/script/c29070743.lua
View file @
da057c58
...
@@ -2,8 +2,10 @@
...
@@ -2,8 +2,10 @@
local
cm
,
m
=
GetID
()
local
cm
,
m
=
GetID
()
cm
.
named_with_Arknight
=
1
cm
.
named_with_Arknight
=
1
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
29065500
)
--special summon
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
e1
:
SetRange
(
LOCATION_HAND
+
LOCATION_GRAVE
)
...
@@ -84,7 +86,7 @@ function cm.GetCardsInZone(tp,fd)
...
@@ -84,7 +86,7 @@ function cm.GetCardsInZone(tp,fd)
loc
=
LOCATION_SZONE
loc
=
LOCATION_SZONE
seq
=
seq
-
8
seq
=
seq
-
8
end
end
return
Duel
.
GetFieldCard
(
p
,
loc
,
math.floor
(
seq
+
0
.
5
)
)
return
Duel
.
GetFieldCard
(
p
,
loc
,
seq
)
end
end
function
cm
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
fd
,
tid
=
e
:
GetLabel
()
local
fd
,
tid
=
e
:
GetLabel
()
...
...
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