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
c9d53b77
Commit
c9d53b77
authored
Jul 08, 2025
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
e21e0380
Pipeline
#38718
failed with stages
in 79 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
1 deletion
+25
-1
script/c101302058.lua
script/c101302058.lua
+25
-1
No files found.
script/c101302058.lua
View file @
c9d53b77
...
@@ -20,7 +20,6 @@ function s.initial_effect(c)
...
@@ -20,7 +20,6 @@ function s.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetType
(
EFFECT_TYPE_EQUIP
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e2
:
SetCode
(
EFFECT_CANNOT_BE_EFFECT_TARGET
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
s
.
ibcon
)
e2
:
SetCondition
(
s
.
ibcon
)
e2
:
SetValue
(
aux
.
tgoval
)
e2
:
SetValue
(
aux
.
tgoval
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
...
@@ -55,6 +54,27 @@ function s.initial_effect(c)
...
@@ -55,6 +54,27 @@ function s.initial_effect(c)
e6
:
SetType
(
EFFECT_TYPE_XMATERIAL
+
EFFECT_TYPE_QUICK_O
)
e6
:
SetType
(
EFFECT_TYPE_XMATERIAL
+
EFFECT_TYPE_QUICK_O
)
e6
:
SetCondition
(
s
.
tgcon
)
e6
:
SetCondition
(
s
.
tgcon
)
c
:
RegisterEffect
(
e6
)
c
:
RegisterEffect
(
e6
)
--change type
local
e7
=
Effect
.
CreateEffect
(
c
)
e7
:
SetType
(
EFFECT_TYPE_EQUIP
)
e7
:
SetCode
(
EFFECT_ADD_TYPE
)
e7
:
SetValue
(
TYPE_EFFECT
)
e7
:
SetCondition
(
s
.
efcon
)
c
:
RegisterEffect
(
e7
)
local
e8
=
e7
:
Clone
()
e8
:
SetCode
(
EFFECT_REMOVE_TYPE
)
e8
:
SetValue
(
TYPE_NORMAL
)
c
:
RegisterEffect
(
e8
)
local
e9
=
Effect
.
CreateEffect
(
c
)
e9
:
SetType
(
EFFECT_TYPE_XMATERIAL
)
e9
:
SetCode
(
EFFECT_ADD_TYPE
)
e9
:
SetValue
(
TYPE_EFFECT
)
e9
:
SetCondition
(
s
.
tgcon
)
c
:
RegisterEffect
(
e9
)
local
e10
=
e9
:
Clone
()
e10
:
SetCode
(
EFFECT_REMOVE_TYPE
)
e10
:
SetValue
(
TYPE_NORMAL
)
c
:
RegisterEffect
(
e10
)
end
end
function
s
.
ibcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
ibcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
...
@@ -132,4 +152,8 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -132,4 +152,8 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
if
c
:
IsRelateToBattle
()
and
c
:
IsFaceup
()
then
if
c
:
IsRelateToBattle
()
and
c
:
IsFaceup
()
then
Duel
.
Destroy
(
c
,
REASON_EFFECT
)
Duel
.
Destroy
(
c
,
REASON_EFFECT
)
end
end
end
function
s
.
efcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ec
=
e
:
GetHandler
():
GetEquipTarget
()
return
ec
:
IsSetCard
(
0x2d3
)
end
end
\ No newline at end of file
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