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
c6fd2d6b
Commit
c6fd2d6b
authored
May 09, 2024
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
090ff4fa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
34 deletions
+39
-34
expansions/script/c10105908.lua
expansions/script/c10105908.lua
+15
-15
expansions/script/c10105909.lua
expansions/script/c10105909.lua
+24
-19
No files found.
expansions/script/c10105908.lua
View file @
c6fd2d6b
...
@@ -19,20 +19,20 @@ function c10105908.initial_effect(c)
...
@@ -19,20 +19,20 @@ function c10105908.initial_effect(c)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCountLimit
(
1
,
10105908
)
e2
:
SetCountLimit
(
1
,
10105908
)
e2
:
SetCondition
(
c10105908
.
spcon
)
e2
:
SetCondition
(
c10105908
.
spcon
)
e2
:
SetCost
(
c10105908
.
cost
)
e2
:
SetCost
(
c10105908
.
sp
cost
)
e2
:
SetTarget
(
c10105908
.
sptg
)
e2
:
SetTarget
(
c10105908
.
sptg
)
e2
:
SetOperation
(
c10105908
.
spop
)
e2
:
SetOperation
(
c10105908
.
spop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--SpecialSummon
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
10105908
,
1
))
e3
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
1
,
20105908
)
e3
:
SetCountLimit
(
1
,
101059080
)
e3
:
SetCost
(
c10105908
.
cost
)
e3
:
SetCost
(
c10105908
.
sp
cost
)
e3
:
SetTarget
(
c10105908
.
gsptg
)
e3
:
SetTarget
(
c10105908
.
sptg2
)
e3
:
SetOperation
(
c10105908
.
gspop
)
e3
:
SetOperation
(
c10105908
.
spop2
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
Duel
.
AddCustomActivityCounter
(
10105908
,
ACTIVITY_SPSUMMON
,
c10105908
.
counterfilter
)
Duel
.
AddCustomActivityCounter
(
10105908
,
ACTIVITY_SPSUMMON
,
c10105908
.
counterfilter
)
end
end
...
@@ -42,8 +42,8 @@ end
...
@@ -42,8 +42,8 @@ end
function
c10105908
.
lcheck
(
g
)
function
c10105908
.
lcheck
(
g
)
return
g
:
IsExists
(
Card
.
IsLinkRace
,
1
,
nil
,
RACE_INSECT
+
RACE_PLANT
+
RACE_REPTILE
)
return
g
:
IsExists
(
Card
.
IsLinkRace
,
1
,
nil
,
RACE_INSECT
+
RACE_PLANT
+
RACE_REPTILE
)
end
end
function
c10105908
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c10105908
.
sp
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
10105908
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
id
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
...
@@ -82,7 +82,9 @@ end
...
@@ -82,7 +82,9 @@ end
function
c10105908
.
tdfilter
(
c
,
tp
)
function
c10105908
.
tdfilter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_INSECT
+
RACE_PLANT
+
RACE_REPTILE
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
c
:
IsAbleToDeck
()
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_INSECT
+
RACE_PLANT
+
RACE_REPTILE
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
c
:
IsAbleToDeck
()
end
end
function
c10105908
.
gsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c10105908
.
sptg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c10105908
.
tdfilter
(
chkc
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c10105908
.
tdfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c10105908
.
tdfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
...
@@ -90,7 +92,7 @@ function c10105908.gsptg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -90,7 +92,7 @@ function c10105908.gsptg(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
end
function
c10105908
.
gspop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10105908
.
spop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
~=
0
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
~=
0
...
@@ -99,5 +101,3 @@ function c10105908.gspop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -99,5 +101,3 @@ function c10105908.gspop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
end
end
\ No newline at end of file
expansions/script/c10105909.lua
View file @
c6fd2d6b
...
@@ -33,9 +33,9 @@ function c10105909.initial_effect(c)
...
@@ -33,9 +33,9 @@ function c10105909.initial_effect(c)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetRange
(
LOCATION_GRAVE
)
e3
:
SetCountLimit
(
1
,
20105909
)
e3
:
SetCountLimit
(
1
,
101059090
)
e3
:
SetTarget
(
c10105909
.
g
sptg
)
e3
:
SetTarget
(
c10105909
.
sptg
)
e3
:
SetOperation
(
c10105909
.
g
spop
)
e3
:
SetOperation
(
c10105909
.
spop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c10105909
.
lcheck
(
g
)
function
c10105909
.
lcheck
(
g
)
...
@@ -59,18 +59,20 @@ function c10105909.rcop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,18 +59,20 @@ function c10105909.rcop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c10105909
.
td
filter
(
c
,
tp
)
function
c10105909
.
sp
filter
(
c
,
tp
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_INSECT
+
RACE_PLANT
+
RACE_REPTILE
)
and
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
c
:
IsAbleToDeck
()
return
Duel
.
GetMZoneCount
(
tp
,
c
)
>
0
and
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_INSECT
+
RACE_PLANT
+
RACE_REPTILE
)
and
c
:
IsAbleToDeck
()
end
end
function
c10105909
.
gsptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c10105909
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c10105909
.
tdfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
local
c
=
e
:
GetHandler
()
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
chkc
:
IsControler
(
tp
)
and
c10105909
.
spfilter
(
chkc
,
tp
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c10105909
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
tp
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c10105909
.
td
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c10105909
.
sp
filter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
1
,
nil
,
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
#
g
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
c
,
1
,
0
,
0
)
end
end
function
c10105909
.
g
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c10105909
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
~=
0
if
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsType
(
TYPE_MONSTER
)
and
Duel
.
SendtoDeck
(
tc
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
~=
0
...
@@ -78,12 +80,15 @@ function c10105909.gspop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -78,12 +80,15 @@ function c10105909.gspop(e,tp,eg,ep,ev,re,r,rp)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsRelateToEffect
(
e
)
then
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
and
c
:
IsRelateToEffect
(
e
)
then
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
c
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP
)
end
end
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_OATH
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c10105909
.
splimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
c10105909
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
not
c
:
IsRace
(
RACE_INSECT
+
RACE_PLANT
+
RACE_REPTILE
)
end
end
\ No newline at end of file
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