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
964d710e
Commit
964d710e
authored
Jul 09, 2025
by
wind2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix あないみじや玉の緒ふたつ
parent
ba7686da
Pipeline
#38774
canceled with stages
in 40 minutes and 23 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
script/c101302071.lua
script/c101302071.lua
+10
-6
No files found.
script/c101302071.lua
View file @
964d710e
...
@@ -20,7 +20,7 @@ function s.initial_effect(c)
...
@@ -20,7 +20,7 @@ function s.initial_effect(c)
--destroy
--destroy
local
custom_code
=
aux
.
RegisterMergedDelayedEvent_ToSingleCard
(
c
,
id
,
EVENT_SPSUMMON_SUCCESS
)
local
custom_code
=
aux
.
RegisterMergedDelayedEvent_ToSingleCard
(
c
,
id
,
EVENT_SPSUMMON_SUCCESS
)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
2
))
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DAMAGE
)
e3
:
SetCategory
(
CATEGORY_DESTROY
+
CATEGORY_DAMAGE
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_TRIGGER_O
)
e3
:
SetCode
(
custom_code
)
e3
:
SetCode
(
custom_code
)
...
@@ -74,9 +74,11 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -74,9 +74,11 @@ function s.destg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
Hint
(
HINTMSG_DESTROY
,
tp
,
HINTMSG_DESTROY
)
Duel
.
Hint
(
HINTMSG_DESTROY
,
tp
,
HINTMSG_DESTROY
)
sg
=
Duel
.
SelectTarget
(
tp
,
aux
.
IsInGroup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
g
)
sg
=
Duel
.
SelectTarget
(
tp
,
aux
.
IsInGroup
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
1
,
1
,
nil
,
g
)
end
end
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
1
,
0
,
0
)
local
dg
=
sg
:
Clone
()
dg
:
AddCard
(
ec
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
dg
,
2
,
0
,
0
)
if
sg
:
GetFirst
():
IsFaceup
()
and
math.max
(
0
,
sg
:
GetFirst
():
GetTextAttack
())
>
0
then
if
sg
:
GetFirst
():
IsFaceup
()
and
math.max
(
0
,
sg
:
GetFirst
():
GetTextAttack
())
>
0
then
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
PLAYER_ALL
,
0
)
end
end
end
end
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
...
@@ -91,9 +93,11 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -91,9 +93,11 @@ function s.desop(e,tp,eg,ep,ev,re,r,rp)
atk
=
atk
+
math.max
(
0
,
dc
:
GetTextAttack
())
atk
=
atk
+
math.max
(
0
,
dc
:
GetTextAttack
())
end
end
if
atk
>
0
then
if
atk
>
0
then
Duel
.
Damage
(
tp
,
atk
,
REASON_EFFECT
)
local
val
=
Duel
.
Damage
(
tp
,
atk
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
if
val
>
0
and
Duel
.
GetLP
(
tp
)
>
0
then
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
Duel
.
Damage
(
1
-
tp
,
val
,
REASON_EFFECT
)
end
end
end
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