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
55a02c8d
Commit
55a02c8d
authored
Jan 24, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e2218479
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
104 deletions
+14
-104
expansions/no81.cdb
expansions/no81.cdb
+0
-0
expansions/pics/98920005.jpg
expansions/pics/98920005.jpg
+0
-0
expansions/script/c33701522.lua
expansions/script/c33701522.lua
+12
-0
expansions/script/c98920005.lua
expansions/script/c98920005.lua
+0
-102
expansions/script/c98920053.lua
expansions/script/c98920053.lua
+1
-1
expansions/script/c98920104.lua
expansions/script/c98920104.lua
+1
-1
No files found.
expansions/no81.cdb
View file @
55a02c8d
No preview for this file type
expansions/pics/98920005.jpg
deleted
100644 → 0
View file @
e2218479
48.5 KB
expansions/script/c33701522.lua
View file @
55a02c8d
...
...
@@ -11,8 +11,17 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
distg
)
e1
:
SetOperation
(
cm
.
disop
)
c
:
RegisterEffect
(
e1
)
--act in hand
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_TRAP_ACT_IN_HAND
)
e2
:
SetCondition
(
cm
.
handcon
)
c
:
RegisterEffect
(
e2
)
end
function
cm
.
handcon
(
e
)
return
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
)
==
0
end
function
cm
.
cfilter
(
c
,
e
,
p
)
return
c
:
IsControler
(
p
)
and
c
:
IsLocation
(
LOCATION_MZONE
)
and
c
:
GetSequence
()
<
5
and
c
:
IsCanBeEffectTarget
(
e
)
end
...
...
@@ -35,6 +44,9 @@ function cm.distg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
local
tg1
=
g
:
FilterSelect
(
tp
,
cm
.
cfilter
,
tp
,
0
,
LOCATION_MZONE
,
2
,
2
,
tc
,
e
,
1
-
tp
)
tg
:
Merge
(
tg1
)
Duel
.
SetTargetCard
(
tg
)
if
e
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
and
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
LOCATION_MZONE
,
0
)
<
Duel
.
GetFieldGroupCount
(
e
:
GetHandlerPlayer
(),
0
,
LOCATION_MZONE
)
then
Duel
.
SetChainLimit
(
aux
.
FALSE
)
end
end
function
cm
.
filter1
(
c
,
p
)
return
c
:
IsControler
(
p
)
and
c
:
GetSequence
()
<
5
and
Duel
.
GetMatchingGroup
(
cm
.
cofilter
,
p
,
LOCATION_MZONE
,
0
,
nil
,
c
):
Filter
(
cm
.
filter2
,
nil
,
e
,
p
):
GetCount
()
>=
3
...
...
expansions/script/c98920005.lua
deleted
100644 → 0
View file @
e2218479
--迅捷松鼠
function
c98920005
.
initial_effect
(
c
)
--link summon
aux
.
AddLinkProcedure
(
c
,
nil
,
2
,
2
,
c98920005
.
lcheck
)
c
:
EnableReviveLimit
()
--search
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
98920005
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e1
:
SetProperty
(
EFFECT_FLAG_DELAY
)
e1
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
e1
:
SetCountLimit
(
1
,
98920005
)
e1
:
SetCondition
(
c98920005
.
thcon
)
e1
:
SetTarget
(
c98920005
.
thtg
)
e1
:
SetOperation
(
c98920005
.
thop
)
c
:
RegisterEffect
(
e1
)
--spsummon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
98920005
,
1
))
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
EVENT_TO_GRAVE
)
e3
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
+
EFFECT_FLAG_DELAY
)
e3
:
SetCountLimit
(
1
,
98930005
)
e3
:
SetCondition
(
c98920005
.
spcon
)
e3
:
SetTarget
(
c98920005
.
sptg
)
e3
:
SetOperation
(
c98920005
.
spop
)
c
:
RegisterEffect
(
e3
)
end
function
c98920005
.
lcheck
(
g
,
lc
)
return
g
:
GetClassCount
(
Card
.
GetCode
)
==
1
end
function
c98920005
.
thcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_LINK
)
end
function
c98920005
.
thfilter
(
c
)
return
c
:
IsLevel
(
2
)
and
(
c
:
IsAttribute
(
ATTRIBUTE_EARTH
)
or
c
:
IsAttribute
(
ATTRIBUTE_WATER
))
and
c
:
IsAbleToHand
()
end
function
c98920005
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c98920005
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c98920005
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c98920005
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
EFFECT_CANNOT_ACTIVATE
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetValue
(
c98920005
.
aclimit
)
e1
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
Duel
.
RegisterEffect
(
e1
,
tp
)
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e2
:
SetCode
(
EVENT_SUMMON_SUCCESS
)
e2
:
SetOperation
(
c98920005
.
regop
)
e2
:
SetLabelObject
(
e1
)
e2
:
SetLabel
(
g
:
GetFirst
():
GetCode
())
e2
:
SetReset
(
RESET_PHASE
+
PHASE_END
,
2
)
Duel
.
RegisterEffect
(
e2
,
tp
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EVENT_SPSUMMON_SUCCESS
)
Duel
.
RegisterEffect
(
e3
,
tp
)
end
end
function
c98920005
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
return
c
:
IsReason
(
REASON_BATTLE
)
or
(
c
:
IsReason
(
REASON_DESTROY
)
and
c
:
IsPreviousControler
(
tp
)
and
c
:
GetReasonPlayer
()
==
1
-
tp
)
end
function
c98920005
.
spfilter
(
c
,
e
,
tp
)
return
c
:
IsSetCard
(
0x78
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
end
function
c98920005
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
Duel
.
IsExistingMatchingCard
(
c98920005
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
,
e
,
tp
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
c98920005
.
spop
(
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
,
c98920005
.
spfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
function
c98920005
.
aclimit
(
e
,
re
,
tp
)
return
re
:
GetHandler
():
IsCode
(
e
:
GetLabel
())
end
function
c98920005
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
eg
:
GetFirst
()
if
tc
:
IsSummonPlayer
(
tp
)
and
tc
:
IsCode
(
e
:
GetLabel
())
then
e
:
GetLabelObject
():
Reset
()
e
:
Reset
()
end
end
\ No newline at end of file
expansions/script/c98920053.lua
View file @
55a02c8d
...
...
@@ -5,7 +5,7 @@ function c98920053.initial_effect(c)
c
:
EnableReviveLimit
()
--fusion summon
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
+
CATEGORY_DECKDES
)
e2
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_MZONE
)
...
...
expansions/script/c98920104.lua
View file @
55a02c8d
...
...
@@ -55,7 +55,7 @@ function c98920104.splimit(e,c,sump,sumtype,sumpos,targetp)
return
not
c
:
IsSetCard
(
0xaf
)
and
bit
.
band
(
sumtype
,
SUMMON_TYPE_PENDULUM
)
==
SUMMON_TYPE_PENDULUM
end
function
c98920104
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0xaf
)
and
c
:
Is
Type
(
TYPE_PENDULUM
)
and
c
:
Is
AbleToHand
()
return
c
:
IsSetCard
(
0xaf
)
and
c
:
IsAbleToHand
()
end
function
c98920104
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c98920104
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
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