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
ca7da6b9
Commit
ca7da6b9
authored
Jan 06, 2017
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
a344f115
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
c44811425.lua
c44811425.lua
+1
-0
c58551308.lua
c58551308.lua
+1
-0
c71071546.lua
c71071546.lua
+4
-0
No files found.
c44811425.lua
View file @
ca7da6b9
...
@@ -4,6 +4,7 @@ function c44811425.initial_effect(c)
...
@@ -4,6 +4,7 @@ function c44811425.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_FLIP
)
e1
:
SetCode
(
EVENT_FLIP
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetOperation
(
c44811425
.
flipop
)
e1
:
SetOperation
(
c44811425
.
flipop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--draw
--draw
...
...
c58551308.lua
View file @
ca7da6b9
...
@@ -4,6 +4,7 @@ function c58551308.initial_effect(c)
...
@@ -4,6 +4,7 @@ function c58551308.initial_effect(c)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetCode
(
EVENT_FLIP
)
e1
:
SetCode
(
EVENT_FLIP
)
e1
:
SetProperty
(
EFFECT_FLAG_CANNOT_DISABLE
)
e1
:
SetOperation
(
c58551308
.
flipop
)
e1
:
SetOperation
(
c58551308
.
flipop
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--special summon
--special summon
...
...
c71071546.lua
View file @
ca7da6b9
...
@@ -16,6 +16,7 @@ function c71071546.initial_effect(c)
...
@@ -16,6 +16,7 @@ function c71071546.initial_effect(c)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetType
(
EFFECT_TYPE_IGNITION
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCost
(
c71071546
.
atkcost
)
e2
:
SetCost
(
c71071546
.
atkcost
)
e2
:
SetTarget
(
c71071546
.
atktg
)
e2
:
SetOperation
(
c71071546
.
atkop
)
e2
:
SetOperation
(
c71071546
.
atkop
)
c
:
RegisterEffect
(
e2
)
c
:
RegisterEffect
(
e2
)
--salvage
--salvage
...
@@ -41,6 +42,9 @@ function c71071546.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
...
@@ -41,6 +42,9 @@ function c71071546.atkcost(e,tp,eg,ep,ev,re,r,rp,chk)
if
chk
==
0
then
return
ct
>
0
and
e
:
GetHandler
():
IsCanRemoveCounter
(
tp
,
0x2c
,
ct
,
REASON_COST
)
end
if
chk
==
0
then
return
ct
>
0
and
e
:
GetHandler
():
IsCanRemoveCounter
(
tp
,
0x2c
,
ct
,
REASON_COST
)
end
e
:
GetHandler
():
RemoveCounter
(
tp
,
0x2c
,
ct
,
REASON_COST
)
e
:
GetHandler
():
RemoveCounter
(
tp
,
0x2c
,
ct
,
REASON_COST
)
end
end
function
c71071546
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetAttack
()
~=
2000
end
end
function
c71071546
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c71071546
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
if
c
:
IsRelateToEffect
(
e
)
and
c
:
IsFaceup
()
then
...
...
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