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
八宫一月
ygopro-scripts
Commits
d262deb9
Commit
d262deb9
authored
Jul 30, 2016
by
nekrozar
Committed by
DailyShana
Jul 30, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Fusion Fright Waltz (#512)
parent
abe3d46e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
c34449261.lua
c34449261.lua
+2
-1
No files found.
c34449261.lua
View file @
d262deb9
...
@@ -43,8 +43,9 @@ function c34449261.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -43,8 +43,9 @@ function c34449261.activate(e,tp,eg,ep,ev,re,r,rp)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
tg
=
Duel
.
GetChainInfo
(
0
,
CHAININFO_TARGET_CARDS
):
Filter
(
Card
.
IsRelateToEffect
,
nil
,
e
)
local
dam
=
tg
:
Filter
(
Card
.
IsFaceup
,
nil
):
GetSum
(
Card
.
GetAttack
)
local
dam
=
tg
:
Filter
(
Card
.
IsFaceup
,
nil
):
GetSum
(
Card
.
GetAttack
)
local
g
=
Duel
.
GetMatchingGroup
(
c34449261
.
desfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tg
)
local
g
=
Duel
.
GetMatchingGroup
(
c34449261
.
desfilter
,
tp
,
LOCATION_MZONE
,
LOCATION_MZONE
,
nil
,
tg
)
if
g
:
GetCount
()
>
0
and
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
then
if
g
:
GetCount
()
>
0
and
Duel
.
Destroy
(
g
,
REASON_EFFECT
)
~=
0
and
dam
>
0
then
local
dg
=
Duel
.
GetOperatedGroup
()
local
dg
=
Duel
.
GetOperatedGroup
()
Duel
.
BreakEffect
()
if
dg
:
IsExists
(
aux
.
FilterEqualFunction
(
Card
.
GetPreviousControler
,
tp
),
1
,
nil
)
then
Duel
.
Damage
(
tp
,
dam
,
REASON_EFFECT
,
true
)
end
if
dg
:
IsExists
(
aux
.
FilterEqualFunction
(
Card
.
GetPreviousControler
,
tp
),
1
,
nil
)
then
Duel
.
Damage
(
tp
,
dam
,
REASON_EFFECT
,
true
)
end
if
dg
:
IsExists
(
aux
.
FilterEqualFunction
(
Card
.
GetPreviousControler
,
1
-
tp
),
1
,
nil
)
then
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
,
true
)
end
if
dg
:
IsExists
(
aux
.
FilterEqualFunction
(
Card
.
GetPreviousControler
,
1
-
tp
),
1
,
nil
)
then
Duel
.
Damage
(
1
-
tp
,
dam
,
REASON_EFFECT
,
true
)
end
Duel
.
RDComplete
()
Duel
.
RDComplete
()
...
...
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