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
Vury Leo
pre-release-database-cdb
Commits
2c34efe8
Commit
2c34efe8
authored
Apr 19, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 原石竜ネザー・ベルセリウス
parent
8c2bb78c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
script/c101301035.lua
script/c101301035.lua
+15
-10
No files found.
script/c101301035.lua
View file @
2c34efe8
...
@@ -29,7 +29,6 @@ function s.initial_effect(c)
...
@@ -29,7 +29,6 @@ function s.initial_effect(c)
e4
:
SetOperation
(
s
.
spop
)
e4
:
SetOperation
(
s
.
spop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
end
end
--atk
function
s
.
matcheck
(
e
,
c
)
function
s
.
matcheck
(
e
,
c
)
local
ct
=
c
:
GetMaterial
():
Filter
(
Card
.
IsType
,
nil
,
TYPE_NORMAL
):
GetCount
()
local
ct
=
c
:
GetMaterial
():
Filter
(
Card
.
IsType
,
nil
,
TYPE_NORMAL
):
GetCount
()
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
...
@@ -39,27 +38,33 @@ function s.matcheck(e,c)
...
@@ -39,27 +38,33 @@ function s.matcheck(e,c)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
e1
:
SetReset
(
RESET_EVENT
+
0xff0000
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
end
end
--disable
function
s
.
disfilter
(
c
)
function
s
.
disfilter
(
c
)
return
c
:
IsFaceup
()
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
not
c
:
IsDisabled
()
return
c
:
IsFaceup
()
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
)
and
not
c
:
IsDisabled
()
end
end
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
discon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
local
ct
=
Duel
.
GetMatchingGroupCount
(
Card
.
IsType
,
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
nil
,
TYPE_NORMAL
)
local
ct
=
Duel
.
GetMatchingGroupCount
(
aux
.
AND
(
Card
.
IsFaceupEx
,
Card
.
IsType
),
tp
,
LOCATION_GRAVE
+
LOCATION_MZONE
,
0
,
nil
,
TYPE_NORMAL
)
local
p
,
loc
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_CONTROLER
,
CHAININFO_TRIGGERING_LOCATION
)
local
p
,
loc
,
lv
,
rk
=
Duel
.
GetChainInfo
(
ev
,
CHAININFO_TRIGGERING_CONTROLER
,
CHAININFO_TRIGGERING_LOCATION
,
CHAININFO_TRIGGERING_LEVEL
,
CHAININFO_TRIGGERING_RANK
)
return
re
:
IsActiveType
(
TYPE_MONSTER
)
and
(
rc
:
IsLevelBelow
(
ct
)
or
rc
:
IsRankBelow
(
ct
)
or
rc
:
IsLinkBelow
(
ct
))
if
not
(
re
:
IsActiveType
(
TYPE_MONSTER
)
and
loc
==
LOCATION_MZONE
and
p
==
1
-
tp
and
not
c
:
IsStatus
(
STATUS_BATTLE_DESTROYED
))
then
and
loc
==
LOCATION_MZONE
return
false
and
Duel
.
IsExistingMatchingCard
(
s
.
disfilter
,
p
,
0
,
LOCATION_MZONE
,
1
,
nil
)
end
if
lv
>
0
then
if
ct
>=
lv
then
return
true
end
elseif
rk
>
0
then
if
ct
>=
rk
then
return
true
end
elseif
re
:
IsActiveType
(
TYPE_LINK
)
then
if
rc
:
IsLinkBelow
(
ct
)
then
return
true
end
end
end
end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
NegateEffect
(
ev
)
Duel
.
NegateEffect
(
ev
)
end
end
--special
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
spcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
return
e
:
GetHandler
():
IsPreviousLocation
(
LOCATION_ONFIELD
)
end
end
function
s
.
filter
(
c
,
e
,
tp
)
function
s
.
filter
(
c
,
e
,
tp
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFEN
C
E
)
return
c
:
IsType
(
TYPE_NORMAL
)
and
c
:
IsCanBeSpecialSummoned
(
e
,
0
,
tp
,
false
,
false
,
POS_FACEUP_DEFEN
S
E
)
end
end
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
s
.
sptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
if
chk
==
0
then
return
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
@@ -71,6 +76,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -71,6 +76,6 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
Duel
.
Hint
(
HINT_SELECTMSG
,
tp
,
HINTMSG_SPSUMMON
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
s
.
filter
,
tp
,
LOCATION_DECK
,
0
,
1
,
1
,
nil
,
e
,
tp
)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFEN
C
E
)
Duel
.
SpecialSummon
(
g
,
0
,
tp
,
tp
,
false
,
false
,
POS_FACEUP_DEFEN
S
E
)
end
end
end
end
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