Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
MyCard
ygopro-scripts-888
Commits
2afce688
Commit
2afce688
authored
Jul 13, 2025
by
Vury Leo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add LockedCodes
parent
9150d818
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
281 additions
and
113 deletions
+281
-113
c11443677.lua
c11443677.lua
+36
-29
c2129638.lua
c2129638.lua
+18
-11
c44362883.lua
c44362883.lua
+11
-10
c70534340.lua
c70534340.lua
+7
-1
c71143015.lua
c71143015.lua
+5
-4
procedure.lua
procedure.lua
+204
-58
No files found.
c11443677.lua
View file @
2afce688
--ブルーアイズ・タイラント・ドラゴン
--ブルーアイズ・タイラント・ドラゴン
function
c11443677
.
initial_effect
(
c
)
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--fusion material
--fusion material
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
89631139
,
aux
.
FilterBoolFunction
(
Card
.
IsRace
,
RACE_DRAGON
),
1
,
true
,
true
)
-- aux.AddFusionProcCodeFun(c,89631139,aux.FilterBoolFunction(Card.IsRace,RACE_DRAGON),1,true,true)
Fusion
.
AddFusionProcedure
(
c
,{
slots
=
{
Fusion
.
Slot
.
Code
(
89631139
),
Fusion
.
Slot
.
Filter
(
function
(
mc
,
tc
)
return
mc
:
IsRace
(
RACE_DRAGON
)
end
),
}
})
--special summon condition
--special summon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
@@ -17,9 +24,9 @@ function c11443677.initial_effect(c)
...
@@ -17,9 +24,9 @@ function c11443677.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e2
:
SetRange
(
LOCATION_EXTRA
)
e2
:
SetRange
(
LOCATION_EXTRA
)
e2
:
SetCondition
(
c11443677
.
sprcon
)
e2
:
SetCondition
(
s
.
sprcon
)
e2
:
SetTarget
(
c11443677
.
sprtg
)
e2
:
SetTarget
(
s
.
sprtg
)
e2
:
SetOperation
(
c11443677
.
sprop
)
e2
:
SetOperation
(
s
.
sprop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--immune
--immune
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
@@ -27,7 +34,7 @@ function c11443677.initial_effect(c)
...
@@ -27,7 +34,7 @@ function c11443677.initial_effect(c)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetValue
(
c11443677
.
efilter
)
e3
:
SetValue
(
s
.
efilter
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
--attack all
--attack all
local
e4
=
Effect
.
CreateEffect
(
c
)
local
e4
=
Effect
.
CreateEffect
(
c
)
...
@@ -37,32 +44,32 @@ function c11443677.initial_effect(c)
...
@@ -37,32 +44,32 @@ function c11443677.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--set trap
--set trap
local
e5
=
Effect
.
CreateEffect
(
c
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
11443677
,
0
))
e5
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e5
:
SetCode
(
EVENT_DAMAGE_STEP_END
)
e5
:
SetCode
(
EVENT_DAMAGE_STEP_END
)
e5
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e5
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e5
:
SetCondition
(
c11443677
.
setcon
)
e5
:
SetCondition
(
s
.
setcon
)
e5
:
SetTarget
(
c11443677
.
settg
)
e5
:
SetTarget
(
s
.
settg
)
e5
:
SetOperation
(
c11443677
.
setop
)
e5
:
SetOperation
(
s
.
setop
)
c
:
RegisterEffect
(
e5
)
c
:
RegisterEffect
(
e5
)
end
end
function
c11443677
.
ultimate_fusion_check
(
tp
,
sg
,
fc
)
function
s
.
ultimate_fusion_check
(
tp
,
sg
,
fc
)
return
aux
.
gffcheck
(
sg
,
Card
.
IsFusionCode
,
89631139
,
Card
.
IsRace
,
RACE_DRAGON
)
return
aux
.
gffcheck
(
sg
,
Card
.
IsFusionCode
,
89631139
,
Card
.
IsRace
,
RACE_DRAGON
)
end
end
function
c11443677
.
cfilter
(
c
)
function
s
.
cfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
GetOriginalType
()
&
TYPE_FUSION
~=
0
return
c
:
IsFaceup
()
and
c
:
GetOriginalType
()
&
TYPE_FUSION
~=
0
end
end
function
c11443677
.
sprfilter
(
c
,
tp
,
sc
)
function
s
.
sprfilter
(
c
,
tp
,
sc
)
local
eqc
=
c
:
GetEquipGroup
():
FilterCount
(
c11443677
.
cfilter
,
nil
)
local
eqc
=
c
:
GetEquipGroup
():
FilterCount
(
s
.
cfilter
,
nil
)
return
c
:
IsFusionCode
(
89631139
)
and
eqc
>
0
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
sc
)
>
0
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
return
c
:
IsFusionCode
(
89631139
)
and
eqc
>
0
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
c
,
sc
)
>
0
and
c
:
IsCanBeFusionMaterial
(
sc
,
SUMMON_TYPE_SPECIAL
)
end
end
function
c11443677
.
sprcon
(
e
,
c
)
function
s
.
sprcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
return
Duel
.
CheckReleaseGroupEx
(
tp
,
c11443677
.
sprfilter
,
1
,
REASON_SPSUMMON
,
false
,
nil
,
tp
,
c
)
return
Duel
.
CheckReleaseGroupEx
(
tp
,
s
.
sprfilter
,
1
,
REASON_SPSUMMON
,
false
,
nil
,
tp
,
c
)
end
end
function
c11443677
.
sprtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
function
s
.
sprtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
c11443677
.
sprfilter
,
nil
,
tp
,
c
)
local
g
=
Duel
.
GetReleaseGroup
(
tp
,
false
,
REASON_SPSUMMON
):
Filter
(
s
.
sprfilter
,
nil
,
tp
,
c
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_RELEASE
)
local
tc
=
g
:
SelectUnselect
(
nil
,
tp
,
false
,
true
,
1
,
1
)
local
tc
=
g
:
SelectUnselect
(
nil
,
tp
,
false
,
true
,
1
,
1
)
if
tc
then
if
tc
then
...
@@ -70,31 +77,31 @@ function c11443677.sprtg(e,tp,eg,ep,ev,re,r,rp,chk,c)
...
@@ -70,31 +77,31 @@ function c11443677.sprtg(e,tp,eg,ep,ev,re,r,rp,chk,c)
return
true
return
true
else
return
false
end
else
return
false
end
end
end
function
c11443677
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
s
.
sprop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
tc
=
e
:
GetLabelObject
()
local
tc
=
e
:
GetLabelObject
()
c
:
SetMaterial
(
Group
.
FromCards
(
tc
))
c
:
SetMaterial
(
Group
.
FromCards
(
tc
))
Duel
.
Release
(
tc
,
REASON_SPSUMMON
)
Duel
.
Release
(
tc
,
REASON_SPSUMMON
)
end
end
function
c11443677
.
efilter
(
e
,
te
)
function
s
.
efilter
(
e
,
te
)
return
te
:
IsActiveType
(
TYPE_TRAP
)
return
te
:
IsActiveType
(
TYPE_TRAP
)
end
end
function
c11443677
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
setcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
11443677
)
==
0
and
aux
.
dsercon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetFlagEffect
(
id
)
==
0
and
aux
.
dsercon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
end
end
function
c11443677
.
setfilter
(
c
)
function
s
.
setfilter
(
c
)
return
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsSSetable
()
return
c
:
IsType
(
TYPE_TRAP
)
and
c
:
IsSSetable
()
end
end
function
c11443677
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
s
.
settg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
c11443677
.
setfilter
(
chkc
)
end
if
chkc
then
return
chkc
:
IsLocation
(
LOCATION_GRAVE
)
and
chkc
:
IsControler
(
tp
)
and
s
.
setfilter
(
chkc
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
c11443677
.
setfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
if
chk
==
0
then
return
Duel
.
IsExistingTarget
(
s
.
setfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SET
)
local
g
=
Duel
.
SelectTarget
(
tp
,
c11443677
.
setfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectTarget
(
tp
,
s
.
setfilter
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
1
,
nil
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
g
,
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_LEAVE_GRAVE
,
g
,
1
,
0
,
0
)
if
e
:
IsCostChecked
()
then
if
e
:
IsCostChecked
()
then
e
:
GetHandler
():
RegisterFlagEffect
(
11443677
,
RESET_EVENT
|
RESET_TOFIELD
|
RESET_TURN_SET
|
RESET_PHASE
|
PHASE_END
,
0
,
0
,
1
)
e
:
GetHandler
():
RegisterFlagEffect
(
id
,
RESET_EVENT
|
RESET_TOFIELD
|
RESET_TURN_SET
|
RESET_PHASE
|
PHASE_END
,
0
,
0
,
1
)
end
end
end
end
function
c11443677
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
setop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
tc
:
IsRelateToEffect
(
e
)
then
if
tc
:
IsRelateToEffect
(
e
)
then
Duel
.
SSet
(
tp
,
tc
)
Duel
.
SSet
(
tp
,
tc
)
...
...
c2129638.lua
View file @
2afce688
--青眼の双爆裂龍
--青眼の双爆裂龍
function
c2129638
.
initial_effect
(
c
)
local
s
,
id
,
o
=
GetID
()
function
s
.
initial_effect
(
c
)
--fusion material
--fusion material
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeRep
(
c
,
89631139
,
2
,
true
,
true
)
-- aux.AddFusionProcCodeRep(c,89631139,2,true,true)
Fusion
.
AddFusionProcedure
(
c
,{
slots
=
{
Fusion
.
Slot
.
Code
(
89631139
),
Fusion
.
Slot
.
Code
(
89631139
),
}
})
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToGraveAsCost
,
LOCATION_MZONE
,
0
,
Duel
.
SendtoGrave
,
REASON_COST
)
aux
.
AddContactFusionProcedure
(
c
,
Card
.
IsAbleToGraveAsCost
,
LOCATION_MZONE
,
0
,
Duel
.
SendtoGrave
,
REASON_COST
)
--spsummon condition
--spsummon condition
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
+
EFFECT_FLAG_UNCOPYABLE
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetCode
(
EFFECT_SPSUMMON_CONDITION
)
e1
:
SetValue
(
c2129638
.
splimit
)
e1
:
SetValue
(
s
.
splimit
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--indes
--indes
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
...
@@ -29,30 +36,30 @@ function c2129638.initial_effect(c)
...
@@ -29,30 +36,30 @@ function c2129638.initial_effect(c)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
--remove
--remove
local
e7
=
Effect
.
CreateEffect
(
c
)
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetDescription
(
aux
.
Stringid
(
2129638
,
0
))
e7
:
SetDescription
(
aux
.
Stringid
(
id
,
0
))
e7
:
SetCategory
(
CATEGORY_REMOVE
)
e7
:
SetCategory
(
CATEGORY_REMOVE
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e7
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_TRIGGER_O
)
e7
:
SetCode
(
EVENT_DAMAGE_STEP_END
)
e7
:
SetCode
(
EVENT_DAMAGE_STEP_END
)
e7
:
SetCondition
(
c2129638
.
rmcon
)
e7
:
SetCondition
(
s
.
rmcon
)
e7
:
SetTarget
(
c2129638
.
rmtg
)
e7
:
SetTarget
(
s
.
rmtg
)
e7
:
SetOperation
(
c2129638
.
rmop
)
e7
:
SetOperation
(
s
.
rmop
)
c
:
RegisterEffect
(
e7
)
c
:
RegisterEffect
(
e7
)
end
end
function
c2129638
.
splimit
(
e
,
se
,
sp
,
st
)
function
s
.
splimit
(
e
,
se
,
sp
,
st
)
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
return
bit
.
band
(
st
,
SUMMON_TYPE_FUSION
)
==
SUMMON_TYPE_FUSION
end
end
function
c2129638
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
rmcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
bc
=
c
:
GetBattleTarget
()
local
bc
=
c
:
GetBattleTarget
()
e
:
SetLabelObject
(
bc
)
e
:
SetLabelObject
(
bc
)
return
c
==
Duel
.
GetAttacker
()
and
aux
.
dsercon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
c
==
Duel
.
GetAttacker
()
and
aux
.
dsercon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
and
bc
and
c
:
IsStatus
(
STATUS_OPPO_BATTLE
)
and
bc
:
IsOnField
()
and
bc
:
IsRelateToBattle
()
and
bc
and
c
:
IsStatus
(
STATUS_OPPO_BATTLE
)
and
bc
:
IsOnField
()
and
bc
:
IsRelateToBattle
()
end
end
function
c2129638
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
rmtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetLabelObject
():
IsAbleToRemove
()
end
if
chk
==
0
then
return
e
:
GetLabelObject
():
IsAbleToRemove
()
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
e
:
GetLabelObject
(),
1
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_REMOVE
,
e
:
GetLabelObject
(),
1
,
0
,
0
)
end
end
function
c2129638
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
rmop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
bc
=
e
:
GetLabelObject
()
local
bc
=
e
:
GetLabelObject
()
if
bc
:
IsRelateToBattle
()
then
if
bc
:
IsRelateToBattle
()
then
Duel
.
Remove
(
bc
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
bc
,
POS_FACEUP
,
REASON_EFFECT
)
...
...
c44362883.lua
View file @
2afce688
...
@@ -6,7 +6,8 @@ function s.initial_effect(c)
...
@@ -6,7 +6,8 @@ function s.initial_effect(c)
local
e1
=
FusionSpell
.
CreateSummonEffect
(
c
,{
local
e1
=
FusionSpell
.
CreateSummonEffect
(
c
,{
fusfilter
=
s
.
fusfilter
,
fusfilter
=
s
.
fusfilter
,
pre_select_mat_location
=
LOCATION_HAND
|
LOCATION_DECK
|
LOCATION_MZONE
,
pre_select_mat_location
=
LOCATION_HAND
|
LOCATION_DECK
|
LOCATION_MZONE
,
additional_fcheck
=
s
.
fcheck
additional_fcheck
=
s
.
fcheck
,
locked_codes
=
{
68468459
},
})
})
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
+
CATEGORY_DECKDES
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
+
CATEGORY_DECKDES
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
e1
:
SetCountLimit
(
1
,
id
+
EFFECT_COUNT_CODE_OATH
)
...
@@ -44,14 +45,14 @@ function s.fcheck(tp,mg,fc,mg_all)
...
@@ -44,14 +45,14 @@ function s.fcheck(tp,mg,fc,mg_all)
if
#
mg_all
>
2
then
if
#
mg_all
>
2
then
return
false
return
false
end
end
if
fc
.
branded_fusion_check
~=
nil
then
--
if fc.branded_fusion_check~=nil then
if
fc
.
branded_fusion_check
(
tp
,
mg_all
,
fc
)
==
false
then
--
if fc.branded_fusion_check(tp,mg_all,fc)==false then
return
false
--
return false
end
--
end
else
--
else
if
not
mg_all
:
IsExists
(
function
(
c
)
return
c
:
IsFusionCode
(
68468459
)
end
,
1
,
nil
)
then
--
if not mg_all:IsExists(function(c) return c:IsFusionCode(68468459) end,1,nil) then
return
false
--
return false
end
--
end
end
--
end
return
true
return
true
end
end
c70534340.lua
View file @
2afce688
...
@@ -3,7 +3,13 @@ local s,id,o=GetID()
...
@@ -3,7 +3,13 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
function
s
.
initial_effect
(
c
)
--fusion material
--fusion material
c
:
EnableReviveLimit
()
c
:
EnableReviveLimit
()
aux
.
AddFusionProcCodeFun
(
c
,
68468459
,
aux
.
FilterBoolFunction
(
Card
.
IsFusionAttribute
,
ATTRIBUTE_DARK
),
1
,
true
,
true
)
-- aux.AddFusionProcCodeFun(c,68468459,aux.FilterBoolFunction(Card.IsFusionAttribute,ATTRIBUTE_DARK),1,true,true)
Fusion
.
AddFusionProcedure
(
c
,{
slots
=
{
Fusion
.
Slot
.
Code
(
68468459
),
Fusion
.
Slot
.
Filter
(
function
(
mc
,
tc
)
return
mc
:
IsFusionAttribute
(
ATTRIBUTE_DARK
,
tc
:
GetOwner
())
end
),
}
})
--spsummon
--spsummon
local
e1
=
FusionSpell
.
CreateSummonEffect
(
c
,{
local
e1
=
FusionSpell
.
CreateSummonEffect
(
c
,{
fusfilter
=
s
.
fusfilter
,
fusfilter
=
s
.
fusfilter
,
...
...
c71143015.lua
View file @
2afce688
...
@@ -10,7 +10,8 @@ function s.initial_effect(c)
...
@@ -10,7 +10,8 @@ function s.initial_effect(c)
{
[
LOCATION_DECK
]
=
FusionSpell
.
FUSION_OPERATION_GRAVE
},
{
[
LOCATION_DECK
]
=
FusionSpell
.
FUSION_OPERATION_GRAVE
},
{
[
0xff
]
=
FusionSpell
.
FUSION_OPERATION_SHUFFLE
}
{
[
0xff
]
=
FusionSpell
.
FUSION_OPERATION_SHUFFLE
}
},
},
stage_x_operation
=
s
.
stage_x_operation
stage_x_operation
=
s
.
stage_x_operation
,
locked_codes
=
{
89631139
,
23995346
}
})
})
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
+
CATEGORY_GRAVE_ACTION
)
e1
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
+
CATEGORY_FUSION_SUMMON
+
CATEGORY_GRAVE_ACTION
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
e1
:
SetHintTiming
(
0
,
TIMINGS_CHECK_MONSTER
+
TIMING_MAIN_END
)
...
@@ -34,9 +35,9 @@ function s.fcheck(tp,mg,fc,mg_all)
...
@@ -34,9 +35,9 @@ function s.fcheck(tp,mg,fc,mg_all)
if
fc
.
ultimate_fusion_check
(
tp
,
mg_all
,
fc
)
==
false
then
if
fc
.
ultimate_fusion_check
(
tp
,
mg_all
,
fc
)
==
false
then
return
false
return
false
end
end
elseif
not
(
mg_all
:
IsExists
(
function
(
c
)
return
c
:
IsFusionCode
(
89631139
)
end
,
1
,
nil
)
and
aux
.
IsMaterialListCode
(
fc
,
89631139
)
==
true
--
elseif not (mg_all:IsExists(function(c) return c:IsFusionCode(89631139) end,1,nil) and aux.IsMaterialListCode(fc,89631139)==true
or
mg_all
:
IsExists
(
function
(
c
)
return
c
:
IsFusionCode
(
23995346
)
end
,
1
,
nil
)
and
aux
.
IsMaterialListCode
(
fc
,
23995346
)
==
true
)
then
--
or mg_all:IsExists(function(c) return c:IsFusionCode(23995346) end,1,nil) and aux.IsMaterialListCode(fc,23995346)==true) then
return
false
--
return false
end
end
return
true
return
true
end
end
...
...
procedure.lua
View file @
2afce688
This diff is collapsed.
Click to expand it.
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