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
fe66af0b
Commit
fe66af0b
authored
Jun 16, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
d1027c5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
11 deletions
+34
-11
expansions/script/c65123333.lua
expansions/script/c65123333.lua
+34
-11
No files found.
expansions/script/c65123333.lua
View file @
fe66af0b
...
...
@@ -22,14 +22,6 @@ function logWarning(msg)
end
)
Debug
.
Message
(
err
)
end
if
not
Group
.
ForEach
then
function
Group
.
ForEach
(
g
,
f
,
...
)
for
tc
in
aux
.
Next
(
g
)
do
f
(
tc
,
...
)
end
logWarning
(
"Group.ForEach已经废弃了,发牌姬已暂时为您处理"
)
end
end
function
s
.
initial_effect
(
c
)
local
control_player
=
0
if
_Duel
.
GetFieldGroupCount
(
1
,
LOCATION_DECK
,
0
)
>
0
then
control_player
=
1
end
...
...
@@ -133,6 +125,29 @@ function s.initial_effect(c)
_Duel
.
DisableActionCheck
(
false
)
end
if
not
s
.
globle_check
then
if
not
Group
.
ForEach
then
function
Group
.
ForEach
(
g
,
f
,
...
)
for
tc
in
aux
.
Next
(
g
)
do
f
(
tc
,
...
)
end
logWarning
(
"Group.ForEach已经废弃了,发牌姬已暂时为您处理"
)
end
end
function
Effect
.
CreateEffect
(
ec
)
if
ec
==
nil
then
logWarning
(
"是不是忘了定义c了?发牌姬已代替创建效果"
)
return
_Effect
.
CreateEffect
(
c
)
end
if
aux
.
GetValueType
(
ec
)
==
"Group"
then
logWarning
(
"参数不能是卡片组!发牌姬已代替创建效果"
)
if
#
ec
>
0
then
return
_Effect
.
CreateEffect
(
ec
:
GetFirst
())
else
return
_Effect
.
CreateEffect
(
c
)
end
end
return
_Effect
.
CreateEffect
(
ec
)
end
function
Duel
.
GetMatchingGroup
(
f
,
tp
,
...
)
if
tp
==
nil
and
s
.
Hint_Mode
then
logWarning
(
"疑似出现tp笑话,请检查tp是否为nil!"
)
end
return
_Duel
.
GetMatchingGroup
(
f
,
tp
,
...
)
...
...
@@ -141,6 +156,14 @@ function s.initial_effect(c)
if
tp
==
nil
and
s
.
Hint_Mode
then
logWarning
(
"疑似出现tp笑话,请检查tp是否为nil!"
)
end
return
_Duel
.
GetLocationCount
(
tp
,
...
)
end
function
Duel
.
RegisterEffect
(
e
,
tp
,
...
)
if
tp
==
nil
and
s
.
Hint_Mode
then
logWarning
(
"疑似出现tp笑话,请检查tp是否为nil!"
)
end
return
_Duel
.
RegisterEffect
(
e
,
tp
,
...
)
end
function
Card
.
IsCanBeSpecialSummoned
(
sc
,
e
,
sumtype
,
tp
,
...
)
if
(
e
==
nil
or
tp
==
nil
)
and
s
.
Hint_Mode
then
logWarning
(
"特招检测似乎忘了传参了"
)
end
return
_Card
.
IsCanBeSpecialSummoned
(
sc
,
e
,
sumtype
,
tp
,
...
)
end
s
.
autodata
=
{
lp
=
{
8000
,
8000
},
turn
=
0
,
...
...
@@ -392,7 +415,7 @@ function s.rev(e,re,r,rp,rc)
_Effect
.
SetCode
(
e1
,
EVENT_DRAW
)
_Effect
.
SetCountLimit
(
e1
,
1
)
_Effect
.
SetOperation
(
e1
,
s
.
setlpop
)
_Duel
.
RegisterEffect
(
e1
,
1
-
tp
)
_Duel
.
RegisterEffect
(
e1
,
1
-
tp
)
return
true
else
return
false
...
...
@@ -780,7 +803,7 @@ function s.movecard(e,tp)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsAbleToHand
,
tp
,
0x7d
,
0
,
c
)
local
sg
=
g
:
CancelableSelect
(
tp
,
1
,
99
,
nil
)
if
not
sg
then
return
end
Duel
.
SendtoHand
(
g
,
tp
,
REASON_RULE
)
Duel
.
SendtoHand
(
s
g
,
tp
,
REASON_RULE
)
elseif
ot
==
2
then
local
g
=
Duel
.
GetMatchingGroup
(
aux
.
TRUE
,
tp
,
0x6f
,
0
,
c
)
local
sg
=
g
:
CancelableSelect
(
tp
,
1
,
99
,
nil
)
...
...
@@ -871,7 +894,7 @@ function s.movespop(e,tp,eg,ep,ev,re,r,rp)
ge8
:
SetCode
(
id
)
ge8
:
SetTargetRange
(
0xf3
,
0xf3
)
if
not
tc
:
IsCanBeSpecialSummoned
(
e
,
sumtype
,
tp
,
false
,
false
)
and
not
s
.
Cheating_Mode
and
Duel
.
SelectEffectYesNo
(
tp
,
tc
,
aux
.
Stringid
(
id
+
1
,
0
))
then
bool
=
true
bool
=
true
Duel
.
RegisterEffect
(
ge8
,
0
)
s
.
Cheating_Mode
=
true
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