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
dcfbb2a6
Commit
dcfbb2a6
authored
Dec 10, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
dad31487
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
11 deletions
+19
-11
expansions/script/c11451425.lua
expansions/script/c11451425.lua
+7
-4
expansions/script/c11451653.lua
expansions/script/c11451653.lua
+7
-4
expansions/script/c60000146.lua
expansions/script/c60000146.lua
+4
-2
expansions/script/c71403021.lua
expansions/script/c71403021.lua
+1
-1
No files found.
expansions/script/c11451425.lua
View file @
dcfbb2a6
...
@@ -28,7 +28,7 @@ function cm.initial_effect(c)
...
@@ -28,7 +28,7 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
operation
)
e4
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
cm
.
hand_effect
=
cm
.
hand_effect
or
{}
cm
.
hand_effect
=
cm
.
hand_effect
or
{}
cm
.
hand_effect
[
c
]
=
e4
cm
.
hand_effect
[
c
]
=
e4
end
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
...
@@ -64,9 +64,12 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -64,9 +64,12 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetLabelObject
()
local
c
=
e
:
GetLabelObject
()
if
not
c
or
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
c
then
return
end
local
r
=
e
:
GetHandler
():
IsRelateToEffect
(
e
)
local
operation
=
c
:
GetOperation
()
local
operation
=
c
:
GetOperation
()
if
operation
then
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
operation
then
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
Duel
.
BreakEffect
()
if
r
and
not
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
not
e
:
GetHandler
():
IsLocation
(
LOCATION_REMOVED
)
then
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
BreakEffect
()
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
end
end
\ No newline at end of file
expansions/script/c11451653.lua
View file @
dcfbb2a6
...
@@ -28,7 +28,7 @@ function cm.initial_effect(c)
...
@@ -28,7 +28,7 @@ function cm.initial_effect(c)
e4
:
SetOperation
(
cm
.
operation
)
e4
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
cm
.
hand_effect
=
cm
.
hand_effect
or
{}
cm
.
hand_effect
=
cm
.
hand_effect
or
{}
cm
.
hand_effect
[
c
]
=
e4
cm
.
hand_effect
[
c
]
=
e4
end
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
return
e
:
GetHandler
():
GetFlagEffect
(
m
)
==
0
...
@@ -64,9 +64,12 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -64,9 +64,12 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetLabelObject
()
local
c
=
e
:
GetLabelObject
()
if
not
c
or
not
e
:
GetHandler
():
IsRelateToEffect
(
e
)
then
return
end
if
not
c
then
return
end
local
r
=
e
:
GetHandler
():
IsRelateToEffect
(
e
)
local
operation
=
c
:
GetOperation
()
local
operation
=
c
:
GetOperation
()
if
operation
then
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
if
operation
then
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
Duel
.
BreakEffect
()
if
r
and
not
e
:
GetHandler
():
IsLocation
(
LOCATION_GRAVE
)
and
not
e
:
GetHandler
():
IsLocation
(
LOCATION_REMOVED
)
then
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
Duel
.
BreakEffect
()
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_EFFECT
)
end
end
end
\ No newline at end of file
expansions/script/c60000146.lua
View file @
dcfbb2a6
...
@@ -50,11 +50,13 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -50,11 +50,13 @@ function cm.target(e,tp,eg,ep,ev,re,r,rp,chk)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
filter
,
e
:
GetHandlerPlayer
(),
LOCATION_DECK
,
0
,
nil
)
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
lkfil
,
e
:
GetHandlerPlayer
(),
LOCATION_HAND
,
0
,
nil
)
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
lkfil
,
e
:
GetHandlerPlayer
(),
LOCATION_HAND
,
0
,
nil
)
g
:
Merge
(
tg
)
g
:
Merge
(
tg
)
if
chk
==
0
then
return
g
:
GetClassCount
(
Card
.
GetCode
)
>
1
and
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
lkfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
e
:
GetActivateLocation
()
~=
LOCATION_HAND
then
if
e
:
GetActivateLocation
()
~=
LOCATION_HAND
then
e
:
SetLabel
(
1
)
e
:
SetLabel
(
1
)
end
end
if
chk
==
0
then
return
e
:
GetLabel
()
~=
1
or
(
g
:
GetClassCount
(
Card
.
GetCode
)
>
1
and
Duel
.
IsExistingMatchingCard
(
cm
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
cm
.
lkfil
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
))
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
tp
,
100
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
tp
,
100
)
end
end
...
...
expansions/script/c71403021.lua
View file @
dcfbb2a6
...
@@ -99,7 +99,7 @@ function c71403021.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -99,7 +99,7 @@ function c71403021.tg2(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
if
chk
==
0
then
return
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c71403021
.
filter2a
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
return
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c71403021
.
filter2a
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
or
Duel
.
IsExistingMatchingCard
(
c71403021
.
filter2b
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
tp
))
or
Duel
.
IsExistingMatchingCard
(
c71403021
.
filter2b
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
,
tp
))
and
Duel
.
IsExistingMatchingCard
(
c71403021
.
filter2c
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
)
and
Duel
.
IsExistingMatchingCard
(
c71403021
.
filter2c
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
end
end
end
function
c71403021
.
filter2second
(
c
)
function
c71403021
.
filter2second
(
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