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
5f933e40
Commit
5f933e40
authored
Jul 01, 2025
by
POLYMER
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
2cd4ac4b
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
156 additions
and
154 deletions
+156
-154
expansions/script/c11451485.lua
expansions/script/c11451485.lua
+3
-1
expansions/script/c11451486.lua
expansions/script/c11451486.lua
+3
-1
expansions/script/c11451826.lua
expansions/script/c11451826.lua
+1
-0
expansions/script/c65812015.lua
expansions/script/c65812015.lua
+1
-1
expansions/script/c98500310.lua
expansions/script/c98500310.lua
+145
-148
expansions/script/c98500320.lua
expansions/script/c98500320.lua
+3
-3
No files found.
expansions/script/c11451485.lua
View file @
5f933e40
...
@@ -58,7 +58,7 @@ if not Duel.GetMustMaterial then
...
@@ -58,7 +58,7 @@ if not Duel.GetMustMaterial then
end
end
end
end
function
cm
.
spfilter
(
c
,
sc
)
function
cm
.
spfilter
(
c
,
sc
)
return
c
:
IsCanBeXyzMaterial
(
sc
)
and
((
c
:
IsOnField
()
and
c
:
IsFaceup
()
and
(
c
:
IsXyzLevel
(
sc
,
8
)
or
c
:
IsRank
(
8
)
or
(
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsRace
(
RACE_FAIRY
))))
or
(
c
:
IsLocation
(
LOCATION_HAND
)
and
(
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsRace
(
RACE_FAIRY
))))
return
c
:
IsCanBeXyzMaterial
(
sc
)
and
((
c
:
IsOnField
()
and
c
:
IsFaceup
()
and
(
c
:
IsXyzLevel
(
sc
,
8
)
or
c
:
IsRank
(
8
)
or
(
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsRace
(
RACE_FAIRY
))))
or
(
c
:
IsLocation
(
LOCATION_HAND
)
and
(
c
:
IsAttribute
(
ATTRIBUTE_FIRE
)
and
c
:
IsRace
(
RACE_FAIRY
)))
or
(
c
:
IsXyzLevel
(
sc
,
8
)
or
c
:
IsRank
(
8
))
)
end
end
function
cm
.
hand
(
g
)
function
cm
.
hand
(
g
)
return
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
)
<=
1
return
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
)
<=
1
...
@@ -73,6 +73,7 @@ function cm.spcon(e,c,og,min,max)
...
@@ -73,6 +73,7 @@ function cm.spcon(e,c,og,min,max)
maxc
=
math.min
(
maxc
,
max
)
maxc
=
math.min
(
maxc
,
max
)
end
end
if
maxc
<
minc
then
return
false
end
if
maxc
<
minc
then
return
false
end
local
mg
=
nil
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
c
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
c
,
c
)
if
og
then
if
og
then
mg
=
og
:
Filter
(
cm
.
spfilter
,
c
,
c
)
mg
=
og
:
Filter
(
cm
.
spfilter
,
c
,
c
)
...
@@ -96,6 +97,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c,og,min,max)
...
@@ -96,6 +97,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c,og,min,max)
if
max
<
maxc
then
maxc
=
max
end
if
max
<
maxc
then
maxc
=
max
end
end
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
c
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
c
,
c
)
local
mg
=
nil
if
og
then
if
og
then
mg
=
og
:
Filter
(
cm
.
spfilter
,
c
,
c
)
mg
=
og
:
Filter
(
cm
.
spfilter
,
c
,
c
)
else
else
...
...
expansions/script/c11451486.lua
View file @
5f933e40
...
@@ -56,7 +56,7 @@ if not Duel.GetMustMaterial then
...
@@ -56,7 +56,7 @@ if not Duel.GetMustMaterial then
end
end
end
end
function
cm
.
spfilter
(
c
,
sc
)
function
cm
.
spfilter
(
c
,
sc
)
return
c
:
IsCanBeXyzMaterial
(
sc
)
and
((
c
:
IsOnField
()
and
c
:
IsFaceup
()
and
(
c
:
IsXyzLevel
(
sc
,
8
)
or
c
:
IsRank
(
8
)
or
(
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsRace
(
RACE_FAIRY
))))
or
(
c
:
IsLocation
(
LOCATION_HAND
)
and
(
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsRace
(
RACE_FAIRY
))))
return
c
:
IsCanBeXyzMaterial
(
sc
)
and
((
c
:
IsOnField
()
and
c
:
IsFaceup
()
and
(
c
:
IsXyzLevel
(
sc
,
8
)
or
c
:
IsRank
(
8
)
or
(
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsRace
(
RACE_FAIRY
))))
or
(
c
:
IsLocation
(
LOCATION_HAND
)
and
(
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsRace
(
RACE_FAIRY
)))
or
(
c
:
IsXyzLevel
(
sc
,
8
)
or
c
:
IsRank
(
8
))
)
end
end
function
cm
.
hand
(
g
)
function
cm
.
hand
(
g
)
return
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
)
<=
1
return
g
:
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_HAND
)
<=
1
...
@@ -71,6 +71,7 @@ function cm.spcon(e,c,og,min,max)
...
@@ -71,6 +71,7 @@ function cm.spcon(e,c,og,min,max)
maxc
=
math.min
(
maxc
,
max
)
maxc
=
math.min
(
maxc
,
max
)
end
end
if
maxc
<
minc
then
return
false
end
if
maxc
<
minc
then
return
false
end
local
mg
=
nil
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
c
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
c
,
c
)
if
og
then
if
og
then
mg
=
og
:
Filter
(
cm
.
spfilter
,
c
,
c
)
mg
=
og
:
Filter
(
cm
.
spfilter
,
c
,
c
)
...
@@ -94,6 +95,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c,og,min,max)
...
@@ -94,6 +95,7 @@ function cm.sptg(e,tp,eg,ep,ev,re,r,rp,chk,c,og,min,max)
if
max
<
maxc
then
maxc
=
max
end
if
max
<
maxc
then
maxc
=
max
end
end
end
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
c
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
cm
.
spfilter
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
c
,
c
)
local
mg
=
nil
if
og
then
if
og
then
mg
=
og
:
Filter
(
cm
.
spfilter
,
c
,
c
)
mg
=
og
:
Filter
(
cm
.
spfilter
,
c
,
c
)
else
else
...
...
expansions/script/c11451826.lua
View file @
5f933e40
...
@@ -160,6 +160,7 @@ end
...
@@ -160,6 +160,7 @@ end
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
cm
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
)
if
not
tg
then
return
end
local
cg
=
tg
:
Filter
(
cm
.
imfilter
,
nil
,
e
,
re
)
local
cg
=
tg
:
Filter
(
cm
.
imfilter
,
nil
,
e
,
re
)
if
c
:
IsRelateToEffect
(
e
)
and
#
cg
>
0
then
if
c
:
IsRelateToEffect
(
e
)
and
#
cg
>
0
then
Duel
.
Overlay
(
c
,
cg
)
Duel
.
Overlay
(
c
,
cg
)
...
...
expansions/script/c65812015.lua
View file @
5f933e40
...
@@ -98,7 +98,7 @@ end
...
@@ -98,7 +98,7 @@ end
function
s
.
locfilter1
(
c
)
function
s
.
locfilter1
(
c
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
return
c
:
IsPreviousLocation
(
LOCATION_ONFIELD
)
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
and
(
c
:
GetPreviousSequence
()
~=
c
:
GetSequence
()
or
c
:
GetPreviousControler
()
~=
c
:
GetControler
()
or
c
:
GetPreviousLocation
()
~=
c
:
GetLocation
())
and
(
c
:
GetPreviousSequence
()
~=
c
:
GetSequence
()
or
c
:
GetPreviousControler
()
~=
c
:
GetControler
()
or
c
:
GetPreviousLocation
()
~=
c
:
GetLocation
())
and
c
:
GetFlagEffect
(
id
)
==
0
and
c
:
GetFlagEffect
(
id
+
1
)
==
0
end
end
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
...
expansions/script/c98500310.lua
View file @
5f933e40
--神力释放-真祖姿态
--神力释放-真祖姿态
function
c98500310
.
initial_effect
(
c
)
function
c98500310
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
10000000
,
10000010
,
10000020
)
aux
.
AddCodeList
(
c
,
10000000
,
10000010
,
10000020
)
aux
.
EnableChangeCode
(
c
,
7373632
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
aux
.
EnableChangeCode
(
c
,
7373632
,
LOCATION_MZONE
+
LOCATION_GRAVE
)
--Activate
--Activate
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
98500310
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
98500310
,
0
))
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_TOGRAVE
)
e1
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
+
CATEGORY_TOGRAVE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCondition
(
c98500310
.
condition2
)
e1
:
SetTarget
(
c98500310
.
target
)
e1
:
SetTarget
(
c98500310
.
target
)
e1
:
SetOperation
(
c98500310
.
activate
)
e1
:
SetOperation
(
c98500310
.
activate
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--SpecialSummon
--SpecialSummon
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
98500310
,
1
))
e2
:
SetDescription
(
aux
.
Stringid
(
98500310
,
1
))
e2
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e2
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
,
98500311
)
e2
:
SetCountLimit
(
1
,
98500311
)
e2
:
SetTarget
(
c98500310
.
sptg
)
e2
:
SetCondition
(
c98500310
.
condition2
)
e2
:
SetOperation
(
c98500310
.
spop
)
e2
:
SetTarget
(
c98500310
.
sptg
)
c
:
RegisterEffect
(
e2
)
e2
:
SetOperation
(
c98500310
.
spop
)
--fusion summon
c
:
RegisterEffect
(
e2
)
local
e3
=
Effect
.
CreateEffect
(
c
)
--fusion summon
e3
:
SetDescription
(
aux
.
Stringid
(
98500310
,
2
))
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetDescription
(
aux
.
Stringid
(
98500310
,
2
))
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetCountLimit
(
1
,
98500311
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetTarget
(
c98500310
.
fstg
)
e3
:
SetCountLimit
(
1
,
98500311
)
e3
:
SetOperation
(
c98500310
.
fsop
)
e3
:
SetCondition
(
c98500310
.
condition2
)
c
:
RegisterEffect
(
e3
)
e3
:
SetTarget
(
c98500310
.
fstg
)
Duel
.
AddCustomActivityCounter
(
98500310
,
ACTIVITY_SPSUMMON
,
c98500310
.
counterfilter
)
e3
:
SetOperation
(
c98500310
.
fsop
)
c
:
RegisterEffect
(
e3
)
Duel
.
AddCustomActivityCounter
(
98500310
,
ACTIVITY_SPSUMMON
,
c98500310
.
counterfilter
)
end
end
function
c98500310
.
counterfilter
(
c
)
function
c98500310
.
counterfilter
(
c
)
return
not
(
c
:
IsAttribute
(
ATTRIBUTE_DIVINE
)
and
c
:
IsSummonLocation
(
LOCATION_HAND
)
and
c
:
IsLevel
(
12
))
return
not
(
c
:
IsAttribute
(
ATTRIBUTE_DIVINE
)
and
c
:
IsSummonLocation
(
LOCATION_HAND
)
and
c
:
IsLevel
(
12
))
end
end
function
c98500310
.
cfilter
(
c
)
function
c98500310
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_DIVINE
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_DIVINE
)
end
end
function
c98500310
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98500310
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
IsExistingMatchingCard
(
c98500310
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
Duel
.
IsExistingMatchingCard
(
c98500310
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
c98500310
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98500310
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
not
Duel
.
IsExistingMatchingCard
(
c98500310
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
return
not
Duel
.
IsExistingMatchingCard
(
c98500310
.
cfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
end
function
c98500310
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c98500310
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
98500310
,
tp
,
ACTIVITY_SPSUMMON
)
==
0
end
if
chk
==
0
then
return
Duel
.
GetCustomActivityCount
(
98500310
,
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
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c98500310
.
splimit
)
e1
:
SetTarget
(
c98500310
.
splimit
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c98500310
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
function
c98500310
.
splimit
(
e
,
c
,
sump
,
sumtype
,
sumpos
,
targetp
,
se
)
return
c
:
IsAttribute
(
ATTRIBUTE_DIVINE
)
and
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsLevel
(
12
)
return
c
:
IsAttribute
(
ATTRIBUTE_DIVINE
)
and
c
:
IsLocation
(
LOCATION_HAND
)
and
c
:
IsLevel
(
12
)
end
end
function
c98500310
.
thfilter
(
c
)
function
c98500310
.
thfilter
(
c
)
return
c
:
IsCode
(
10000000
,
10000010
,
10000020
)
and
c
:
IsAbleToHand
()
return
c
:
IsCode
(
10000000
,
10000010
,
10000020
)
and
c
:
IsAbleToHand
()
end
end
function
c98500310
.
tgfilter
(
c
)
function
c98500310
.
tgfilter
(
c
)
return
c
:
IsCode
(
10000000
,
10000010
,
10000020
)
and
c
:
IsAbleToGrave
()
return
c
:
IsCode
(
10000000
,
10000010
,
10000020
)
and
c
:
IsAbleToGrave
()
end
end
function
c98500310
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c98500310
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c98500310
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
or
Duel
.
IsExistingMatchingCard
(
c98500310
.
tgfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
c98500310
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
or
Duel
.
IsExistingMatchingCard
(
c98500310
.
tgfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
)
end
local
b1
=
Duel
.
IsExistingMatchingCard
(
c98500310
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c98500310
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
c98500310
.
tgfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
c98500310
.
tgfilter
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
)
local
op
=
aux
.
SelectFromOptions
(
tp
,
local
op
=
aux
.
SelectFromOptions
(
tp
,
{
b1
,
aux
.
Stringid
(
98500310
,
0
)},
{
b1
,
aux
.
Stringid
(
98500310
,
0
)},
{
b2
,
aux
.
Stringid
(
98500310
,
6
)})
{
b2
,
aux
.
Stringid
(
98500310
,
6
)})
e
:
SetLabel
(
op
)
e
:
SetLabel
(
op
)
if
op
==
1
then
if
op
==
1
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
else
else
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOGRAVE
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
)
end
end
end
end
function
c98500310
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98500310
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
op
=
e
:
GetLabel
()
local
op
=
e
:
GetLabel
()
if
op
==
1
then
if
op
==
1
then
local
g
=
Duel
.
GetMatchingGroup
(
c98500310
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c98500310
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
98500310
,
7
))
then
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
98500310
,
7
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoHand
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
Duel
.
ConfirmCards
(
1
-
tp
,
sg
)
end
end
elseif
op
==
2
then
elseif
op
==
2
then
local
g
=
Duel
.
GetMatchingGroup
(
c98500310
.
thfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c98500310
.
thfilter
,
tp
,
LOCATION_HAND
+
LOCATION_DECK
,
0
,
nil
)
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
98500310
,
8
))
then
if
g
:
GetCount
()
>
0
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
98500310
,
8
))
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TOGRAVE
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
local
sg
=
g
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
SendtoGrave
(
sg
,
nil
,
REASON_EFFECT
)
Duel
.
SendtoGrave
(
sg
,
nil
,
REASON_EFFECT
)
end
end
end
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
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTargetRange
(
1
,
0
)
e1
:
SetTarget
(
c98500310
.
splimit
)
e1
:
SetTarget
(
c98500310
.
splimit
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
function
c98500310
.
splimit
(
e
,
c
)
function
c98500310
.
splimit
(
e
,
c
)
return
not
c
:
IsRace
(
RACE_DIVINE
)
return
not
c
:
IsRace
(
RACE_DIVINE
)
end
end
function
c98500310
.
spcostfilter1
(
c
)
function
c98500310
.
spcostfilter1
(
c
)
return
c
:
IsAbleToDeck
()
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
and
c
:
IsOriginalCodeRule
(
10000000
)
return
c
:
IsAbleToDeck
()
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
and
c
:
IsOriginalCodeRule
(
10000000
)
end
end
function
c98500310
.
spopfilter1
(
c
,
e
,
tp
)
function
c98500310
.
spopfilter1
(
c
,
e
,
tp
)
return
c
:
IsCode
(
98500323
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
return
c
:
IsCode
(
98500323
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
end
function
c98500310
.
spcostfilter2
(
c
,
e
,
tp
,
tc
)
function
c98500310
.
spcostfilter2
(
c
,
e
,
tp
,
tc
)
return
c
:
IsAbleToDeck
()
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
and
c
:
IsOriginalCodeRule
(
10000010
)
return
c
:
IsAbleToDeck
()
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
and
c
:
IsOriginalCodeRule
(
10000010
)
end
end
function
c98500310
.
spopfilter2
(
c
,
e
,
tp
)
function
c98500310
.
spopfilter2
(
c
,
e
,
tp
)
return
c
:
IsCode
(
98500322
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
return
c
:
IsCode
(
98500322
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
end
function
c98500310
.
spcostfilter3
(
c
,
e
,
tp
,
tc
)
function
c98500310
.
spcostfilter3
(
c
,
e
,
tp
,
tc
)
return
c
:
IsAbleToDeck
()
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
and
c
:
IsOriginalCodeRule
(
10000020
)
return
c
:
IsAbleToDeck
()
and
c
:
IsLocation
(
LOCATION_ONFIELD
)
and
c
:
IsOriginalCodeRule
(
10000020
)
end
end
function
c98500310
.
spopfilter3
(
c
,
e
,
tp
)
function
c98500310
.
spopfilter3
(
c
,
e
,
tp
)
return
c
:
IsCode
(
98500324
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
return
c
:
IsCode
(
98500324
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
end
end
function
c98500310
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c98500310
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
(
Duel
.
IsExistingMatchingCard
(
c98500310
.
spcostfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c98500310
.
spopfilter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
))
if
chk
==
0
then
return
(
Duel
.
IsExistingMatchingCard
(
c98500310
.
spcostfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c98500310
.
spopfilter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
))
or
(
Duel
.
IsExistingMatchingCard
(
c98500310
.
spcostfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c98500310
.
spopfilter2
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
))
or
(
Duel
.
IsExistingMatchingCard
(
c98500310
.
spcostfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c98500310
.
spopfilter2
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
))
or
(
Duel
.
IsExistingMatchingCard
(
c98500310
.
spcostfilter3
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c98500310
.
spopfilter3
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
))
end
or
(
Duel
.
IsExistingMatchingCard
(
c98500310
.
spcostfilter3
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c98500310
.
spopfilter3
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
))
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
)
end
end
function
c98500310
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98500310
.
spop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c98500310
.
spcostfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c98500310
.
spopfilter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
local
b1
=
Duel
.
IsExistingMatchingCard
(
c98500310
.
spcostfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c98500310
.
spopfilter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
c98500310
.
spcostfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c98500310
.
spopfilter2
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
local
b2
=
Duel
.
IsExistingMatchingCard
(
c98500310
.
spcostfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c98500310
.
spopfilter2
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
local
b3
=
Duel
.
IsExistingMatchingCard
(
c98500310
.
spcostfilter3
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c98500310
.
spopfilter3
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
local
b3
=
Duel
.
IsExistingMatchingCard
(
c98500310
.
spcostfilter3
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
nil
)
and
Duel
.
IsExistingMatchingCard
(
c98500310
.
spopfilter3
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
nil
,
e
,
tp
)
local
op
=
aux
.
SelectFromOptions
(
tp
,{
b1
,
aux
.
Stringid
(
98500310
,
4
)},{
b2
,
aux
.
Stringid
(
98500310
,
5
)},{
b3
,
aux
.
Stringid
(
98500310
,
3
)})
local
op
=
aux
.
SelectFromOptions
(
tp
,{
b1
,
aux
.
Stringid
(
98500310
,
4
)},{
b2
,
aux
.
Stringid
(
98500310
,
5
)},{
b3
,
aux
.
Stringid
(
98500310
,
3
)})
if
op
==
1
then
if
op
==
1
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c98500310
.
spcostfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
c98500310
.
spcostfilter1
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
g
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc2
=
Duel
.
SelectMatchingCard
(
tp
,
c98500310
.
spopfilter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
local
tc2
=
Duel
.
SelectMatchingCard
(
tp
,
c98500310
.
spopfilter1
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
Duel
.
SpecialSummon
(
tc2
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc2
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc2
:
CompleteProcedure
()
tc2
:
CompleteProcedure
()
elseif
op
==
2
then
elseif
op
==
2
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g3
=
Duel
.
SelectMatchingCard
(
tp
,
c98500310
.
spcostfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
g3
=
Duel
.
SelectMatchingCard
(
tp
,
c98500310
.
spcostfilter2
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoDeck
(
g3
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
g3
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc4
=
Duel
.
SelectMatchingCard
(
tp
,
c98500310
.
spopfilter2
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
local
tc4
=
Duel
.
SelectMatchingCard
(
tp
,
c98500310
.
spopfilter2
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
Duel
.
SpecialSummon
(
tc4
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc4
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc4
:
CompleteProcedure
()
tc4
:
CompleteProcedure
()
elseif
op
==
3
then
elseif
op
==
3
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_TODECK
)
local
g5
=
Duel
.
SelectMatchingCard
(
tp
,
c98500310
.
spcostfilter3
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
local
g5
=
Duel
.
SelectMatchingCard
(
tp
,
c98500310
.
spcostfilter3
,
tp
,
LOCATION_ONFIELD
,
0
,
1
,
1
,
nil
)
Duel
.
SendtoDeck
(
g5
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
Duel
.
SendtoDeck
(
g5
,
nil
,
SEQ_DECKBOTTOM
,
REASON_EFFECT
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tc6
=
Duel
.
SelectMatchingCard
(
tp
,
c98500310
.
spopfilter3
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
local
tc6
=
Duel
.
SelectMatchingCard
(
tp
,
c98500310
.
spopfilter3
,
tp
,
LOCATION_DECK
+
LOCATION_HAND
,
0
,
1
,
1
,
nil
,
e
,
tp
):
GetFirst
()
Duel
.
SpecialSummon
(
tc6
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc6
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
tc6
:
CompleteProcedure
()
tc6
:
CompleteProcedure
()
end
end
end
end
function
c98500310
.
fsfilter1
(
c
,
e
)
function
c98500310
.
fsfilter1
(
c
,
e
)
return
c
:
IsRace
(
RACE_DIVINE
)
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
return
c
:
IsRace
(
RACE_DIVINE
)
and
c
:
IsAbleToRemove
()
and
not
c
:
IsImmuneToEffect
(
e
)
end
end
function
c98500310
.
fsfilter2
(
c
,
e
,
tp
,
m
,
chkf
)
function
c98500310
.
fsfilter2
(
c
,
e
,
tp
,
m
,
chkf
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
,
true
)
return
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
true
,
false
)
and
c
:
CheckFusionMaterial
(
m
,
nil
,
chkf
,
true
)
end
end
function
c98500310
.
fstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c98500310
.
fstg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
if
chk
==
0
then
local
chkf
=
tp
|
0x200
local
chkf
=
tp
|
0x200
local
mg
=
Duel
.
GetMatchingGroup
(
c98500310
.
fsfilter1
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
,
e
)
local
mg
=
Duel
.
GetMatchingGroup
(
c98500310
.
fsfilter1
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
,
e
)
return
Duel
.
IsExistingMatchingCard
(
c98500310
.
fsfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg
,
chkf
)
return
Duel
.
IsExistingMatchingCard
(
c98500310
.
fsfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
mg
,
chkf
)
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
0
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
nil
,
0
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_SPECIAL_SUMMON
,
nil
,
1
,
tp
,
LOCATION_EXTRA
)
end
end
function
c98500310
.
fsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c98500310
.
fsop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
chkf
=
tp
|
0x200
local
chkf
=
tp
|
0x200
local
mg
=
Duel
.
GetMatchingGroup
(
c98500310
.
fsfilter1
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
,
e
)
local
mg
=
Duel
.
GetMatchingGroup
(
c98500310
.
fsfilter1
,
tp
,
LOCATION_HAND
+
LOCATION_MZONE
,
0
,
nil
,
e
)
local
sg
=
Duel
.
GetMatchingGroup
(
c98500310
.
fsfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg
,
chkf
)
local
sg
=
Duel
.
GetMatchingGroup
(
c98500310
.
fsfilter2
,
tp
,
LOCATION_EXTRA
,
0
,
nil
,
e
,
tp
,
mg
,
chkf
)
if
sg
:
GetCount
()
>
0
then
if
sg
:
GetCount
()
>
0
then
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tg
=
sg
:
Select
(
tp
,
1
,
1
,
nil
)
local
tc
=
tg
:
GetFirst
()
local
tc
=
tg
:
GetFirst
()
local
mat
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg
,
nil
,
chkf
,
true
)
local
mat
=
Duel
.
SelectFusionMaterial
(
tp
,
tc
,
mg
,
nil
,
chkf
,
true
)
Duel
.
Remove
(
mat
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
mat
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
Duel
.
SpecialSummon
(
tc
,
0
,
tp
,
tp
,
true
,
false
,
POS_FACEUP
)
end
end
end
end
expansions/script/c98500320.lua
View file @
5f933e40
--无名的法老
--无名的法老
function
c98500320
.
initial_effect
(
c
)
function
c98500320
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
46986414
,
9850032
00
,
10000010
,
10000020
)
aux
.
AddCodeList
(
c
,
46986414
,
100000
00
,
10000010
,
10000020
)
--to hand
--to hand
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
98500320
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
98500320
,
0
))
...
@@ -36,7 +36,7 @@ function c98500320.initial_effect(c)
...
@@ -36,7 +36,7 @@ function c98500320.initial_effect(c)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
e5
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e5
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCountLimit
(
1
)
e5
:
SetCountLimit
(
1
)
e5
:
SetTarget
(
c98500320
.
target
)
e5
:
SetTarget
(
c98500320
.
target
)
e5
:
SetOperation
(
c98500320
.
operation
)
e5
:
SetOperation
(
c98500320
.
operation
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
...
@@ -81,7 +81,7 @@ function c98500320.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -81,7 +81,7 @@ function c98500320.operation(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetProperty
(
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetValue
(
1
)
e1
:
SetValue
(
1
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
tc
:
RegisterEffect
(
e1
)
tc
:
RegisterEffect
(
e1
)
-- 添加免疫效果破坏
-- 添加免疫效果破坏
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
local
e2
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
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