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
4a7b73e1
Commit
4a7b73e1
authored
Apr 20, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
be616683
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
80 additions
and
6 deletions
+80
-6
expansions/script/c5916590.lua
expansions/script/c5916590.lua
+6
-4
expansions/script/c98941059.lua
expansions/script/c98941059.lua
+74
-2
No files found.
expansions/script/c5916590.lua
View file @
4a7b73e1
...
...
@@ -6,8 +6,8 @@ function s.initial_effect(c)
c
:
EnableReviveLimit
()
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e1
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
TIMING_END_PHASE
,
TIMING_END_PHASE
+
TIMING_STANDBY_PHASE
)
...
...
@@ -90,18 +90,20 @@ function s.getsearchgroup(c,e,tp,eg,ep,ev,re,r,rp)
return
true
end
Card
.
IsAbleToHand
=
function
(
card
)
s
.
discard
_effect
=
true
s
earch
_effect
=
true
return
cisabletohand
(
card
)
end
Card
.
IsAbleToHandAsCost
=
function
(
card
)
s
.
discard
_effect
=
true
s
earch
_effect
=
true
return
cisabletohandascost
(
card
)
end
Card
.
RegisterEffect
=
function
(
card
,
effect
,
flag
)
if
effect
and
effect
:
GetType
()
~=
EFFECT_TYPE_FIELD
then
s
.
discard
_effect
=
false
s
earch
_effect
=
false
local
cost
=
effect
:
GetCost
()
local
tg
=
effect
:
GetTarget
()
if
cost
and
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
then
end
if
tg
and
tg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
0
)
then
end
end
return
end
...
...
expansions/script/c98941059.lua
View file @
4a7b73e1
--魊影的恐惧 羽
local
s
,
id
,
o
=
GetID
()
function
c98941059
.
initial_effect
(
c
)
--小鱼
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetDescription
(
aux
.
Stringid
(
98941059
,
3
))
e0
:
SetType
(
EFFECT_TYPE_FIELD
)
...
...
@@ -18,6 +19,24 @@ function c98941059.initial_effect(c)
e33
:
SetTarget
(
c98941059
.
eftg1
)
e33
:
SetLabelObject
(
e0
)
c
:
RegisterEffect
(
e33
)
--大蛇
local
e10
=
Effect
.
CreateEffect
(
c
)
e10
:
SetDescription
(
aux
.
Stringid
(
98941059
,
3
))
e10
:
SetType
(
EFFECT_TYPE_FIELD
)
e10
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e10
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e10
:
SetRange
(
LOCATION_EXTRA
)
e10
:
SetCondition
(
c98941059
.
con1
)
e10
:
SetTarget
(
c98941059
.
tg1
)
e10
:
SetOperation
(
c98941059
.
op1
)
e10
:
SetValue
(
SUMMON_TYPE_SYNCHRO
)
local
e30
=
Effect
.
CreateEffect
(
c
)
e30
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_GRANT
)
e30
:
SetRange
(
LOCATION_MZONE
)
e30
:
SetTargetRange
(
LOCATION_EXTRA
,
0
)
e30
:
SetTarget
(
c98941059
.
eftg2
)
e30
:
SetLabelObject
(
e10
)
c
:
RegisterEffect
(
e30
)
--spsummon itself
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
...
...
@@ -84,13 +103,66 @@ function c98941059.op(e,tp,eg,ep,ev,re,r,rp,c,og,min,max)
g2
:
DeleteGroup
()
end
function
c98941059
.
eftg1
(
e
,
c
)
return
c
:
IsSetCard
(
0x18a
)
return
c
:
IsSetCard
(
0x18a
)
and
not
c
:
IsCode
(
72309040
)
end
function
c98941059
.
synfilter1
(
c
)
return
c
:
IsRace
(
RACE_FISH
)
and
((
c
:
IsFaceup
()
and
c
:
IsLocation
(
LOCATION_MZONE
))
or
not
c
:
IsLocation
(
LOCATION_MZONE
))
and
c
:
IsAbleToRemove
()
end
function
c98941059
.
con1
(
e
,
c
,
smat
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
ft
=
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
if
ft
<=
0
then
return
false
end
local
g
=
Duel
.
GetMatchingGroup
(
c98941059
.
synfilter1
,
c
:
GetControler
(),
LOCATION_DECK
+
LOCATION_MZONE
,
0
,
nil
)
aux
.
GCheckAdditional
=
c98941059
.
hspgcheck
local
res
=
g
:
CheckSubGroup
(
c98941059
.
hspcheck
,
2
,
#
g
)
aux
.
GCheckAdditional
=
nil
return
res
end
function
c98941059
.
hspgcheck
(
g
)
--Duel.SetSelectedCard(g)
return
g
:
GetSum
(
Card
.
GetLevel
)
<=
10
end
function
c98941059
.
hspcheck
(
g
)
--Duel.SetSelectedCard(g)
return
g
:
GetSum
(
Card
.
GetLevel
)
==
10
and
g
:
IsExists
(
Card
.
IsType
,
1
,
nil
,
TYPE_TUNER
)
and
g
:
IsExists
(
c98941059
.
notunerfilter
,
1
,
nil
)
end
function
c98941059
.
notunerfilter
(
c
)
return
not
c
:
IsType
(
TYPE_TUNER
)
end
function
c98941059
.
tg1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
,
og
,
min
,
max
)
local
mg
=
Duel
.
GetMatchingGroup
(
c98941059
.
synfilter1
,
c
:
GetControler
(),
LOCATION_DECK
+
LOCATION_MZONE
,
0
,
nil
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
aux
.
GCheckAdditional
=
c98941059
.
hspgcheck
local
g
=
mg
:
SelectSubGroup
(
tp
,
c98941059
.
hspcheck
,
false
,
2
,
#
mg
)
aux
.
GCheckAdditional
=
nil
if
g
then
g
:
KeepAlive
()
e
:
SetLabelObject
(
g
)
return
true
else
return
false
end
end
function
c98941059
.
op1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
og
,
min
,
max
)
local
g
=
e
:
GetLabelObject
()
c
:
SetMaterial
(
g
)
local
g2
=
g
:
Filter
(
Card
.
IsLocation
,
nil
,
LOCATION_DECK
)
local
g1
=
g
:
Clone
()
g1
:
Sub
(
g2
)
Duel
.
SendtoGrave
(
g1
,
REASON_MATERIAL
+
REASON_SYNCHRO
)
Duel
.
Remove
(
g2
,
POS_FACEUP
,
REASON_MATERIAL
+
REASON_SYNCHRO
)
Duel
.
RegisterFlagEffect
(
tp
,
98941059
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
g
:
DeleteGroup
()
g1
:
DeleteGroup
()
g2
:
DeleteGroup
()
end
function
c98941059
.
eftg2
(
e
,
c
)
return
c
:
IsCode
(
72309040
)
end
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
end
function
s
.
costfilter
(
c
)
return
c
:
IsRace
(
RACE_FISH
)
and
c
:
IsAbleToRemoveAsCost
()
return
c
:
IsRace
(
RACE_FISH
)
and
c
:
IsAbleToRemoveAsCost
()
and
not
c
:
IsCode
(
98941059
)
end
function
s
.
spcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
...
...
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