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
73361831
Commit
73361831
authored
Nov 02, 2018
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
burn at cost
parent
474cc648
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
c35199656.lua
c35199656.lua
+6
-4
No files found.
c35199656.lua
View file @
73361831
...
...
@@ -67,8 +67,9 @@ function c35199656.operation(e,tp,eg,ep,ev,re,r,rp)
end
end
function
c35199656
.
damcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
1
-
tp
)
and
(
not
re
or
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
or
re
:
IsHasType
(
EFFECT_TYPE_CONTINUOUS
))
local
g
=
eg
:
Filter
(
Card
.
IsControler
,
nil
,
1
-
tp
)
return
#
g
>
0
and
(
not
re
or
not
re
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
or
re
:
IsHasType
(
EFFECT_TYPE_CONTINUOUS
)
or
g
:
IsExists
(
Card
.
IsReason
,
1
,
nil
,
REASON_COST
))
end
function
c35199656
.
damop1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
Duel
.
Hint
(
HINT_CARD
,
0
,
35199656
)
...
...
@@ -76,8 +77,9 @@ function c35199656.damop1(e,tp,eg,ep,ev,re,r,rp)
Duel
.
Damage
(
1
-
tp
,
ct
*
200
,
REASON_EFFECT
)
end
function
c35199656
.
regcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
eg
:
IsExists
(
Card
.
IsControler
,
1
,
nil
,
1
-
tp
)
and
re
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
and
not
re
:
IsHasType
(
EFFECT_TYPE_CONTINUOUS
)
local
g
=
eg
:
Filter
(
Card
.
IsControler
,
nil
,
1
-
tp
)
return
#
g
>
0
and
re
and
re
:
IsHasType
(
EFFECT_TYPE_ACTIONS
)
and
not
re
:
IsHasType
(
EFFECT_TYPE_CONTINUOUS
)
and
not
g
:
IsExists
(
Card
.
IsReason
,
1
,
nil
,
REASON_COST
)
end
function
c35199656
.
regop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ct
=
eg
:
FilterCount
(
Card
.
IsControler
,
nil
,
1
-
tp
)
...
...
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