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
2b44348c
Commit
2b44348c
authored
Jul 02, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
dc5fd715
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
57 deletions
+60
-57
expansions/script/c65130315.lua
expansions/script/c65130315.lua
+1
-1
expansions/script/c65130325.lua
expansions/script/c65130325.lua
+15
-14
expansions/script/c65130350.lua
expansions/script/c65130350.lua
+44
-42
No files found.
expansions/script/c65130315.lua
View file @
2b44348c
...
...
@@ -14,7 +14,7 @@ function s.initial_effect(c)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
)
e2
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
NOT_NEGATE
)
e2
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_CAN
_FORBIDDEN
)
e2
:
SetRange
(
LOCATION_PZONE
)
e2
:
SetTargetRange
(
1
,
0
)
e2
:
SetTarget
(
s
.
splimit
)
...
...
expansions/script/c65130325.lua
View file @
2b44348c
--阴郁展开伊吕波
function
c65130325
.
initial_effect
(
c
)
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--special summon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
65130325
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_TO_GRAVE
)
e1
:
SetRange
(
LOCATION_HAND
)
e1
:
SetCountLimit
(
1
,
65130325
)
e1
:
SetCondition
(
c65130325
.
spcon
)
e1
:
SetTarget
(
c65130325
.
sptg
)
e1
:
SetOperation
(
c65130325
.
spop
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
spcon
)
e1
:
SetTarget
(
s
.
sptg
)
e1
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e1
)
--disable
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_CHAIN_SOLVING
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetOperation
(
c65130325
.
disop
)
e2
:
SetOperation
(
s
.
disop
)
c
:
RegisterEffect
(
e2
)
end
function
c65130325
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ex
,
tg
,
ct
,
p
,
v
=
Duel
.
GetOperationInfo
(
ev
,
CATEGORY_SPECIAL_SUMMON
)
if
not
ex
then
return
end
if
Duel
.
IsChainDisablable
(
ev
)
and
v
==
LOCATION_EXTRA
and
ct
>
0
then
if
Duel
.
IsChainDisablable
(
ev
)
and
(
tg
and
tg
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_EXTRA
)
>
0
or
v
==
LOCATION_EXTRA
)
then
Duel
.
NegateEffect
(
ev
,
true
)
end
end
function
c65130325
.
spfilter
(
c
,
tp
)
function
s
.
spfilter
(
c
,
tp
)
return
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsPreviousPosition
(
POS_FACEUP
)
end
function
c65130325
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
c65130325
.
spfilter
,
1
,
nil
,
tp
)
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
s
.
spfilter
,
1
,
nil
,
tp
)
end
function
c65130325
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
e
:
GetHandler
():
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
e
:
GetHandler
(),
1
,
0
,
0
)
end
function
c65130325
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
==
0
then
return
end
if
c
:
IsRelateToEffect
(
e
)
then
...
...
expansions/script/c65130350.lua
View file @
2b44348c
--出涸岚玛娜
function
c65130350
.
initial_effect
(
c
)
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
--link summon
aux
.
AddLinkProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsLinkRace
,
RACE_SPELLCASTER
),
2
,
2
)
...
...
@@ -7,85 +8,86 @@ function c65130350.initial_effect(c)
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetCode
(
EFFECT_SPSUMMON_COST
)
e0
:
SetCost
(
c65130350
.
spcost
)
e0
:
SetCost
(
s
.
spcost
)
c
:
RegisterEffect
(
e0
)
--deck spsummon
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
65130350
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCountLimit
(
1
,
65130350
)
e1
:
SetCondition
(
c65130350
.
dspcon
)
e1
:
SetTarget
(
c65130350
.
dsptg
)
e1
:
SetOperation
(
c65130350
.
dspop
)
e1
:
SetCountLimit
(
1
,
id
)
e1
:
SetCondition
(
s
.
dspcon
)
e1
:
SetTarget
(
s
.
dsptg
)
e1
:
SetOperation
(
s
.
dspop
)
c
:
RegisterEffect
(
e1
)
--grave spsummon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
65130350
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_END_PHASE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
13258286
)
e2
:
SetCondition
(
c65130350
.
gspcon
)
e2
:
SetTarget
(
c65130350
.
gsptg
)
e2
:
SetOperation
(
c65130350
.
gspop
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCondition
(
s
.
gspcon
)
e2
:
SetTarget
(
s
.
gsptg
)
e2
:
SetOperation
(
s
.
gspop
)
c
:
RegisterEffect
(
e2
)
end
function
c65130350
.
spcost
(
e
,
c
,
tp
,
st
)
function
s
.
spcost
(
e
,
c
,
tp
,
st
)
if
bit
.
band
(
st
,
SUMMON_TYPE_LINK
)
~=
SUMMON_TYPE_LINK
then
return
true
end
return
Duel
.
IsExistingMatchingCard
(
c65130350
.
cfilter
,
c
:
GetControler
(),
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
c
:
GetControler
(),
LOCATION_ONFIELD
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
function
c65130350
.
cfilter
(
c
)
function
s
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsAttack
(
878
)
and
c
:
IsDefense
(
1157
)
end
function
c65130350
.
dspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
dspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
function
c65130350
.
dspfilter
(
c
,
e
,
tp
)
function
s
.
dspfilter
(
c
,
e
,
tp
)
return
c
:
IsAttack
(
878
)
and
c
:
IsDefense
(
1157
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
function
c65130350
.
dsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
dsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c65130350
.
dspfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingMatchingCard
(
s
.
dspfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c65130350
.
dspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
dspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65130350
.
dspfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
dspfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
tc
=
g
:
GetFirst
()
if
tc
then
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c65130350
.
gspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
gspcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetTurnPlayer
()
~=
tp
end
function
c65130350
.
gspfilter
(
c
,
e
,
tp
)
return
c
:
IsAttack
(
878
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
function
s
.
gspfilter
(
c
,
e
,
tp
)
return
c
:
IsAttack
(
878
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
and
c
:
IsControler
(
tp
)
end
function
c65130350
.
gsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
c65130350
.
gspfilter
(
chkc
,
e
,
tp
)
end
function
s
.
gsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
s
.
gspfilter
(
chkc
,
e
,
tp
)
end
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingTarget
(
c65130350
.
gspfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
nil
,
e
,
tp
)
end
and
Duel
.
IsExistingTarget
(
s
.
gspfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c65130350
.
gspfilter
,
tp
,
LOCATION_GRAVE
,
LOCATION_GRAVE
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
gspfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
,
e
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
g
,
1
,
0
,
0
)
end
function
c65130350
.
xfilter
(
c
)
function
s
.
xfilter
(
c
)
return
c
:
IsXyzSummonable
(
nil
)
end
function
c65130350
.
sfilter
(
c
)
function
s
.
sfilter
(
c
)
return
c
:
IsSynchroSummonable
(
nil
)
end
function
c65130350
.
lfilter
(
c
)
function
s
.
lfilter
(
c
)
return
c
:
IsLinkSummonable
(
nil
)
end
function
c65130350
.
gspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
gspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummonStep
(
tc
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
...
...
@@ -102,45 +104,45 @@ function c65130350.gspop(e,tp,eg,ep,ev,re,r,rp)
local
og
=
Duel
.
GetOperatedGroup
()
if
og
:
GetCount
()
>
0
then
Duel
.
AdjustAll
()
local
b1
=
Duel
.
IsExistingMatchingCard
(
c65130350
.
sfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
c65130350
.
xfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
local
b3
=
Duel
.
IsExistingMatchingCard
(
c65130350
.
lfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
s
.
sfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
s
.
xfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
local
b3
=
Duel
.
IsExistingMatchingCard
(
s
.
lfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
)
local
off
=
1
local
ops
=
{}
local
opval
=
{}
if
b1
then
ops
[
off
]
=
aux
.
Stringid
(
65130350
,
3
)
ops
[
off
]
=
aux
.
Stringid
(
id
,
3
)
opval
[
off
-
1
]
=
1
off
=
off
+
1
end
if
b2
then
ops
[
off
]
=
aux
.
Stringid
(
65130350
,
4
)
ops
[
off
]
=
aux
.
Stringid
(
id
,
4
)
opval
[
off
-
1
]
=
2
off
=
off
+
1
end
if
b3
then
ops
[
off
]
=
aux
.
Stringid
(
65130350
,
5
)
ops
[
off
]
=
aux
.
Stringid
(
id
,
5
)
opval
[
off
-
1
]
=
3
off
=
off
+
1
end
ops
[
off
]
=
aux
.
Stringid
(
65130350
,
6
)
ops
[
off
]
=
aux
.
Stringid
(
id
,
6
)
opval
[
off
-
1
]
=
4
off
=
off
+
1
local
op
=
Duel
.
SelectOption
(
tp
,
table.unpack
(
ops
))
if
opval
[
op
]
==
1
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65130350
.
sfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
sfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
Duel
.
SynchroSummon
(
tp
,
g
:
GetFirst
(),
nil
)
elseif
opval
[
op
]
==
2
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65130350
.
xfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
xfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
Duel
.
XyzSummon
(
tp
,
g
:
GetFirst
(),
nil
)
elseif
opval
[
op
]
==
3
then
Duel
.
BreakEffect
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c65130350
.
lfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
lfilter
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
1
,
nil
)
Duel
.
LinkSummon
(
tp
,
g
:
GetFirst
(),
nil
)
end
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