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
MyCard
pre-release-database-cdb
Commits
4210dd24
Commit
4210dd24
authored
Apr 17, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix VS ロックス
parent
eeb43509
Pipeline
#35190
passed with stages
in 3 minutes and 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
script/c101301046.lua
script/c101301046.lua
+8
-7
No files found.
script/c101301046.lua
View file @
4210dd24
...
...
@@ -3,9 +3,9 @@ local s,id,o=GetID()
function
s
.
initial_effect
(
c
)
aux
.
AddCodeList
(
c
,
28168628
)
--xyz summon
aux
.
AddXyzProcedure
(
c
,
nil
,
4
,
2
,
s
.
ovfilter
,
aux
.
Stringid
(
id
,
0
),
99
,
s
.
xyzop
)
aux
.
AddXyzProcedure
(
c
,
aux
.
FilterBoolFunction
(
Card
.
IsSetCard
,
0x195
)
,
4
,
2
,
s
.
ovfilter
,
aux
.
Stringid
(
id
,
0
),
99
,
s
.
xyzop
)
c
:
EnableReviveLimit
()
--atk
--atk
down
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_FIELD
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
...
...
@@ -14,10 +14,11 @@ function s.initial_effect(c)
e1
:
SetValue
(
-
800
)
e1
:
SetCondition
(
s
.
atkcon1
)
c
:
RegisterEffect
(
e1
)
--atkup
local
e2
=
e1
:
Clone
()
e2
:
SetValue
(
1000
)
e2
:
SetTargetRange
(
LOCATION_MZONE
,
0
)
e2
:
SetTarget
(
aux
.
TargetBoolFunction
(
Card
.
IsSetCard
,
0x195
))
e2
:
SetValue
(
1000
)
e2
:
SetCondition
(
s
.
atkcon2
)
c
:
RegisterEffect
(
e2
)
--destroy
...
...
@@ -38,7 +39,10 @@ function s.initial_effect(c)
ge1
:
SetCode
(
EVENT_BATTLED
)
ge1
:
SetOperation
(
s
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
end
function
s
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x195
)
or
c
:
IsCode
(
28168628
))
end
function
s
.
atkcon1
(
e
)
return
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_DARK
)
...
...
@@ -49,9 +53,6 @@ end
function
s
.
atkcon3
(
e
)
return
e
:
GetHandler
():
GetOverlayGroup
():
IsExists
(
Card
.
IsAttribute
,
1
,
nil
,
ATTRIBUTE_EARTH
)
end
function
s
.
ovfilter
(
c
)
return
c
:
IsFaceup
()
and
(
c
:
IsSetCard
(
0x195
)
or
c
:
IsCode
(
28168628
))
end
function
s
.
xyzop
(
e
,
tp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
id
)
>
0
and
Duel
.
GetFlagEffect
(
tp
,
id
+
o
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
id
+
o
,
RESET_PHASE
+
PHASE_END
,
EFFECT_FLAG_OATH
,
1
)
...
...
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