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
15e05e8a
Commit
15e05e8a
authored
Jan 20, 2025
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
50bd3032
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
85 additions
and
1 deletion
+85
-1
expansions/script/c33720223.lua
expansions/script/c33720223.lua
+1
-1
expansions/script/glitchylib_vsnemo.lua
expansions/script/glitchylib_vsnemo.lua
+84
-0
No files found.
expansions/script/c33720223.lua
View file @
15e05e8a
...
@@ -50,7 +50,7 @@ function s.filter(c,tp)
...
@@ -50,7 +50,7 @@ function s.filter(c,tp)
end
end
end
end
end
end
return
ok
and
(
s
.
thfilter
(
c
,
tp
)
or
s
.
tgfiler
(
c
,
tp
))
return
ok
and
(
s
.
thfilter
(
c
,
tp
)
or
s
.
tgfil
t
er
(
c
,
tp
))
end
end
function
s
.
thfilter
(
c
,
tp
)
function
s
.
thfilter
(
c
,
tp
)
return
not
c
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
and
Duel
.
IsPlayerCanSendtoHand
(
1
-
tp
,
c
)
return
not
c
:
IsStatus
(
STATUS_LEAVE_CONFIRMED
)
and
Duel
.
IsPlayerCanSendtoHand
(
1
-
tp
,
c
)
...
...
expansions/script/glitchylib_vsnemo.lua
View file @
15e05e8a
...
@@ -1987,6 +1987,90 @@ function Auxiliary.STFilter(f,...)
...
@@ -1987,6 +1987,90 @@ function Auxiliary.STFilter(f,...)
return
target
:
IsST
()
and
(
not
f
or
f
(
target
,
table.unpack
(
ext_params
)))
return
target
:
IsST
()
and
(
not
f
or
f
(
target
,
table.unpack
(
ext_params
)))
end
end
end
end
function
Auxiliary
.
ActivateFilter
(
f
)
return
function
(
c
,
e
,
tp
)
return
(
not
f
or
f
(
c
,
e
,
tp
))
and
c
:
GetActivateEffect
():
IsActivatable
(
tp
,
true
,
true
)
end
end
function
Auxiliary
.
AttachFilter
(
f
)
return
function
(
c
,
e
,
...
)
return
(
not
f
or
f
(
c
,
e
,
...
))
and
not
c
:
IsType
(
TYPE_TOKEN
)
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
Auxiliary
.
AttachFilter2
(
f
)
return
function
(
c
,
...
)
return
(
not
f
or
f
(
c
,
e
,
...
))
and
c
:
IsType
(
TYPE_XYZ
)
end
end
function
Auxiliary
.
BanishFilter
(
f
,
cost
,
pos
)
pos
=
pos
and
pos
or
POS_FACEUP
return
function
(
c
,
_
,
tp
,
...
)
return
(
not
f
or
f
(
c
,
...
))
and
(
not
cost
and
c
:
IsAbleToRemove
(
tp
,
pos
)
or
cost
and
c
:
IsAbleToRemoveAsCost
(
pos
))
end
end
function
Auxiliary
.
ControlFilter
(
f
)
return
function
(
c
,
...
)
return
(
not
f
or
f
(
c
,
...
))
and
c
:
IsControlerCanBeChanged
()
end
end
function
Auxiliary
.
DestroyFilter
(
f
)
return
function
(
c
,
e
,
...
)
return
(
not
f
or
f
(
c
,
e
,
...
))
and
(
c
:
IsOnField
()
or
c
:
IsDestructable
(
e
))
end
end
function
Auxiliary
.
DisableFilter
(
f
)
return
function
(
c
,
...
)
return
(
not
f
or
f
(
c
,
...
))
and
aux
.
NegateAnyFilter
(
c
)
end
end
function
Auxiliary
.
DiscardFilter
(
f
,
cost
)
local
r
=
(
not
cost
)
and
REASON_EFFECT
or
REASON_COST
return
function
(
c
)
return
(
not
f
or
f
(
c
))
and
c
:
IsDiscardable
(
r
)
end
end
function
Auxiliary
.
SearchFilter
(
f
)
return
function
(
c
,
...
)
return
(
not
f
or
f
(
c
,
...
))
and
c
:
IsAbleToHand
()
end
end
function
Auxiliary
.
SSetFilter
(
f
)
return
function
(
c
,
...
)
return
(
not
f
or
f
(
c
,
...
))
and
c
:
IsST
()
and
c
:
IsSSetable
()
end
end
function
Auxiliary
.
ToGYFilter
(
f
,
cost
)
return
function
(
c
,
...
)
return
(
not
f
or
f
(
c
,
...
))
and
(
not
cost
and
c
:
IsAbleToGrave
()
or
(
cost
and
c
:
IsAbleToGraveAsCost
()))
end
end
function
Auxiliary
.
ToGraveFilter
(
f
,
cost
)
return
aux
.
ToGYFilter
(
f
,
cost
)
end
function
Auxiliary
.
ToHandFilter
(
f
,
cost
)
return
function
(
c
,
...
)
return
(
not
f
or
f
(
c
,
...
))
and
(
not
cost
and
c
:
IsAbleToHand
()
or
(
cost
and
c
:
IsAbleToHandAsCost
()))
end
end
function
Auxiliary
.
ToDeckFilter
(
f
,
cost
,
loc
)
if
not
cost
then
return
function
(
c
,
...
)
return
(
not
f
or
f
(
c
,
...
))
and
c
:
IsAbleToDeck
()
end
else
local
check
=
Card
.
IsAbleToDeckOrExtraAsCost
if
loc
then
if
loc
==
LOCATION_DECK
then
check
=
Card
.
IsAbleToDeckAsCost
elseif
loc
==
LOCATION_EXTRA
then
check
=
Card
.
IsAbleToExtraAsCost
end
end
return
function
(
c
,
...
)
return
(
not
f
or
f
(
c
,
...
))
and
check
(
c
)
end
end
end
--Flag Effects
--Flag Effects
function
Card
.
GetFlagEffectWithSpecificLabel
(
c
,
flag
,
label
,
reset
)
function
Card
.
GetFlagEffectWithSpecificLabel
(
c
,
flag
,
label
,
reset
)
...
...
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