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
Huangnan
no81cards
Commits
ca3c3950
Commit
ca3c3950
authored
Jul 31, 2023
by
Nemo Ma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
647a289d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
expansions/script/c11500100.lua
expansions/script/c11500100.lua
+6
-5
expansions/script/c22348303.lua
expansions/script/c22348303.lua
+1
-0
No files found.
expansions/script/c11500100.lua
View file @
ca3c3950
...
@@ -18,6 +18,7 @@ function c11500100.initial_effect(c)
...
@@ -18,6 +18,7 @@ function c11500100.initial_effect(c)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetRange
(
LOCATION_EXTRA
)
e1
:
SetCondition
(
c11500100
.
espcon
)
e1
:
SetCondition
(
c11500100
.
espcon
)
e1
:
SetOperation
(
c11500100
.
espop
)
e1
:
SetOperation
(
c11500100
.
espop
)
e1
:
SetValue
(
SUMMON_TYPE_XYZ
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--atk/def
--atk/def
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -96,21 +97,21 @@ function c11500100.mtop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -96,21 +97,21 @@ function c11500100.mtop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Remove
(
c
,
POS_FACEDOWN
,
REASON_COST
)
Duel
.
Remove
(
c
,
POS_FACEDOWN
,
REASON_COST
)
end
end
end
end
function
c11500100
.
ovfil
(
c
,
tp
)
function
c11500100
.
covfil
(
c
,
e
,
tp
)
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
c
:
GetLevel
())
local
g
=
Duel
.
GetDecktopGroup
(
tp
,
c
:
GetLevel
())
return
c
:
IsCan
Overlay
()
and
c
:
IsLevelAbove
(
1
)
and
g
:
FilterCount
(
Card
.
IsAbleToRemove
,
nil
)
==
c
:
GetLevel
()
return
c
:
IsCan
BeXyzMaterial
(
e
:
GetHandler
())
and
c
:
IsLevelAbove
(
1
)
and
g
:
FilterCount
(
Card
.
IsAbleToRemoveAsCost
,
nil
)
==
c
:
GetLevel
()
end
end
function
c11500100
.
ovgck
(
g
,
e
,
tp
)
function
c11500100
.
ovgck
(
g
,
e
,
tp
)
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
e
:
GetHandler
())
>
0
and
g
:
GetClassCount
(
Card
.
GetLevel
)
==
g
:
GetCount
()
return
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
g
,
e
:
GetHandler
())
>
0
and
g
:
GetClassCount
(
Card
.
GetLevel
)
==
1
end
end
function
c11500100
.
espcon
(
e
,
c
)
function
c11500100
.
espcon
(
e
,
c
)
if
c
==
nil
then
return
true
end
if
c
==
nil
then
return
true
end
local
tp
=
c
:
GetControler
()
local
tp
=
c
:
GetControler
()
local
g
=
Duel
.
GetMatchingGroup
(
c11500100
.
ovfil
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
c11500100
.
covfil
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
,
tp
)
return
g
:
CheckSubGroup
(
c11500100
.
ovgck
,
3
,
3
,
e
,
tp
)
return
g
:
CheckSubGroup
(
c11500100
.
ovgck
,
3
,
3
,
e
,
tp
)
end
end
function
c11500100
.
espop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
function
c11500100
.
espop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
c
)
local
g
=
Duel
.
GetMatchingGroup
(
c11500100
.
ovfil
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
tp
)
local
g
=
Duel
.
GetMatchingGroup
(
c11500100
.
covfil
,
tp
,
LOCATION_MZONE
,
0
,
nil
,
e
,
tp
)
local
og
=
g
:
SelectSubGroup
(
tp
,
c11500100
.
ovgck
,
false
,
3
,
3
,
e
,
tp
)
local
og
=
g
:
SelectSubGroup
(
tp
,
c11500100
.
ovgck
,
false
,
3
,
3
,
e
,
tp
)
local
lv
=
og
:
GetFirst
():
GetLevel
()
local
lv
=
og
:
GetFirst
():
GetLevel
()
local
rg
=
Duel
.
GetDecktopGroup
(
tp
,
lv
)
local
rg
=
Duel
.
GetDecktopGroup
(
tp
,
lv
)
...
...
expansions/script/c22348303.lua
View file @
ca3c3950
...
@@ -12,6 +12,7 @@ function cm.initial_effect(c)
...
@@ -12,6 +12,7 @@ function cm.initial_effect(c)
e2
:
SetDescription
(
aux
.
Stringid
(
22348303
,
0
))
e2
:
SetDescription
(
aux
.
Stringid
(
22348303
,
0
))
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetRange
(
LOCATION_SZONE
)
e2
:
SetCountLimit
(
1
)
e2
:
SetTarget
(
c22348303
.
ddtg
)
e2
:
SetTarget
(
c22348303
.
ddtg
)
e2
:
SetOperation
(
c22348303
.
ddop
)
e2
:
SetOperation
(
c22348303
.
ddop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
...
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