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
0652c8c9
Commit
0652c8c9
authored
May 26, 2016
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #418 from destdev/patch-5
update Ferret Flames
parents
c452061c
dff49292
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
8 deletions
+3
-8
c31044787.lua
c31044787.lua
+3
-8
No files found.
c31044787.lua
View file @
0652c8c9
...
@@ -26,13 +26,8 @@ function c31044787.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -26,13 +26,8 @@ function c31044787.activate(e,tp,eg,ep,ev,re,r,rp)
local
g
=
Duel
.
GetMatchingGroup
(
c31044787
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
g
=
Duel
.
GetMatchingGroup
(
c31044787
.
filter
,
tp
,
0
,
LOCATION_MZONE
,
nil
)
local
atk
=
g
:
GetSum
(
Card
.
GetAttack
)
local
atk
=
g
:
GetSum
(
Card
.
GetAttack
)
local
lp
=
Duel
.
GetLP
(
tp
)
local
lp
=
Duel
.
GetLP
(
tp
)
local
sg
=
Group
.
CreateGroup
()
local
diff
=
atk
-
lp
while
atk
>
lp
and
g
:
GetCount
()
>
0
do
if
diff
<=
0
then
return
end
Duel
.
Hint
(
HINT_SELECTMSG
,
1
-
tp
,
HINTMSG_TODECK
)
local
sg
=
g
:
SelectWithSumGreater
(
1
-
tp
,
Card
.
GetAttack
,
diff
)
local
tc
=
g
:
Select
(
1
-
tp
,
1
,
1
,
nil
):
GetFirst
()
sg
:
AddCard
(
tc
)
g
:
RemoveCard
(
tc
)
atk
=
atk
-
tc
:
GetAttack
()
end
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_RULE
)
Duel
.
SendtoDeck
(
sg
,
nil
,
2
,
REASON_RULE
)
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