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
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
Commits
3331c39e
Commit
3331c39e
authored
Apr 03, 2016
by
nekrozar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
0cadea3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
c86532744.lua
c86532744.lua
+4
-1
No files found.
c86532744.lua
View file @
3331c39e
...
@@ -39,10 +39,13 @@ function c86532744.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
...
@@ -39,10 +39,13 @@ function c86532744.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
sg
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DESTROY
,
sg
,
sg
:
GetCount
(),
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
sg
:
GetCount
()
*
300
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_DAMAGE
,
nil
,
0
,
1
-
tp
,
sg
:
GetCount
()
*
300
)
end
end
function
c86532744
.
ctfilter
(
c
)
return
c
:
IsLocation
(
LOCATION_REMOVED
)
and
not
c
:
IsReason
(
REASON_REDIRECT
)
end
function
c86532744
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c86532744
.
operation
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
sg
=
Duel
.
GetMatchingGroup
(
c86532744
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
sg
=
Duel
.
GetMatchingGroup
(
c86532744
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
,
LOCATION_REMOVED
)
Duel
.
Destroy
(
sg
,
REASON_EFFECT
,
LOCATION_REMOVED
)
local
ct
=
Duel
.
GetOperatedGroup
():
FilterCount
(
Card
.
IsLocation
,
nil
,
LOCATION_REMOVED
)
local
ct
=
Duel
.
GetOperatedGroup
():
FilterCount
(
c86532744
.
ctfilter
,
nil
)
if
ct
>
0
then
if
ct
>
0
then
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
Damage
(
1
-
tp
,
ct
*
300
,
REASON_EFFECT
)
Duel
.
Damage
(
1
-
tp
,
ct
*
300
,
REASON_EFFECT
)
...
...
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