Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
Commits
90eac737
Commit
90eac737
authored
Dec 23, 2014
by
salix5
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
8833e6b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
script/c2055403.lua
script/c2055403.lua
+6
-2
script/c82301904.lua
script/c82301904.lua
+1
-0
No files found.
script/c2055403.lua
View file @
90eac737
...
@@ -15,7 +15,7 @@ end
...
@@ -15,7 +15,7 @@ end
function
c2055403
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c2055403
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
g
=
eg
:
Filter
(
c2055403
.
filter
,
nil
,
tp
)
local
g
=
eg
:
Filter
(
c2055403
.
filter
,
nil
,
tp
)
local
ct
=
g
:
GetCount
()
local
ct
=
g
:
GetCount
()
if
chk
==
0
then
return
ct
>
0
and
Duel
.
GetLP
(
tp
)
>
ct
*
1000
end
if
chk
==
0
then
return
ct
>
0
end
Duel
.
SetTargetCard
(
eg
)
Duel
.
SetTargetCard
(
eg
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
ct
,
0
,
0
)
Duel
.
SetOperationInfo
(
0
,
CATEGORY_TODECK
,
g
,
ct
,
0
,
0
)
end
end
...
@@ -24,6 +24,10 @@ function c2055403.activate(e,tp,eg,ep,ev,re,r,rp)
...
@@ -24,6 +24,10 @@ function c2055403.activate(e,tp,eg,ep,ev,re,r,rp)
if
g
:
GetCount
()
>
0
then
if
g
:
GetCount
()
>
0
then
local
ct
=
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
local
ct
=
Duel
.
SendtoDeck
(
g
,
nil
,
2
,
REASON_EFFECT
)
Duel
.
BreakEffect
()
Duel
.
BreakEffect
()
Duel
.
SetLP
(
tp
,
Duel
.
GetLP
(
tp
)
-
ct
*
1000
)
if
Duel
.
GetLP
(
tp
)
>=
ct
*
1000
then
Duel
.
SetLP
(
tp
,
Duel
.
GetLP
(
tp
)
-
ct
*
1000
)
else
Duel
.
SetLP
(
0
)
end
end
end
end
end
script/c82301904.lua
View file @
90eac737
...
@@ -23,6 +23,7 @@ function c82301904.initial_effect(c)
...
@@ -23,6 +23,7 @@ function c82301904.initial_effect(c)
e3
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_DAMAGE
)
e3
:
SetCategory
(
CATEGORY_TOGRAVE
+
CATEGORY_DAMAGE
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetType
(
EFFECT_TYPE_IGNITION
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetRange
(
LOCATION_MZONE
)
e3
:
SetCountLimit
(
1
)
e3
:
SetCost
(
c82301904
.
sgcost
)
e3
:
SetCost
(
c82301904
.
sgcost
)
e3
:
SetTarget
(
c82301904
.
sgtg
)
e3
:
SetTarget
(
c82301904
.
sgtg
)
e3
:
SetOperation
(
c82301904
.
sgop
)
e3
:
SetOperation
(
c82301904
.
sgop
)
...
...
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