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
a1145be1
Commit
a1145be1
authored
Nov 12, 2023
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8e183438
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
39 additions
and
22 deletions
+39
-22
expansions/script/c11451803.lua
expansions/script/c11451803.lua
+0
-5
expansions/script/c33711403.lua
expansions/script/c33711403.lua
+2
-0
expansions/script/c40010588.lua
expansions/script/c40010588.lua
+2
-2
expansions/script/c40010842.lua
expansions/script/c40010842.lua
+27
-8
expansions/script/c40011078.lua
expansions/script/c40011078.lua
+2
-2
expansions/script/c64800044.lua
expansions/script/c64800044.lua
+2
-2
expansions/script/c82209156.lua
expansions/script/c82209156.lua
+4
-3
No files found.
expansions/script/c11451803.lua
View file @
a1145be1
...
@@ -163,11 +163,6 @@ function cm.costop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -163,11 +163,6 @@ function cm.costop(e,tp,eg,ep,ev,re,r,rp)
c
:
SetEntityCode
(
m
,
false
)
c
:
SetEntityCode
(
m
,
false
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
Duel
.
ConfirmCards
(
1
-
tp
,
c
)
Effect
.
IsActiveType
=
_IsActiveType
Effect
.
GetActiveType
=
_GetActiveType
Card
.
IsType
=
_IsType
Card
.
GetType
=
_GetType
Card
.
GetOriginalType
=
_GetOriginalType
end
)
end
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
...
...
expansions/script/c33711403.lua
View file @
a1145be1
...
@@ -127,12 +127,14 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -127,12 +127,14 @@ function cm.activate(e,tp,eg,ep,ev,re,r,rp)
end
end
if
op
==
2
then
if
op
==
2
then
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
5
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
5
)
Duel
.
ConfirmDecktop
(
tp
,
5
)
if
Duel
.
SendtoDeck
(
g
,
1
-
tp
,
2
,
REASON_EFFECT
)
==
5
then
if
Duel
.
SendtoDeck
(
g
,
1
-
tp
,
2
,
REASON_EFFECT
)
==
5
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
end
end
if
op
==
3
then
if
op
==
3
then
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
10
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
10
)
Duel
.
ConfirmDecktop
(
tp
,
10
)
if
Duel
.
SendtoDeck
(
g
,
1
-
tp
,
2
,
REASON_EFFECT
)
==
10
then
if
Duel
.
SendtoDeck
(
g
,
1
-
tp
,
2
,
REASON_EFFECT
)
==
10
then
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
2
,
REASON_EFFECT
)
end
end
...
...
expansions/script/c40010588.lua
View file @
a1145be1
...
@@ -92,13 +92,13 @@ function cm.damop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -92,13 +92,13 @@ function cm.damop(e,tp,eg,ep,ev,re,r,rp)
--Debug.Message(ct)
--Debug.Message(ct)
if
ct
>
0
then
if
ct
>
0
then
Duel
.
Damage
(
1
-
tp
,
ct
*
400
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
ct
*
400
,
REASON_EFFECT
)
end
end
else
else
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
40010592
)
and
seq
<
3
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
2
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
40010592
)
and
seq
<
3
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
2
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
Duel
.
MoveSequence
(
c
,
seq
+
2
)
Duel
.
MoveSequence
(
c
,
seq
+
2
)
if
ct
>
0
then
if
ct
>
0
then
Duel
.
Damage
(
1
-
tp
,
ct
*
400
,
REASON_EFFECT
,
true
)
Duel
.
Damage
(
1
-
tp
,
ct
*
400
,
REASON_EFFECT
)
end
end
else
else
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
c
,
nil
,
REASON_EFFECT
)
...
...
expansions/script/c40010842.lua
View file @
a1145be1
...
@@ -99,7 +99,7 @@ function cm.sumop(e,tp,eg,ep,ev,re,r,rp,c)
...
@@ -99,7 +99,7 @@ function cm.sumop(e,tp,eg,ep,ev,re,r,rp,c)
Duel
.
ShuffleHand
(
tp
)
Duel
.
ShuffleHand
(
tp
)
end
end
function
cm
.
counterfilter
(
c
)
function
cm
.
counterfilter
(
c
)
return
not
c
:
IsType
(
TYPE_SPIRIT
)
return
c
:
IsType
(
TYPE_SPIRIT
)
end
end
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_MZONE
,
0
)
==
0
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
...
@@ -130,15 +130,34 @@ function cm.sumop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -130,15 +130,34 @@ function cm.sumop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
Duel
.
Summon
(
tp
,
c
,
true
,
nil
)
~=
0
then
if
Duel
.
Summon
(
tp
,
c
,
true
,
nil
)
~=
0
then
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
)
local
e1
=
Effect
.
CreateEffect
(
c
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
Duel
.
BreakEffect
()
e1
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
e1
:
SetCountLimit
(
1
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
e1
:
SetOperation
(
cm
.
adjustop
)
Duel
.
Summon
(
tp
,
sg
,
true
,
nil
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
end
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_SUMMON_NEGATED
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetOperation
(
cm
.
adjustop2
)
Duel
.
RegisterEffect
(
e2
,
tp
)
end
end
function
cm
.
adjustop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
c
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
Summon
(
tp
,
sg
:
GetFirst
(),
true
,
nil
)
end
end
end
end
function
cm
.
adjustop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
te
=
e
:
GetLabelObject
()
if
te
and
aux
.
GetValueType
(
te
)
==
"Effect"
then
te
:
Reset
()
end
end
function
cm
.
desfilter
(
c
)
function
cm
.
desfilter
(
c
)
return
c
:
IsType
(
TYPE_MONSTER
)
return
c
:
IsType
(
TYPE_MONSTER
)
end
end
...
...
expansions/script/c40011078.lua
View file @
a1145be1
...
@@ -142,8 +142,8 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -142,8 +142,8 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
if
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)
then
if
seq
<
4
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
1
)
then
Duel
.
MoveSequence
(
c
,
seq
+
1
)
Duel
.
MoveSequence
(
c
,
seq
+
1
)
if
ct1
>
0
then
if
ct1
>
0
then
c
:
RegisterFlagEffect
(
m
+
1
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
2
,
EFFECT_FLAG_CLIENT_HINT
,
1
,
0
,
aux
.
Stringid
(
m
,
2
))
c
:
RegisterFlagEffect
(
m
+
1
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_CLIENT_HINT
,
2
,
0
,
aux
.
Stringid
(
m
,
2
))
c
:
RegisterFlagEffect
(
m
+
2
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
2
,
1
,
ct1
)
c
:
RegisterFlagEffect
(
m
+
2
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
2
,
ct1
)
end
end
else
else
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
40010592
)
and
seq
<
3
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
2
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
if
Duel
.
IsPlayerAffectedByEffect
(
tp
,
40010592
)
and
seq
<
3
and
Duel
.
CheckLocation
(
tp
,
LOCATION_MZONE
,
seq
+
2
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
m
,
2
))
then
...
...
expansions/script/c64800044.lua
View file @
a1145be1
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
...
@@ -9,7 +9,7 @@ function cm.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_D
AMAGE_STEP
)
e1
:
SetProperty
(
EFFECT_FLAG_D
ELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetTarget
(
cm
.
tgtg
)
e1
:
SetTarget
(
cm
.
tgtg
)
e1
:
SetOperation
(
cm
.
tgop
)
e1
:
SetOperation
(
cm
.
tgop
)
...
@@ -88,7 +88,7 @@ function cm.spop2(e,tp,eg,ep,ev,re,r,rp)
...
@@ -88,7 +88,7 @@ function cm.spop2(e,tp,eg,ep,ev,re,r,rp)
end
end
--------
--------
function
cm
.
cfilter2
(
c
,
tp
)
function
cm
.
cfilter2
(
c
,
tp
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
c
:
IsType
(
TYPE_SYNCHRO
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
c
:
IsType
(
TYPE_SYNCHRO
)
and
c
:
IsType
(
TYPE_TUNER
)
end
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
cm
.
cfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
tp
)
end
...
...
expansions/script/c82209156.lua
View file @
a1145be1
...
@@ -113,13 +113,14 @@ if not cm.start then
...
@@ -113,13 +113,14 @@ if not cm.start then
while
tc
do
while
tc
do
local
code
=
tc
:
GetOriginalCode
()
local
code
=
tc
:
GetOriginalCode
()
local
ccode
=
_G
[
"c"
..
code
]
local
ccode
=
_G
[
"c"
..
code
]
if
not
cm
.
initial_effect
then
cm
.
initial_effect
=
aux
.
TRUE
end
tc
:
ReplaceEffect
(
82209156
,
0
)
tc
:
ReplaceEffect
(
82209156
,
0
)
if
ccode
.
initial_effect
then
ccode
.
initial_effect
(
tc
)
end
if
ccode
.
initial_effect
then
ccode
.
initial_effect
(
tc
)
end
tc
=
g
:
GetNext
()
tc
=
g
:
GetNext
()
end
end
Debug
.
Message
(
"此卡会爆不明红字,但仍然可以正常使用"
)
--
Debug.Message("此卡会爆不明红字,但仍然可以正常使用")
Debug
.
Message
(
"至少目前暂未发现实质性bug,无需反馈"
)
--
Debug.Message("至少目前暂未发现实质性bug,无需反馈")
Debug
.
Message
(
"如有能力进行修复也可联系作者"
)
--
Debug.Message("如有能力进行修复也可联系作者")
end
end
function
cm
.
initial_effect
(
c
)
function
cm
.
initial_effect
(
c
)
...
...
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