Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-scripts
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
Reinen
ygopro-scripts
Commits
13b844df
Commit
13b844df
authored
Jan 18, 2021
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 超電導波サンダーフォース and ゴッド・ハンド・クラッシャー
parent
954b6d3d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
c42469671.lua
c42469671.lua
+2
-1
c79868386.lua
c79868386.lua
+2
-1
No files found.
c42469671.lua
View file @
13b844df
...
...
@@ -38,7 +38,8 @@ function c42469671.desop(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
c42469671
.
desfilter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
if
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
local
dc
=
Duel
.
GetOperatedGroup
():
FilterCount
(
c42469671
.
sgfilter
,
nil
,
1
-
tp
)
if
dc
~=
0
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
if
dc
~=
0
and
Duel
.
GetTurnPlayer
()
==
tp
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
42469671
,
0
))
then
Duel
.
BreakEffect
()
Duel
.
Draw
(
tp
,
dc
,
REASON_EFFECT
)
...
...
c79868386.lua
View file @
13b844df
...
...
@@ -64,7 +64,8 @@ function c79868386.activate(e,tp,eg,ep,ev,re,r,rp)
e4
:
SetReset
(
RESET_PHASE
+
PHASE_END
)
Duel
.
RegisterEffect
(
e4
,
tp
)
local
sg
=
Duel
.
GetMatchingGroup
(
c79868386
.
desfilter
,
tp
,
0
,
LOCATION_ONFIELD
,
nil
)
if
#
sg
>
0
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
if
#
sg
>
0
and
Duel
.
GetTurnPlayer
()
==
tp
and
(
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN1
or
Duel
.
GetCurrentPhase
()
==
PHASE_MAIN2
)
and
Duel
.
SelectYesNo
(
tp
,
aux
.
Stringid
(
79868386
,
0
))
then
Duel
.
Destroy
(
sg
,
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