Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-pre-data
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
MyCard
ygopro-pre-data
Commits
cadf134a
Commit
cadf134a
authored
Apr 20, 2019
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
4e890eba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
script/c101009067.lua
script/c101009067.lua
+4
-5
No files found.
script/c101009067.lua
View file @
cadf134a
...
@@ -31,13 +31,12 @@ function c101009067.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -31,13 +31,12 @@ function c101009067.activate(e,tp,eg,ep,ev,re,r,rp)
local
atk
=
0
local
atk
=
0
local
tc
=
sg
:
GetFirst
()
local
tc
=
sg
:
GetFirst
()
while
tc
do
while
tc
do
local
tatk
=
tc
:
GetAttack
()
atk
=
atk
+
math.max
(
tc
:
GetAttack
(),
0
)
if
tatk
<
0
then
tatk
=
0
end
atk
=
atk
+
tatk
tc
=
sg
:
GetNext
()
tc
=
sg
:
GetNext
()
end
end
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
)
if
atk
>
0
and
Duel
.
Damage
(
1
-
tp
,
atk
,
REASON_EFFECT
)
~=
0
then
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
Duel
.
Remove
(
g
,
POS_FACEUP
,
REASON_EFFECT
)
end
end
end
Duel
.
ShuffleHand
(
1
-
tp
)
Duel
.
ShuffleHand
(
1
-
tp
)
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