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
4
Merge Requests
4
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
b9986f6c
Commit
b9986f6c
authored
Jan 28, 2024
by
Uytrewq
Committed by
GitHub
Jan 28, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#2383)
parent
956d4138
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
+23
-2
c61405855.lua
c61405855.lua
+23
-2
No files found.
c61405855.lua
View file @
b9986f6c
...
@@ -62,11 +62,32 @@ function c61405855.destg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -62,11 +62,32 @@ function c61405855.destg(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
true
end
if
chk
==
0
then
return
true
end
local
bc
=
e
:
GetHandler
():
GetEquipTarget
():
GetBattleTarget
()
local
bc
=
e
:
GetHandler
():
GetEquipTarget
():
GetBattleTarget
()
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetTargetCard
(
bc
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
bc
,
1
,
0
,
0
)
end
end
function
c61405855
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c61405855
.
desop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
bc
=
Duel
.
GetFirstTarget
()
local
bc
=
Duel
.
GetFirstTarget
()
if
bc
:
IsRelateToEffect
(
e
)
then
if
bc
:
IsRelateToEffect
(
e
)
then
Duel
.
Destroy
(
bc
,
REASON_EFFECT
)
local
c
=
e
:
GetHandler
()
local
fid
=
c
:
GetFieldID
()
bc
:
RegisterFlagEffect
(
61405855
,
RESET_PHASE
+
PHASE_BATTLE
+
RESET_EVENT
+
RESETS_STANDARD
,
0
,
1
,
fid
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
61405855
,
1
))
e1
:
SetType
(
EFFECT_TYPE_FIELD
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_PHASE
+
PHASE_BATTLE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetLabel
(
fid
)
e1
:
SetLabelObject
(
bc
)
e1
:
SetCondition
(
c61405855
.
descon2
)
e1
:
SetOperation
(
c61405855
.
desop2
)
e1
:
SetReset
(
RESET_PHASE
+
PHASE_BATTLE
)
Duel
.
RegisterEffect
(
e1
,
tp
)
end
end
end
end
function
c61405855
.
descon2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
return
tc
:
GetFlagEffectLabel
(
61405855
)
==
e
:
GetLabel
()
end
function
c61405855
.
desop2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
tc
=
e
:
GetLabelObject
()
Duel
.
Hint
(
HINT_CARD
,
0
,
61405855
)
Duel
.
Destroy
(
tc
,
REASON_EFFECT
)
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