Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
P
pre-release-database-cdb
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
Ruby
pre-release-database-cdb
Commits
105c9fae
Commit
105c9fae
authored
Dec 08, 2023
by
Tang Xinwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 電極獣,アニオン サクリファイス・ランクアップ ,地縛共振
parent
686f3578
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
+10
-9
script/c100214011.lua
script/c100214011.lua
+2
-2
script/c100214013.lua
script/c100214013.lua
+4
-3
script/c100214014.lua
script/c100214014.lua
+4
-4
No files found.
script/c100214011.lua
View file @
105c9fae
--地
缚
共振
--地
縛
共振
function
c100214011
.
initial_effect
(
c
)
function
c100214011
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
...
@@ -29,7 +29,7 @@ function c100214011.initial_effect(c)
...
@@ -29,7 +29,7 @@ function c100214011.initial_effect(c)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c100214011
.
cfilter
(
c
,
tp
)
function
c100214011
.
cfilter
(
c
,
tp
)
return
c
:
IsPrevious
Position
(
POS_FACEUP
)
and
c
:
IsPrevious
Controler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsSummonLocation
(
LOCATION_EXTRA
)
return
c
:
IsPreviousControler
(
tp
)
and
c
:
IsPreviousLocation
(
LOCATION_MZONE
)
and
c
:
IsSummonLocation
(
LOCATION_EXTRA
)
and
not
c
:
IsType
(
TYPE_TOKEN
)
and
not
c
:
IsType
(
TYPE_TOKEN
)
and
c
:
IsReason
(
REASON_EFFECT
)
and
c
:
IsReason
(
REASON_EFFECT
)
end
end
...
...
script/c100214013.lua
View file @
105c9fae
--
电极兽 阴离子
--
電極獣アニオン
function
c100214013
.
initial_effect
(
c
)
function
c100214013
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
100214013
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
100214013
,
0
))
...
@@ -27,6 +27,7 @@ end
...
@@ -27,6 +27,7 @@ end
function
c100214013
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c100214013
.
lvtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
chk
==
0
then
return
not
c
:
IsLevel
(
4
)
end
if
chk
==
0
then
return
not
c
:
IsLevel
(
4
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
)
end
end
function
c100214013
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100214013
.
lvop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
@@ -35,7 +36,7 @@ function c100214013.lvop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -35,7 +36,7 @@ function c100214013.lvop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetCode
(
EFFECT_CHANGE_LEVEL
)
e1
:
SetValue
(
4
)
e1
:
SetValue
(
4
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
if
c
:
IsLevel
(
4
)
and
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
c100214013
.
thfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
if
c
:
IsLevel
(
4
)
and
Duel
.
IsExistingMatchingCard
(
aux
.
NecroValleyFilter
(
c100214013
.
thfilter
),
tp
,
LOCATION_DECK
+
LOCATION_GRAVE
,
0
,
1
,
nil
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100214013
,
2
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
100214013
,
2
))
then
...
@@ -64,7 +65,7 @@ function c100214013.drop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -64,7 +65,7 @@ function c100214013.drop(e,tp,eg,ep,ev,re,r,rp)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
then
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsRelateToEffect
(
e
)
then
local
g
=
Group
.
FromCards
(
c
,
tc
)
local
g
=
Group
.
FromCards
(
c
,
tc
)
if
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
~=
2
then
if
Duel
.
SendtoGrave
(
g
,
REASON_EFFECT
)
~=
0
then
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
Duel
.
Draw
(
tp
,
1
,
REASON_EFFECT
)
end
end
end
end
...
...
script/c100214014.lua
View file @
105c9fae
--
纳祭升阶
--
サクリファイス・ランクアップ
function
c100214014
.
initial_effect
(
c
)
function
c100214014
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
100214014
,
0
))
e1
:
SetDescription
(
aux
.
Stringid
(
100214014
,
0
))
...
@@ -13,11 +13,11 @@ function c100214014.initial_effect(c)
...
@@ -13,11 +13,11 @@ function c100214014.initial_effect(c)
end
end
function
c100214014
.
filter1
(
c
,
e
,
tp
)
function
c100214014
.
filter1
(
c
,
e
,
tp
)
local
rk
=
c
:
GetRank
()
local
rk
=
c
:
GetRank
()
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_XYZ
)
and
c
:
GetOverlayCount
()
>=
2
and
Duel
.
IsExistingMatchingCard
(
c100214014
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
rk
+
1
)
and
Duel
.
IsExistingMatchingCard
(
c100214014
.
filter2
,
tp
,
LOCATION_EXTRA
,
0
,
1
,
nil
,
e
,
tp
,
rk
+
1
)
end
end
function
c100214014
.
filter2
(
c
,
e
,
tp
,
rk
)
function
c100214014
.
filter2
(
c
,
e
,
tp
,
rk
)
return
c
:
IsRank
(
rk
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
return
c
:
IsRank
(
rk
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
and
Duel
.
GetLocationCountFromEx
(
tp
,
tp
,
nil
,
c
)
>
0
end
end
function
c100214014
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c100214014
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c100214014
.
filter1
(
chkc
,
e
,
tp
)
end
if
chkc
then
return
chkc
:
IsControler
(
tp
)
and
chkc
:
IsLocation
(
LOCATION_MZONE
)
and
c100214014
.
filter1
(
chkc
,
e
,
tp
)
end
...
@@ -29,7 +29,7 @@ end
...
@@ -29,7 +29,7 @@ end
function
c100214014
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c100214014
.
activate
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
Duel
.
GetFirstTarget
()
local
tc
=
Duel
.
GetFirstTarget
()
if
not
aux
.
MustMaterialCheck
(
tc
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
then
return
end
if
not
aux
.
MustMaterialCheck
(
tc
,
tp
,
EFFECT_MUST_BE_XMATERIAL
)
then
return
end
if
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
or
tc
:
IsControler
(
1
-
tp
)
or
tc
:
IsImmuneToEffect
(
e
)
then
return
end
if
tc
:
IsFacedown
()
or
not
tc
:
IsRelateToEffect
(
e
)
then
return
end
local
g
=
tc
:
GetOverlayGroup
()
local
g
=
tc
:
GetOverlayGroup
()
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_REMOVE
)
local
rg
=
g
:
FilterSelect
(
tp
,
Card
.
IsAbleToRemove
,
2
,
2
,
nil
,
POS_FACEUP
)
local
rg
=
g
:
FilterSelect
(
tp
,
Card
.
IsAbleToRemove
,
2
,
2
,
nil
,
POS_FACEUP
)
...
...
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