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
7c14f2e0
Commit
7c14f2e0
authored
Jan 02, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4efd33e5
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
22 deletions
+22
-22
expansions/script/c43990098.lua
expansions/script/c43990098.lua
+2
-2
expansions/script/c65123336.lua
expansions/script/c65123336.lua
+11
-11
expansions/script/c70052422.lua
expansions/script/c70052422.lua
+1
-1
others/Museum/script/c51929013.lua
others/Museum/script/c51929013.lua
+2
-2
others/Museum/script/c51930028.lua
others/Museum/script/c51930028.lua
+5
-5
others/Museum/script/c51930032.lua
others/Museum/script/c51930032.lua
+1
-1
No files found.
expansions/script/c43990098.lua
View file @
7c14f2e0
...
...
@@ -4,7 +4,7 @@ local cm=_G["c"..m]
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
43990098
,
0
))
e1
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
+
CATEGORY_TOHAND
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_CHAINING
)
...
...
@@ -35,7 +35,7 @@ function c43990098.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
c43990098
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
NegateActivation
(
ev
)
and
re
:
GetHandler
():
IsRelateToEffect
(
re
)
then
if
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsRace
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
RACE_MACHINE
)
and
eg
:
GetFirst
():
IsLocation
(
0x70
)
and
eg
:
GetFirst
():
IsFacedownEx
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
c
43990098
,
3
))
then
if
Duel
.
Destroy
(
eg
,
REASON_EFFECT
)
~=
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsRace
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
RACE_MACHINE
)
and
eg
:
GetFirst
():
IsLocation
(
0x70
)
and
eg
:
GetFirst
():
IsFacedownEx
()
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
43990098
,
3
))
then
Duel
.
SendtoHand
(
eg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
eg
)
end
...
...
expansions/script/c65123336.lua
View file @
7c14f2e0
...
...
@@ -130,7 +130,7 @@ function s.startop2(e,tp,eg,ep,ev,re,r,rp)
pc
:
RegisterEffect
(
e1
,
true
)
if
s
.
humancheck
(
0
)
then
s
.
IsHuman
[
1
]
=
true
s
.
dealcard2
(
17
,
0
)
s
.
dealcard2
(
17
,
0
)
else
landlord
=
2
Debug
.
Message
(
"1号位玩家被识别为人机!"
)
...
...
@@ -192,7 +192,7 @@ function s.startop3(e,tp,eg,ep,ev,re,r,rp)
if
s
.
humancheck
(
1
)
then
s
.
IsHuman
[
4
]
=
true
else
Debug
.
Message
(
"4号位玩家被识别为人机!"
)
Debug
.
Message
(
"4号位玩家被识别为人机!"
)
end
local
count
=
0
for
i
=
1
,
4
do
...
...
@@ -278,7 +278,7 @@ function s.dealcard(count,tp)
if
not
tp
then
tp
=
Duel
.
GetTurnPlayer
()
end
for
i
=
1
,
count
do
local
seq
=
(
i
-
1
)
%
5
local
loc
=
i
%
10
<=
5
and
LOCATION_MZONE
or
LOCATION_SZONE
local
loc
=
i
%
10
<=
5
and
LOCATION_MZONE
or
LOCATION_SZONE
local
mc
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_DECK
,
0
):
GetFirst
()
if
not
mc
then
mc
=
Duel
.
CreateToken
(
tp
,
id
)
end
Duel
.
MoveToField
(
mc
,
tp
,
tp
,
loc
,
POS_FACEUP_ATTACK
,
false
,
2
^
seq
)
...
...
@@ -386,7 +386,7 @@ function s.checkStraight(c,g)
local
max
=
math.min
(
14
,
cpoint
+
4
)
for
i
=
min
,
max
do
if
codetable
[
i
]
==
true
then
count
=
count
+
1
count
=
count
+
1
else
if
count
>=
5
then
return
true
,
i
-
count
,
i
-
1
...
...
@@ -460,7 +460,7 @@ function s.fpair2(g,hg)
return
g
:
GetClassCount
(
s
.
getpoint
)
==
1
and
eg
:
CheckSubGroup
(
s
.
fpair
,
2
,
2
)
end
function
s
.
fflight
(
g
,
hg
)
local
eg
=
hg
:
Filter
(
aux
.
TRUE
,
g
)
local
eg
=
hg
:
Filter
(
aux
.
TRUE
,
g
)
return
g
:
GetClassCount
(
s
.
getpoint
)
==
1
and
eg
:
CheckSubGroup
(
s
.
fpair
,
3
,
3
)
end
function
s
.
handcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
@@ -755,7 +755,7 @@ function s.movecard(cardtype,mg)
e1
:
SetValue
(
1
-
p
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
)
tc
:
RegisterEffect
(
e1
,
true
)
end
end
end
if
count
>=
3
then
Debug
.
Message
(
"完成成就:卢食传说"
)
...
...
@@ -815,7 +815,7 @@ function s.movecard(cardtype,mg)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
-
RESET_TURN_SET
)
tc
:
RegisterEffect
(
e1
,
true
)
tc
=
mgtable2
[
i
]:
GetNext
()
end
end
end
end
if
count
>=
3
then
...
...
@@ -863,7 +863,7 @@ function s.chainop(e,tp,eg,ep,ev,re,r,rp)
local
ischain
=
false
local
mg
=
Group
.
CreateGroup
()
if
cardtype
~=
KingBomb
and
cardtype
~=
Bomb
and
g
:
CheckSubGroup
(
s
.
fbomb
,
2
,
4
)
and
Duel
.
SelectYesNo
(
p
,
aux
.
Stringid
(
id
,
5
))
then
mg
=
g
:
SelectSubGroup
(
p
,
s
.
fbomb
,
true
,
4
,
4
)
mg
=
g
:
SelectSubGroup
(
p
,
s
.
fbomb
,
true
,
2
,
4
)
if
mg
and
mg
:
GetCount
()
==
4
then
cardtype
=
Bomb
point
=
s
.
getpoint
(
mg
:
GetFirst
())
...
...
@@ -916,7 +916,7 @@ function s.chainop(e,tp,eg,ep,ev,re,r,rp)
if
mg
and
mg
:
GetCount
()
==
3
then
point
=
s
.
getpoint
(
mg
:
GetFirst
())
local
mg2
=
g
:
Filter
(
aux
.
TRUE
,
mg
):
SelectSubGroup
(
p
,
s
.
fpair
,
true
,
2
,
2
)
mg
:
Merge
(
mg2
)
mg
:
Merge
(
mg2
)
ischain
=
true
end
elseif
cardtype
==
Flight0
then
...
...
@@ -981,7 +981,7 @@ function s.chainop(e,tp,eg,ep,ev,re,r,rp)
local
cpoint
=
cg
:
GetFirst
():
GetCode
()
%
20
if
cpoint
==
1
then
codetable
[
14
]
=
true
end
codetable
[
cpoint
]
=
true
local
bool
=
true
local
bool
=
true
for
i
=
cpoint
,
cpoint
+
count
-
1
do
eg
:
Merge
()
if
codetable
[
i
]
~=
true
then
bool
=
false
end
...
...
@@ -1032,7 +1032,7 @@ function s.chainop(e,tp,eg,ep,ev,re,r,rp)
local
cpoint
=
cg
:
GetFirst
():
GetCode
()
%
20
if
cpoint
==
1
then
codetable
[
14
]
=
true
end
codetable
[
cpoint
]
=
true
local
bool
=
true
local
bool
=
true
for
i
=
cpoint
,
cpoint
+
count
-
1
do
eg
:
Merge
()
if
codetable
[
i
]
~=
true
then
bool
=
false
end
...
...
expansions/script/c70052422.lua
View file @
7c14f2e0
...
...
@@ -39,7 +39,7 @@ function cm.atkfilter(c)
end
function
cm
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
cm
.
atkfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
cm
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
e
:
GetHandler
()
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_FACEUP
)
Duel
.
SelectTarget
(
tp
,
cm
.
atkfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
)
end
...
...
others/Museum/script/c51929013.lua
View file @
7c14f2e0
...
...
@@ -52,8 +52,8 @@ end
function
c51929013
.
rectg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
10
00
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
tp
,
10
00
)
Duel
.
SetTargetParam
(
7
00
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
tp
,
7
00
)
end
function
c51929013
.
recop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
...
...
others/Museum/script/c51930028.lua
View file @
7c14f2e0
--魔餐的准备
function
c51930028
.
initial_effect
(
c
)
--Activate
local
e1
0
=
Effect
.
CreateEffect
(
c
)
e1
0
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
0
:
SetCode
(
EVENT_FREE_CHAIN
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
51930028
)
e1
:
SetCost
(
c51930028
.
thcost
)
e1
:
SetTarget
(
c51930028
.
thtg
)
e1
:
SetOperation
(
c51930028
.
thop
)
c
:
RegisterEffect
(
e1
0
)
c
:
RegisterEffect
(
e1
)
--special summon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_TOKEN
)
...
...
others/Museum/script/c51930032.lua
View file @
7c14f2e0
...
...
@@ -19,7 +19,7 @@ function c51930032.initial_effect(c)
c
:
RegisterEffect
(
e2
)
--to grave
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
Se
des
escription
(
1191
)
e3
:
Se
tD
escription
(
1191
)
e3
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_BATTLE_END
)
e3
:
SetCategory
(
CATEGORY_TOGRAVE
)
e3
:
SetType
(
EFFECT_TYPE_QUICK_O
)
...
...
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