Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts-888
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
3
Merge Requests
3
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
ygopro-scripts-888
Commits
214a8fef
Commit
214a8fef
authored
Jan 28, 2025
by
八宫一月
Committed by
GitHub
Jan 28, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 死の罪宝-ルシエラ (#2816)
parent
af5c3499
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
c16240772.lua
c16240772.lua
+2
-1
No files found.
c16240772.lua
View file @
214a8fef
...
...
@@ -55,13 +55,14 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
s
.
dfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
tc
:
IsFaceup
()
and
#
g
>
0
then
if
chk
then
Duel
.
BreakEffect
()
end
local
atkd
=
tc
:
GetAttack
()
local
dg
=
Group
.
CreateGroup
()
for
sc
in
aux
.
Next
(
g
)
do
local
patk
=
sc
:
GetAttack
()
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetValue
(
-
tc
:
GetAttack
()
)
e1
:
SetValue
(
-
atkd
)
e1
:
SetReset
(
RESET_EVENT
+
RESETS_STANDARD
)
sc
:
RegisterEffect
(
e1
)
if
patk
~=
0
and
sc
:
IsAttack
(
0
)
then
dg
:
AddCard
(
sc
)
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