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
八宫一月
pre-release-database-cdb
Commits
2cfcb334
Commit
2cfcb334
authored
May 14, 2024
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
722466a0
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
29 additions
and
15 deletions
+29
-15
script/c101206201.lua
script/c101206201.lua
+3
-0
script/c101206203.lua
script/c101206203.lua
+2
-2
script/c101206204.lua
script/c101206204.lua
+1
-1
script/c101206205.lua
script/c101206205.lua
+5
-5
script/c101206206.lua
script/c101206206.lua
+6
-1
script/c101206207.lua
script/c101206207.lua
+6
-1
script/c101206208.lua
script/c101206208.lua
+1
-0
script/c101206209.lua
script/c101206209.lua
+5
-5
No files found.
script/c101206201.lua
View file @
2cfcb334
...
...
@@ -62,6 +62,9 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
function
s
.
splimit
(
e
,
c
)
return
not
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
function
s
.
filter
(
c
)
return
c
:
IsSetCard
(
0x2b7
)
and
c
:
IsRace
(
RACE_FISH
)
and
c
:
IsAbleToHand
()
end
...
...
script/c101206203.lua
View file @
2cfcb334
...
...
@@ -29,7 +29,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
end
function
s
.
tgfilter
(
c
,
e
,
tp
)
return
c
:
IsAbleToGraveAsCost
()
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
0
,
LOCATION_MZONE
,
1
,
nil
,
e
,
tp
,
c
:
GetRank
())
return
c
:
IsAbleToGraveAsCost
()
and
c
:
IsAttribute
(
ATTRIBUTE_WATER
)
and
c
:
IsType
(
TYPE_XYZ
)
and
Duel
.
IsExistingTarget
(
s
.
spfilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
,
e
,
tp
,
c
:
GetRank
())
end
function
s
.
spfilter
(
c
,
e
,
tp
,
rk
)
return
c
:
IsFaceup
()
and
c
:
IsLevel
(
rk
)
and
c
:
IsRace
(
RACE_FISH
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
...
...
@@ -74,7 +74,7 @@ end
function
s
.
eqop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
tc
=
Duel
.
GetFirstTarget
()
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
and
tc
:
IsControler
(
tp
)
then
if
c
:
IsRelateToEffect
(
e
)
and
tc
:
IsFaceup
()
and
tc
:
IsRelateToEffect
(
e
)
then
if
not
Duel
.
Equip
(
tp
,
c
,
tc
)
then
return
end
--equip limit
local
e1
=
Effect
.
CreateEffect
(
c
)
...
...
script/c101206204.lua
View file @
2cfcb334
...
...
@@ -29,7 +29,7 @@ function s.cfilter(c)
return
c
:
IsType
(
TYPE_SPELL
)
and
c
:
IsDiscardable
()
end
function
s
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRank
Below
(
4
)
and
c
:
IsSetCard
(
0x12b7
)
return
c
:
IsFaceup
()
and
c
:
IsRank
(
4
)
and
c
:
IsSetCard
(
0x12b7
)
end
function
s
.
xyzop
(
e
,
tp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
cfilter
,
tp
,
LOCATION_HAND
,
0
,
1
,
nil
)
end
...
...
script/c101206205.lua
View file @
2cfcb334
...
...
@@ -37,12 +37,12 @@ function s.thfilter(c)
return
c
:
IsCode
(
101206208
)
and
c
:
IsAbleToHand
()
end
function
s
.
thtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_
GRAVE
+
LOCATION_
DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_
GRAVE
+
LOCATION_
DECK
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
nil
)
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TOHAND
,
nil
,
1
,
tp
,
LOCATION_DECK
)
end
function
s
.
thop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_ATOHAND
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
aux
.
NecroValleyFilter
(
s
.
thfilter
),
tp
,
LOCATION_GRAVE
+
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
thfilter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
)
if
g
:
GetCount
()
>
0
then
Duel
.
SendtoHand
(
g
,
nil
,
REASON_EFFECT
)
Duel
.
ConfirmCards
(
1
-
tp
,
g
)
...
...
@@ -54,7 +54,7 @@ function s.thcost2(e,tp,eg,ep,ev,re,r,rp,chk)
end
function
s
.
thfilter2
(
c
)
return
not
c
:
IsCode
(
id
)
and
c
:
IsRace
(
RACE_FISH
+
RACE_AQUA
+
RACE_SEASERPENT
)
and
c
:
Is
LevelBelow
(
4
)
and
c
:
Is
AbleToHand
()
and
c
:
IsAbleToHand
()
end
function
s
.
thtg2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
thfilter2
,
tp
,
LOCATION_GRAVE
,
0
,
1
,
nil
)
end
...
...
@@ -96,7 +96,7 @@ function s.xyzop(e,tp,eg,ep,ev,re,r,rp)
local
tc2
=
tg
:
GetFirst
()
if
tc
then
local
og
=
tc
:
GetOverlayGroup
()
local
sg
=
og
:
Select
(
1
,
1
,
nil
)
local
sg
=
og
:
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
Overlay
(
tc
,
sg
)
end
end
\ No newline at end of file
script/c101206206.lua
View file @
2cfcb334
...
...
@@ -41,12 +41,17 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
e1
:
SetCode
(
EFFECT_CANNOT_SPECIAL_SUMMON
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
Set
AbsoluteRange
(
tp
,
1
,
0
)
e1
:
Set
TargetRange
(
1
,
0
)
e1
:
SetTarget
(
s
.
splimit
)
e1
:
SetCondition
(
s
.
con
)
e1
:
SetLabel
(
tp
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
tc
:
RegisterEffect
(
e1
,
true
)
end
end
function
s
.
con
(
e
)
return
e
:
GetHandler
():
GetControler
()
==
e
:
GetLabel
()
end
function
s
.
splimit
(
e
,
c
)
return
not
c
:
IsType
(
TYPE_XYZ
)
and
c
:
IsLocation
(
LOCATION_EXTRA
)
end
...
...
script/c101206207.lua
View file @
2cfcb334
...
...
@@ -5,6 +5,7 @@ function s.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_EQUIP
)
e1
:
SetCode
(
EFFECT_INDESTRUCTABLE_BATTLE
)
e1
:
SetCondition
(
s
.
ibcon
)
e1
:
SetValue
(
1
)
c
:
RegisterEffect
(
e1
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -32,7 +33,11 @@ function s.initial_effect(c)
e4
:
SetOperation
(
s
.
eqop
)
c
:
RegisterEffect
(
e4
)
end
function
s
.
xyzcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
ibcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
return
ec
:
IsType
(
TYPE_XYZ
)
end
function
s
.
xyzcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetBattledGroupCount
()
>
0
end
function
s
.
thfilter
(
c
,
ec
)
...
...
script/c101206208.lua
View file @
2cfcb334
...
...
@@ -17,6 +17,7 @@ function s.initial_effect(c)
e2
:
SetProperty
(
EFFECT_FLAG_CARD_TARGET
)
e2
:
SetCode
(
EVENT_FREE_CHAIN
)
e2
:
SetRange
(
LOCATION_GRAVE
)
e2
:
SetCountLimit
(
1
,
id
+
o
)
e2
:
SetCost
(
aux
.
bfgcost
)
e2
:
SetTarget
(
s
.
atttg
)
e2
:
SetOperation
(
s
.
attop
)
...
...
script/c101206209.lua
View file @
2cfcb334
...
...
@@ -32,14 +32,14 @@ function s.descon(e,tp,eg,ep,ev,re,r,rp)
return
Duel
.
IsExistingMatchingCard
(
s
.
ffilter
,
tp
,
LOCATION_MZONE
,
0
,
1
,
nil
)
end
function
s
.
desfilter
(
c
,
attr
)
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
attr
)
and
not
c
:
GetEquipGroup
()
return
c
:
IsFaceup
()
and
c
:
IsAttribute
(
attr
)
and
not
c
:
GetEquipGroup
()
:
Filter
(
Card
.
IsType
,
nil
,
TYPE_SPELL
)
end
function
s
.
filter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
GetEquipGroup
()
return
c
:
IsFaceup
()
and
not
c
:
GetEquipGroup
()
:
Filter
(
Card
.
IsType
,
nil
,
TYPE_SPELL
)
end
function
s
.
destg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
Card
.
IsFaceup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
if
chk
==
0
then
return
Duel
.
IsExistingMatchingCard
(
s
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
nil
)
end
local
g
=
Duel
.
GetMatchingGroup
(
s
.
filter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
)
local
attr
=
0
for
tc
in
aux
.
Next
(
g
)
do
attr
=
attr
|
tc
:
GetAttribute
()
...
...
@@ -63,7 +63,7 @@ function s.spcost(e,tp,eg,ep,ev,re,r,rp,chk)
Duel
.
RemoveOverlayCard
(
tp
,
1
,
0
,
1
,
1
,
REASON_COST
)
end
function
s
.
filter
(
c
,
e
,
tp
)
return
c
:
IsRace
(
RACE_FISH
+
RACE_AQUA
+
RACE_SEASERPENT
)
and
c
:
IsLevelBelow
(
4
)
and
(
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
))
return
c
:
IsRace
(
RACE_FISH
+
RACE_AQUA
+
RACE_SEASERPENT
)
and
(
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
)
or
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP
,
1
-
tp
))
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
(
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
or
Duel
.
GetLocationCount
(
1
-
tp
,
LOCATION_MZONE
)
>
0
)
...
...
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