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
1ec8804b
Commit
1ec8804b
authored
Aug 17, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d
parent
318c7a4b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
expansions/script/c11451541.lua
expansions/script/c11451541.lua
+5
-5
expansions/script/c60001038.lua
expansions/script/c60001038.lua
+1
-1
No files found.
expansions/script/c11451541.lua
View file @
1ec8804b
...
@@ -47,7 +47,7 @@ function cm.checkop3(e,tp,eg,ep,ev,re,r,rp)
...
@@ -47,7 +47,7 @@ function cm.checkop3(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
eg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
local
tg
=
eg
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_MZONE
)
if
#
tg
>
0
then
if
#
tg
>
0
then
for
tc
in
aux
.
Next
(
tg
)
do
for
tc
in
aux
.
Next
(
tg
)
do
tc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
tc
:
RegisterFlagEffect
(
m
+
1
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
end
end
end
end
end
end
...
@@ -55,12 +55,12 @@ function cm.checkop6(e,tp,eg,ep,ev,re,r,rp)
...
@@ -55,12 +55,12 @@ function cm.checkop6(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
ctgfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
tg
=
Duel
.
GetMatchingGroup
(
cm
.
ctgfilter
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
#
tg
>
0
then
if
#
tg
>
0
then
for
tc
in
aux
.
Next
(
tg
)
do
for
tc
in
aux
.
Next
(
tg
)
do
tc
:
RegisterFlagEffect
(
m
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
tc
:
RegisterFlagEffect
(
m
+
1
,
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
)
end
end
end
end
end
end
function
cm
.
ctgfilter
(
c
)
function
cm
.
ctgfilter
(
c
)
return
c
:
GetOwnerTargetCount
()
>
0
and
c
:
GetFlagEffect
(
m
)
==
0
return
c
:
GetOwnerTargetCount
()
>
0
and
c
:
GetFlagEffect
(
m
+
1
)
==
0
end
end
function
cm
.
filter
(
c
,
tp
)
function
cm
.
filter
(
c
,
tp
)
return
c
:
IsControler
(
tp
)
return
c
:
IsControler
(
tp
)
...
@@ -120,7 +120,7 @@ function cm.sccost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -120,7 +120,7 @@ function cm.sccost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
Duel
.
Release
(
e
:
GetHandler
(),
REASON_COST
)
end
end
function
cm
.
cfilter
(
c
)
function
cm
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetFlagEffect
(
m
)
==
0
return
c
:
IsFaceup
()
and
c
:
GetFlagEffect
(
m
+
1
)
==
0
end
end
function
cm
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
cm
.
sctg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
end
...
@@ -171,5 +171,5 @@ function cm.sumlimit2(e,c,sump,sumtype,sumpos,targetp)
...
@@ -171,5 +171,5 @@ function cm.sumlimit2(e,c,sump,sumtype,sumpos,targetp)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
cfilter2
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
e
:
GetLabel
())
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
cfilter2
,
0
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
e
:
GetLabel
())
local
ac
=
g
:
GetFirst
()
local
ac
=
g
:
GetFirst
()
local
bc
=
g
:
GetNext
()
local
bc
=
g
:
GetNext
()
return
not
(
not
c
:
IsAttribute
(
ac
:
GetAttribute
())
and
(
not
bc
or
not
c
:
IsAttribute
(
bc
:
GetAttribute
()
)))
return
not
(
c
:
GetAttribute
()
~=
ac
:
GetAttribute
()
and
(
not
bc
or
c
:
GetAttribute
()
~=
bc
:
GetAttribute
(
)))
end
end
\ No newline at end of file
expansions/script/c60001038.lua
View file @
1ec8804b
...
@@ -26,7 +26,6 @@ function c60001038.initial_effect(c)
...
@@ -26,7 +26,6 @@ function c60001038.initial_effect(c)
e4
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
e4
:
SetCategory
(
CATEGORY_NEGATE
+
CATEGORY_DESTROY
)
e4
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e4
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e4
:
SetCode
(
EVENT_CHAINING
)
e4
:
SetCode
(
EVENT_CHAINING
)
e4
:
SetCountLimit
(
1
,
60001038
)
e4
:
SetCondition
(
c60001038
.
condition2
)
e4
:
SetCondition
(
c60001038
.
condition2
)
e4
:
SetCost
(
c60001038
.
cost2
)
e4
:
SetCost
(
c60001038
.
cost2
)
e4
:
SetTarget
(
c60001038
.
target2
)
e4
:
SetTarget
(
c60001038
.
target2
)
...
@@ -39,6 +38,7 @@ function c60001038.initial_effect(c)
...
@@ -39,6 +38,7 @@ function c60001038.initial_effect(c)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetCode
(
EVENT_TO_GRAVE
)
e5
:
SetCode
(
EVENT_TO_GRAVE
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e5
:
SetCountLimit
(
1
,
60001038
)
e5
:
SetTarget
(
c60001038
.
thtg
)
e5
:
SetTarget
(
c60001038
.
thtg
)
e5
:
SetOperation
(
c60001038
.
thop
)
e5
:
SetOperation
(
c60001038
.
thop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
...
...
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