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
edb87fe5
Commit
edb87fe5
authored
Aug 08, 2024
by
wind2009
Committed by
GitHub
Aug 08, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix 終戒超獸-ヴァルドラス (#2617)
parent
99b98ba8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
15 deletions
+12
-15
c70636044.lua
c70636044.lua
+12
-15
No files found.
c70636044.lua
View file @
edb87fe5
...
@@ -55,21 +55,18 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -55,21 +55,18 @@ function s.distg(e,tp,eg,ep,ev,re,r,rp,chk)
end
end
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
s
.
disop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
local
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
)
if
Duel
.
NegateActivation
(
ev
)
then
if
Duel
.
NegateActivation
(
ev
)
if
Duel
.
GetMatchingGroupCount
(
Card
.
IsOnField
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
nil
)
>
0
and
g
:
GetCount
()
>
0
and
c
:
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_EFFECT
)
and
c
:
CheckRemoveOverlayCard
(
tp
,
1
,
REASON_EFFECT
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
id
,
3
))
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
if
c
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
~=
0
then
if
c
:
RemoveOverlayCard
(
tp
,
1
,
1
,
REASON_EFFECT
)
~=
0
then
if
re
:
GetHandler
():
IsRelateToEffect
(
re
)
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIVATE
)
then
local
g
=
Duel
.
SelectMatchingCard
(
tp
,
Card
.
IsOnField
,
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
,
1
,
1
,
nil
)
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
):
Select
(
tp
,
1
,
1
,
re
:
GetHandler
())
if
#
g
>
0
then
else
Duel
.
BreakEffect
()
g
=
Duel
.
GetFieldGroup
(
tp
,
LOCATION_ONFIELD
,
LOCATION_ONFIELD
):
Select
(
tp
,
1
,
1
,
nil
)
Duel
.
HintSelection
(
g
)
end
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
if
#
g
>
0
then
end
Duel
.
BreakEffect
()
Duel
.
HintSelection
(
g
)
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
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