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
db08a7f0
Commit
db08a7f0
authored
Feb 25, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
32a9632a
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
26 additions
and
27 deletions
+26
-27
expansions/script/c11451015.lua
expansions/script/c11451015.lua
+2
-2
expansions/script/c11451402.lua
expansions/script/c11451402.lua
+1
-1
expansions/script/c11451414.lua
expansions/script/c11451414.lua
+3
-2
expansions/script/c11451446.lua
expansions/script/c11451446.lua
+1
-1
expansions/script/c11451528.lua
expansions/script/c11451528.lua
+2
-3
expansions/script/c11451619.lua
expansions/script/c11451619.lua
+2
-2
expansions/script/c60002139.lua
expansions/script/c60002139.lua
+10
-11
expansions/script/c60002143.lua
expansions/script/c60002143.lua
+3
-3
expansions/script/c60002311.lua
expansions/script/c60002311.lua
+1
-1
expansions/script/c60002318.lua
expansions/script/c60002318.lua
+1
-1
No files found.
expansions/script/c11451015.lua
View file @
db08a7f0
...
...
@@ -225,9 +225,9 @@ function cm.costop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
local
te
=
e
:
GetLabelObject
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
):
Filter
(
cm
.
rfilter
,
nil
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_MATERIAL
):
Filter
(
cm
.
rfilter
,
nil
)
local
sg
=
g
:
SelectSubGroup
(
tp
,
cm
.
fselect
,
false
,
1
,
#
g
,
tp
,
c
)
Duel
.
Release
(
sg
,
REASON_
COST
)
Duel
.
Release
(
sg
,
REASON_
MATERIAL
)
Duel
.
BreakEffect
()
Duel
.
MoveToField
(
c
,
tp
,
tp
,
LOCATION_MZONE
,
POS_FACEUP
,
false
)
cm
.
activate_sequence
[
te
]
=
c
:
GetSequence
()
...
...
expansions/script/c11451402.lua
View file @
db08a7f0
...
...
@@ -45,7 +45,7 @@ function cm.costcon(e)
return
true
end
function
cm
.
costchk
(
e
,
te
,
tp
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsReleasable
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
REASON_RULE
)
end
function
cm
.
costtg
(
e
,
te
,
tp
)
e
:
SetLabelObject
(
te
)
...
...
expansions/script/c11451414.lua
View file @
db08a7f0
...
...
@@ -98,6 +98,7 @@ function cm.condition4(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
operation4
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
e
:
GetHandler
():
ResetFlagEffect
(
m
)
--Duel.Hint(24,0,aux.Stringid(m,0))
--effect phase end
local
e3
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
@@ -111,13 +112,13 @@ function cm.operation4(e,tp,eg,ep,ev,re,r,rp)
end
function
cm
.
condition3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
1
-
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
nil
,
TYPE_MONSTER
)
g
=
g
:
Filter
(
Card
.
IsReleasable
,
nil
)
g
=
g
:
Filter
(
Card
.
IsReleasable
,
nil
,
REASON_RULE
)
return
#
g
>
0
and
cm
[
tp
]
>
0
end
function
cm
.
operation3
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
m
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsType
,
1
-
tp
,
LOCATION_MZONE
+
LOCATION_HAND
,
0
,
nil
,
TYPE_MONSTER
)
g
=
g
:
Filter
(
Card
.
IsReleasable
,
nil
)
g
=
g
:
Filter
(
Card
.
IsReleasable
,
nil
,
REASON_RULE
)
local
count
=
math.min
(
#
g
,
cm
[
tp
])
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_RELEASE
)
local
g2
=
g
:
Select
(
1
-
tp
,
count
,
count
,
nil
)
...
...
expansions/script/c11451446.lua
View file @
db08a7f0
...
...
@@ -42,7 +42,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e4
)
end
function
cm
.
filter1
(
c
,
tp
)
return
c
:
IsReleasable
()
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
return
c
:
IsReleasable
(
REASON_SPSUMMON
)
and
Duel
.
GetMZoneCount
(
1
-
tp
,
c
,
tp
)
>
0
end
function
cm
.
filter2
(
c
)
return
aux
.
IsCodeListed
(
c
,
99518961
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsFaceup
()
...
...
expansions/script/c11451528.lua
View file @
db08a7f0
--珂拉琪的拼图箱庭
local
m
=
11451528
local
cm
=
_G
[
"c"
..
m
]
local
cm
,
m
=
GetID
()
function
cm
.
initial_effect
(
c
)
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -80,7 +79,7 @@ function cm.recon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
GetCurrentChain
()
==
1
and
(
e
:
GetHandler
():
GetFlagEffect
(
m
)
>
0
or
(
ep
~=
tp
and
e
:
GetCode
()
~=
EVENT_CHAIN_NEGATED
))
end
function
cm
.
reop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
())
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsReleasable
,
tp
,
LOCATION_ONFIELD
,
0
,
e
:
GetHandler
()
,
REASON_RULE
)
if
#
g
==
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
...
...
expansions/script/c11451619.lua
View file @
db08a7f0
...
...
@@ -39,7 +39,7 @@ function cm.dptcheck(g)
return
g
:
GetClassCount
(
Card
.
GetLevel
)
==#
g
end
function
cm
.
cfilter
(
c
)
return
c
:
IsLevelAbove
(
1
)
and
c
:
IsReleasable
()
return
c
:
IsLevelAbove
(
1
)
and
c
:
IsReleasable
(
REASON_MATERIAL
)
end
function
cm
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
mg
=
Duel
.
GetMatchingGroup
(
cm
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
...
...
@@ -52,7 +52,7 @@ function cm.setop(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
mg
:
SelectSubGroup
(
tp
,
cm
.
dptcheck
,
true
,
2
,
99
)
if
tg
and
#
tg
>
0
then
c
:
SetMaterial
(
tg
)
Duel
.
Release
(
tg
,
REASON_
COST
+
REASON_
MATERIAL
)
Duel
.
Release
(
tg
,
REASON_MATERIAL
)
Duel
.
BreakEffect
()
Duel
.
SSet
(
tp
,
c
)
end
...
...
expansions/script/c60002139.lua
View file @
db08a7f0
...
...
@@ -4,16 +4,15 @@ local cm=_G["c"..m]
function
cm
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
60002134
)
--Special Summon
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e4
:
SetType
(
EFFECT_TYPE_TRIGGER_O
+
EFFECT_TYPE_SINGLE
)
e4
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e4
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e4
:
SetCode
(
EVENT_LEAVE_FIELD
)
e4
:
SetCondition
(
cm
.
sumcon
)
e4
:
SetTarget
(
cm
.
sumtg
)
e4
:
SetOperation
(
cm
.
sumop
)
c
:
RegisterEffect
(
e4
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetProperty
(
EFFECT_FLAG_DELAY
+
EFFECT_FLAG_DAMAGE_STEP
)
e3
:
SetCode
(
EVENT_LEAVE_FIELD
)
e3
:
SetTarget
(
cm
.
sumtg
)
e3
:
SetOperation
(
cm
.
sumop
)
c
:
RegisterEffect
(
e3
)
--to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
...
...
@@ -29,7 +28,7 @@ function cm.initial_effect(c)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
sumcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEUP
)
and
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
return
e
:
GetHandler
():
IsPreviousPosition
(
POS_FACEUP
)
--
and e:GetHandler():IsPreviousLocation(LOCATION_ONFIELD)
end
function
cm
.
filter
(
c
,
e
,
tp
)
return
c
:
IsCode
(
60002137
)
and
c
:
IsAbleToHand
()
...
...
expansions/script/c60002143.lua
View file @
db08a7f0
...
...
@@ -72,7 +72,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
local
c
=
e
:
GetHandler
()
Duel
.
Release
(
c
,
REASON_EFFECT
)
local
op
=
e
:
GetLabel
()
if
op
==
0
then
if
op
==
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
cm
.
filter
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
...
...
@@ -85,7 +85,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
end
elseif
op
==
1
then
elseif
op
==
2
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
@@ -93,7 +93,7 @@ function cm.thop(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
true
,
true
,
POS_FACEUP
)
end
elseif
op
==
2
then
elseif
op
==
3
then
Duel
.
Recover
(
tp
,
2000
,
REASON_EFFECT
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
...
...
expansions/script/c60002311.lua
View file @
db08a7f0
...
...
@@ -52,7 +52,7 @@ function cm.eqlimit(e,c)
end
function
cm
.
cttg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_SZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_EQUIP
,
nil
,
1
,
0
,
0
,
LOCATION_MZONE
)
c
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
0x7e0000
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
...
...
expansions/script/c60002318.lua
View file @
db08a7f0
...
...
@@ -24,7 +24,7 @@ end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
local
tc
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
tc
=
Duel
.
GetMatchingGroup
(
cm
.
filter2
,
tp
,
LOCATION_DECK
,
0
,
nil
)
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
MoveToField
(
tc
,
tp
,
tp
,
LOCATION_SZONE
,
POS_FACEUP
,
true
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetCode
(
EFFECT_CHANGE_TYPE
)
...
...
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