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
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-scripts
Commits
97dff7c7
Commit
97dff7c7
authored
Mar 18, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
8ec8a75a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
12 deletions
+2
-12
c43694481.lua
c43694481.lua
+1
-6
c51282878.lua
c51282878.lua
+1
-6
No files found.
c43694481.lua
View file @
97dff7c7
...
...
@@ -6,10 +6,9 @@ function c43694481.initial_effect(c)
e1
:
SetCategory
(
CATEGORY_DAMAGE
)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_PLAYER_TARGET
+
EFFECT_FLAG_NO_TURN_RESET
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCountLimit
(
1
,
43694481
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCondition
(
c43694481
.
damcon
)
e1
:
SetCost
(
c43694481
.
damcost
)
e1
:
SetTarget
(
c43694481
.
damtg
)
e1
:
SetOperation
(
c43694481
.
damop
)
c
:
RegisterEffect
(
e1
)
...
...
@@ -17,10 +16,6 @@ end
function
c43694481
.
damcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
e
:
GetHandler
():
GetAttack
()
>
e
:
GetHandler
():
GetBaseAttack
()
end
function
c43694481
.
damcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
43694481
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
43694481
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c43694481
.
damtg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
true
end
Duel
.
SetTargetPlayer
(
1
-
tp
)
...
...
c51282878.lua
View file @
97dff7c7
...
...
@@ -7,16 +7,11 @@ function c51282878.initial_effect(c)
e1
:
SetType
(
EFFECT_TYPE_IGNITION
)
e1
:
SetProperty
(
EFFECT_FLAG_NO_TURN_RESET
)
e1
:
SetRange
(
LOCATION_GRAVE
)
e1
:
SetCountLimit
(
1
)
e1
:
SetCost
(
c51282878
.
cost
)
e1
:
SetCountLimit
(
1
,
51282878
)
e1
:
SetTarget
(
c51282878
.
target
)
e1
:
SetOperation
(
c51282878
.
operation
)
c
:
RegisterEffect
(
e1
)
end
function
c51282878
.
cost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
GetFlagEffect
(
tp
,
51282878
)
==
0
end
Duel
.
RegisterFlagEffect
(
tp
,
51282878
,
RESET_PHASE
+
PHASE_END
,
0
,
1
)
end
function
c51282878
.
target
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
Duel
.
IsPlayerCanDiscardDeck
(
tp
,
1
)
and
Duel
.
GetLocationCount
(
tp
,
LOCATION_MZONE
)
>
0
...
...
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