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
5bb5681e
Commit
5bb5681e
authored
Mar 26, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
38b09fa5
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
4 additions
and
66 deletions
+4
-66
expansions/no81.cdb
expansions/no81.cdb
+0
-0
expansions/pics/130006051.jpg
expansions/pics/130006051.jpg
+0
-0
expansions/script/c130006051.lua
expansions/script/c130006051.lua
+0
-62
expansions/script/c53796193.lua
expansions/script/c53796193.lua
+1
-1
expansions/script/c53796194.lua
expansions/script/c53796194.lua
+2
-2
expansions/script/c53796196.lua
expansions/script/c53796196.lua
+1
-1
No files found.
expansions/no81.cdb
View file @
5bb5681e
No preview for this file type
expansions/pics/130006051.jpg
deleted
100644 → 0
View file @
38b09fa5
16.1 KB
expansions/script/c130006051.lua
deleted
100644 → 0
View file @
38b09fa5
--月光与幼枭
local
cm
,
m
=
GetID
()
function
cm
.
initial_effect
(
c
)
--search limit
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
m
,
0
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCondition
(
cm
.
con
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
cm
.
drcfilter
(
c
,
tp
)
return
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsReason
(
REASON_EFFECT
)
end
function
cm
.
con
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
cm
.
drcfilter
,
1
,
nil
,
tp
)
end
function
cm
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsAbleToGraveAsCost
()
end
Duel
.
SendtoGrave
(
e
:
GetHandler
(),
REASON_COST
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_CANNOT_TO_GRAVE
)
e1
:
SetTargetRange
(
0xff
,
0xff
)
e1
:
SetTarget
(
cm
.
rmlimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
--
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_DISCARD_DECK
)
e2
:
SetTargetRange
(
1
,
1
)
e2
:
SetTarget
(
cm
.
rmlimit
)
e2
:
SetValue
(
cm
.
rmlimit
)
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
--Duel.RegisterEffect(e2,tp)
local
ct
=
Duel
.
GetTurnCount
()
local
fset
=
{
"IsAbleToGrave"
,
"IsPlayerCanDiscardDeck"
,
"SendtoGrave"
,
"DiscardDeck"
}
for
i
,
fname
in
pairs
(
fset
)
do
local
tab
=
Duel
if
i
==
1
then
tab
=
Card
end
local
temp_f
=
tab
[
fname
]
tab
[
fname
]
=
function
(
...
)
local
params
=
{
...
}
if
Duel
.
GetTurnCount
()
==
ct
then
if
i
<=
2
then
return
false
else
if
params
[
i
-
1
]
&
REASON_EFFECT
>
0
then
return
0
end
end
end
return
temp_f
(
...
)
end
end
end
function
cm
.
rmlimit
(
e
,
c
,
tp
,
r
)
return
r
==
REASON_EFFECT
end
\ No newline at end of file
expansions/script/c53796193.lua
View file @
5bb5681e
...
...
@@ -136,7 +136,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
spcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SendtoDeck
(
g
,
nil
,
REASON_COST
)
Duel
.
SendtoDeck
(
g
,
nil
,
0
,
REASON_COST
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
...
...
expansions/script/c53796194.lua
View file @
5bb5681e
...
...
@@ -94,13 +94,13 @@ function s.spcon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
end
function
s
.
spcfilter
(
c
,
e
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsAbleToExtraAsCost
()
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
e
:
GetHandler
())
and
(
aux
.
IsCodeListed
(
c
,
53796195
)
or
c
:
IsType
(
TYPE_LINK
))
return
c
:
IsFaceup
()
and
c
:
IsAbleToExtraAsCost
()
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
e
:
GetHandler
())
>
0
and
(
aux
.
IsCodeListed
(
c
,
53796195
)
or
c
:
IsType
(
TYPE_LINK
))
end
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
spcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SendtoDeck
(
g
,
nil
,
REASON_COST
)
Duel
.
SendtoDeck
(
g
,
nil
,
0
,
REASON_COST
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
...
...
expansions/script/c53796196.lua
View file @
5bb5681e
...
...
@@ -55,7 +55,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
spcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
spcfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SendtoDeck
(
g
,
nil
,
REASON_COST
)
Duel
.
SendtoDeck
(
g
,
nil
,
0
,
REASON_COST
)
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
...
...
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