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
2e95531e
Commit
2e95531e
authored
Aug 06, 2025
by
Amiya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复
parent
fc16b2a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
9 deletions
+22
-9
script/c101302055.lua
script/c101302055.lua
+22
-9
No files found.
script/c101302055.lua
View file @
2e95531e
...
@@ -22,14 +22,27 @@ function s.initial_effect(c)
...
@@ -22,14 +22,27 @@ function s.initial_effect(c)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetDescription
(
aux
.
Stringid
(
id
,
1
))
e3
:
SetCategory
(
CATEGORY_DAMAGE
)
e3
:
SetCategory
(
CATEGORY_DAMAGE
)
e3
:
SetType
(
EFFECT_TYPE_
SINGLE
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_TRIGGER_F
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
)
e3
:
SetCode
(
EVENT_DESTROYED
)
e3
:
SetCode
(
EVENT_CUSTOM
+
id
)
e3
:
SetRange
(
LOCATION_GRAVE
+
LOCATION_REMOVED
)
e3
:
SetCountLimit
(
1
,
id
)
e3
:
SetCountLimit
(
1
,
id
)
e3
:
SetCondition
(
s
.
damcon
)
e3
:
SetCondition
(
s
.
damcon
)
e3
:
SetTarget
(
s
.
damtg
)
e3
:
SetTarget
(
s
.
damtg
)
e3
:
SetOperation
(
s
.
damop
)
e3
:
SetOperation
(
s
.
damop
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
if
not
s
.
global_check
then
s
.
global_check
=
true
local
ge1
=
Effect
.
CreateEffect
(
c
)
ge1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
ge1
:
SetCode
(
EVENT_DESTROYED
)
ge1
:
SetOperation
(
s
.
checkop
)
Duel
.
RegisterEffect
(
ge1
,
0
)
end
end
function
s
.
checkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Debug
.
Message
(
eg
:
GetCount
())
Duel
.
RaiseEvent
(
eg
,
EVENT_CUSTOM
+
id
,
re
,
r
,
rp
,
ep
,
ev
)
end
end
function
s
.
thfilter
(
c
)
function
s
.
thfilter
(
c
)
return
c
:
IsSetCard
(
0x1123
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
return
c
:
IsSetCard
(
0x1123
)
and
c
:
IsType
(
TYPE_MONSTER
)
and
c
:
IsAbleToHand
()
...
@@ -49,11 +62,14 @@ end
...
@@ -49,11 +62,14 @@ end
function
s
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
if
not
re
then
return
true
end
if
not
re
then
return
true
end
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
eg
:
IsContains
(
c
)
then
return
false
end
local
rc
=
re
:
GetHandler
()
local
rc
=
re
:
GetHandler
()
if
c
:
IsReason
(
REASON_EFFECT
)
and
re
:
IsActivated
()
if
c
:
IsReason
(
REASON_EFFECT
)
and
re
:
IsActivated
()
and
(
rc
:
IsRelateToChain
(
ev
)
and
rc
:
IsCode
(
73580471
)
and
(
eg
:
IsContains
(
re
:
GetHandler
())
and
rc
:
GetPreviousCodeOnField
()
==
73580471
or
not
rc
:
IsRelateToChain
(
ev
)
and
rc
:
GetPreviousCodeOnField
()
==
73580471
)
then
or
rc
:
IsCode
(
73580471
))
then
c
:
RegisterFlagEffect
(
id
,
RESET_EVENT
+
RESETS_STANDARD
+
RESET_PHASE
+
PHASE_END
,
0
,
1
)
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
end
return
true
return
true
end
end
...
@@ -61,11 +77,8 @@ function s.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -61,11 +77,8 @@ function s.damtg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
dam
=
Duel
.
GetMatchingGroupCount
(
s
.
cfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
*
100
local
dam
=
Duel
.
GetMatchingGroupCount
(
s
.
cfilter
,
tp
,
LOCATION_GRAVE
+
LOCATION_REMOVED
,
0
,
nil
)
*
100
if
dam
>
0
then
if
dam
>
0
then
if
e
:
Get
Handler
():
GetFlagEffect
(
id
)
>
0
then
if
e
:
Get
Label
()
==
1
then
dam
=
dam
+
2400
dam
=
dam
+
2400
e
:
SetLabel
(
1
)
else
e
:
SetLabel
(
0
)
end
end
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetTargetPlayer
(
1
-
tp
)
Duel
.
SetTargetParam
(
dam
)
Duel
.
SetTargetParam
(
dam
)
...
...
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