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
f6e46ad4
Commit
f6e46ad4
authored
Sep 23, 2021
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fiz
parent
5305d146
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
185 additions
and
20 deletions
+185
-20
expansions/script/c15000540.lua
expansions/script/c15000540.lua
+2
-1
expansions/script/c15000541.lua
expansions/script/c15000541.lua
+2
-1
expansions/script/c15000542.lua
expansions/script/c15000542.lua
+2
-1
expansions/script/c15000543.lua
expansions/script/c15000543.lua
+2
-1
expansions/script/c15000547.lua
expansions/script/c15000547.lua
+2
-1
expansions/script/c15000548.lua
expansions/script/c15000548.lua
+2
-1
expansions/script/c33700350.lua
expansions/script/c33700350.lua
+15
-13
expansions/script/c33700351.lua
expansions/script/c33700351.lua
+157
-0
expansions/script/c40009946.lua
expansions/script/c40009946.lua
+1
-1
No files found.
expansions/script/c15000540.lua
View file @
f6e46ad4
...
...
@@ -24,6 +24,7 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
cm
.
FlipEffect_Deobra
=
e1
--be target
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetDescription
(
aux
.
Stringid
(
m
,
1
))
...
...
@@ -36,7 +37,7 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
thtg
)
e2
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e2
)
cm
.
self_flip_effect2
=
e2
cm
.
TargetEffect_Deobra
=
e2
--immune
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
m
,
2
))
...
...
expansions/script/c15000541.lua
View file @
f6e46ad4
...
...
@@ -11,6 +11,7 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
cm
.
FlipEffect_Deobra
=
e1
--be target
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
@@ -24,7 +25,7 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
sp2tg
)
e2
:
SetOperation
(
cm
.
sp2op
)
c
:
RegisterEffect
(
e2
)
cm
.
self_flip_effect2
=
e2
cm
.
TargetEffect_Deobra
=
e2
--special summon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c15000542.lua
View file @
f6e46ad4
...
...
@@ -11,6 +11,7 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
cm
.
FlipEffect_Deobra
=
e1
--be target
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_DISABLE
)
...
...
@@ -24,7 +25,7 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
tgtg
)
e2
:
SetOperation
(
cm
.
tgop
)
c
:
RegisterEffect
(
e2
)
cm
.
self_flip_effect2
=
e2
cm
.
TargetEffect_Deobra
=
e2
--special summon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c15000543.lua
View file @
f6e46ad4
...
...
@@ -11,6 +11,7 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
cm
.
FlipEffect_Deobra
=
e1
--be target
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_SEARCH
+
CATEGORY_TOHAND
)
...
...
@@ -24,7 +25,7 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
sp2tg
)
e2
:
SetOperation
(
cm
.
sp2op
)
c
:
RegisterEffect
(
e2
)
cm
.
self_flip_effect2
=
e2
cm
.
TargetEffect_Deobra
=
e2
--special summon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c15000547.lua
View file @
f6e46ad4
...
...
@@ -11,6 +11,7 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
cm
.
FlipEffect_Deobra
=
e1
--be target
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TOHAND
+
CATEGORY_SEARCH
)
...
...
@@ -24,7 +25,7 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
thtg
)
e2
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e2
)
cm
.
self_flip_effect2
=
e2
cm
.
TargetEffect_Deobra
=
e2
--special summon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c15000548.lua
View file @
f6e46ad4
...
...
@@ -11,6 +11,7 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
cm
.
FlipEffect_Deobra
=
e1
--be target
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetCategory
(
CATEGORY_TODECK
+
CATEGORY_DRAW
)
...
...
@@ -24,7 +25,7 @@ function cm.initial_effect(c)
e2
:
SetTarget
(
cm
.
thtg
)
e2
:
SetOperation
(
cm
.
thop
)
c
:
RegisterEffect
(
e2
)
cm
.
self_flip_effect2
=
e2
cm
.
TargetEffect_Deobra
=
e2
--special summon
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetCategory
(
CATEGORY_SPECIAL_SUMMON
)
...
...
expansions/script/c33700350.lua
View file @
f6e46ad4
--虚拟YouTuber YOMEMI
local
m
=
33700350
local
cm
=
_G
[
"c"
..
m
]
xpcall
(
function
()
require
(
"expansions/script/c37564765"
)
end
,
function
()
require
(
"script/c37564765"
)
end
)
function
cm
.
initial_effect
(
c
)
aux
.
AddSynchro
MixProcedure
(
c
,
aux
.
NonTuner
(
nil
),
nil
,
nil
,
aux
.
Tuner
(
nil
),
2
,
99
)
aux
.
AddSynchro
Procedure
(
c
,
nil
,
aux
.
NonTuner
(
nil
),
1
)
c
:
EnableReviveLimit
()
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetType
(
EFFECT_TYPE_SINGLE
)
...
...
@@ -27,17 +26,20 @@ function cm.initial_effect(c)
e1
:
SetTarget
(
cm
.
target
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
57579381
,
0
))
e1
:
SetCategory
(
CATEGORY_RECOVER
)
e1
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetCost
(
aux
.
bfgcost
)
e1
:
SetTarget
(
cm
.
target1
)
e1
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e1
)
local
e2
=
e1
:
Clone
()
e2
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e2
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
57579381
,
0
))
e5
:
SetCategory
(
CATEGORY_RECOVER
)
e5
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e5
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e5
:
SetCode
(
EVENT_FREE_CHAIN
)
e5
:
SetRange
(
LOCATION_GRAVE
)
e5
:
SetCost
(
aux
.
bfgcost
)
e5
:
SetTarget
(
cm
.
target1
)
e5
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e5
)
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
tp
==
Duel
.
GetTurnPlayer
()
...
...
expansions/script/c33700351.lua
0 → 100644
View file @
f6e46ad4
--虚拟YouTuber 萌实
local
m
=
33700350
local
cm
=
_G
[
"c"
..
m
]
function
c33700351
.
initial_effect
(
c
)
c
:
EnableReviveLimit
()
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_SINGLE
)
e0
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e0
:
SetRange
(
LOCATION_MZONE
)
e0
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e0
:
SetCondition
(
cm
.
lvcon
)
c
:
RegisterEffect
(
e0
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_SPSUMMON_PROC
)
e1
:
SetProperty
(
EFFECT_FLAG_UNCOPYABLE
+
EFFECT_FLAG_IGNORE_IMMUNE
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetValue
(
SUMMON_TYPE_SYNCHRO
)
e1
:
SetLabel
(
6
)
e1
:
SetCondition
(
cm
.
sycon
)
e1
:
SetOperation
(
cm
.
syop
)
e1
:
SetLabelObject
(
e0
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e2
:
SetValue
(
1
)
c
:
RegisterEffect
(
e2
)
local
e3
=
e2
:
Clone
()
e3
:
SetCode
(
EFFECT_INDESTRUCTABLE_EFFECT
)
c
:
RegisterEffect
(
e3
)
local
e4
=
Effect
.
CreateEffect
(
c
)
e4
:
SetType
(
EFFECT_TYPE_SINGLE
)
e4
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e4
:
SetCode
(
EFFECT_IMMUNE_EFFECT
)
e4
:
SetRange
(
LOCATION_MZONE
)
e4
:
SetCondition
(
cm
.
incon
)
e4
:
SetValue
(
cm
.
inefil
)
c
:
RegisterEffect
(
e4
)
local
e5
=
Effect
.
CreateEffect
(
c
)
e5
:
SetDescription
(
aux
.
Stringid
(
57579381
,
0
))
e5
:
SetCategory
(
CATEGORY_RECOVER
)
e5
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e5
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e5
:
SetCode
(
EVENT_PHASE
+
PHASE_STANDBY
)
e5
:
SetRange
(
LOCATION_MZONE
)
e5
:
SetCountLimit
(
1
)
e5
:
SetCondition
(
cm
.
condition
)
e5
:
SetTarget
(
cm
.
target
)
e5
:
SetOperation
(
cm
.
operation
)
c
:
RegisterEffect
(
e5
)
local
e6
=
e5
:
Clone
()
e6
:
SetCode
(
EVENT_PHASE
+
PHASE_END
)
c
:
RegisterEffect
(
e6
)
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetDescription
(
aux
.
Stringid
(
57579381
,
0
))
e7
:
SetCategory
(
CATEGORY_RECOVER
)
e7
:
SetType
(
EFFECT_TYPE_QUICK_O
)
e7
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e7
:
SetCode
(
EVENT_FREE_CHAIN
)
e7
:
SetRange
(
LOCATION_GRAVE
)
e7
:
SetCost
(
cm
.
cost1
)
e7
:
SetTarget
(
cm
.
target1
)
e7
:
SetOperation
(
cm
.
operation1
)
c
:
RegisterEffect
(
e7
)
end
function
cm
.
lvcon
(
e
)
return
e
:
GetHandler
():
IsSummonType
(
SUMMON_TYPE_SYNCHRO
)
end
function
cm
.
stfilter1
(
c
,
tc
)
return
c
:
IsCode
(
33700350
)
and
c
:
IsSynchroType
(
TYPE_TUNER
)
and
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsCanBeSynchroMaterial
(
tc
)
end
function
cm
.
stfilter2
(
c
,
tc
)
return
not
c
:
IsSynchroType
(
TYPE_TUNER
)
and
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
1
)
and
c
:
IsCanBeSynchroMaterial
(
tc
)
end
function
cm
.
stfilterg
(
g
,
tp
,
tc
,
smat
)
if
smat
then
g
:
AddCard
(
smat
)
end
local
g1
=
g
:
Filter
(
cm
.
stfilter1
,
nil
,
tc
)
local
g2
=
g
:
Filter
(
cm
.
stfilter2
,
nil
,
tc
)
local
count
=
g
:
GetCount
()
return
g1
:
GetCount
()
==
1
and
g2
:
GetCount
()
==
count
-
1
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
tc
)
>
0
end
function
cm
.
sycon
(
e
,
c
,
smat
,
mg
)
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
if
not
mg
then
mg
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
end
if
smat
then
mg
:
RemoveCard
(
smat
)
return
mg
:
CheckSubGroup
(
cm
.
stfilterg
,
1
,
nil
,
tp
,
c
,
smat
)
else
return
mg
:
CheckSubGroup
(
cm
.
stfilterg
,
2
,
nil
,
tp
,
c
,
nil
)
end
end
function
cm
.
syop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
,
smat
,
mg
)
if
not
mg
then
mg
=
Duel
.
GetMatchingGroup
(
nil
,
tp
,
LOCATION_MZONE
,
0
,
nil
)
end
local
g
=
Group
.
CreateGroup
()
if
smat
then
mg
:
RemoveCard
(
smat
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SMATERIAL
)
g
:
Merge
(
mg
:
SelectSubGroup
(
tp
,
cm
.
stfilterg
,
false
,
1
,
nil
,
tp
,
c
,
lv
,
smat
))
g
:
AddCard
(
smat
)
else
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SMATERIAL
)
g
:
Merge
(
mg
:
SelectSubGroup
(
tp
,
cm
.
stfilterg
,
false
,
2
,
nil
,
tp
,
c
,
lv
,
nil
))
end
c
:
SetMaterial
(
g
)
local
lv
=
g
:
GetSum
(
Card
.
GetLevel
)
Duel
.
SendtoGrave
(
g
,
REASON_MATERIAL
+
REASON_SYNCHRO
)
e
:
GetLabelObject
():
SetValue
(
lv
)
end
function
cm
.
incon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tp
=
e
:
GetHandler
():
GetControler
()
return
Duel
.
GetFieldGroupCount
(
tp
,
LOCATION_ONFIELD
,
0
)
==
1
end
function
cm
.
inefil
(
e
,
te
)
return
te
:
GetOwner
():
GetControler
()
~=
e
:
GetOwner
():
GetControler
()
end
function
cm
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
tp
==
Duel
.
GetTurnPlayer
()
end
function
cm
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
tp
,
e
:
GetHandler
():
GetLevel
()
*
250
)
end
function
cm
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
if
c
:
IsFaceup
()
and
c
:
IsRelateToEffect
(
e
)
then
local
p
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
)
Duel
.
Recover
(
p
,
c
:
GetLevel
()
*
250
,
REASON_EFFECT
)
end
end
function
cm
.
cost1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
c
:
IsAbleToExtraAsCost
()
end
Duel
.
SendtoDeck
(
c
,
nil
,
0
,
REASON_COST
)
end
function
cm
.
target1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
tp
)
Duel
.
SetTargetParam
(
3000
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_RECOVER
,
nil
,
0
,
tp
,
3000
)
end
function
cm
.
operation1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
p
,
d
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_PLAYER
,
CHAININFO_TARGET_PARAM
)
Duel
.
Recover
(
p
,
d
,
REASON_EFFECT
)
end
expansions/script/c40009946.lua
View file @
f6e46ad4
...
...
@@ -10,7 +10,7 @@ function cm.initial_effect(c)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetCountLimit
(
1
,
m
)
e1
:
SetCost
(
cm
.
cost
1
)
e1
:
SetCost
(
cm
.
cost
)
e1
:
SetTarget
(
cm
.
drtg
)
e1
:
SetOperation
(
cm
.
drop
)
c
:
RegisterEffect
(
e1
)
...
...
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