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
420b2349
Commit
420b2349
authored
Jul 19, 2018
by
mercury233
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
e5968fe2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
c1295111.lua
c1295111.lua
+5
-0
No files found.
c1295111.lua
View file @
420b2349
...
@@ -32,6 +32,7 @@ function c1295111.initial_effect(c)
...
@@ -32,6 +32,7 @@ function c1295111.initial_effect(c)
e4
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e4
:
SetCode
(
EVENT_PRE_DAMAGE_CALCULATE
)
e4
:
SetCountLimit
(
1
,
1295111
)
e4
:
SetCountLimit
(
1
,
1295111
)
e4
:
SetCondition
(
c1295111
.
atkcon
)
e4
:
SetCondition
(
c1295111
.
atkcon
)
e4
:
SetCost
(
c1295111
.
atkcost
)
e4
:
SetTarget
(
c1295111
.
atktg
)
e4
:
SetTarget
(
c1295111
.
atktg
)
e4
:
SetOperation
(
c1295111
.
atkop
)
e4
:
SetOperation
(
c1295111
.
atkop
)
c
:
RegisterEffect
(
e4
)
c
:
RegisterEffect
(
e4
)
...
@@ -59,6 +60,10 @@ function c1295111.atkcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -59,6 +60,10 @@ function c1295111.atkcon(e,tp,eg,ep,ev,re,r,rp)
if
a
:
IsControler
(
1
-
tp
)
then
a
=
Duel
.
GetAttackTarget
()
end
if
a
:
IsControler
(
1
-
tp
)
then
a
=
Duel
.
GetAttackTarget
()
end
return
a
return
a
end
end
function
c1295111
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
CheckLPCost
(
tp
,
1000
)
end
Duel
.
PayLPCost
(
tp
,
1000
)
end
function
c1295111
.
atkfilter
(
c
)
function
c1295111
.
atkfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_LINK
)
and
not
c
:
IsAttack
(
0
)
return
c
:
IsFaceup
()
and
c
:
IsType
(
TYPE_LINK
)
and
not
c
:
IsAttack
(
0
)
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