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
fa1df25b
Commit
fa1df25b
authored
Nov 07, 2015
by
woodee
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #107 from DailyShana/patch-3
fix 追走の翼
parents
e558e3bf
364463b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
c42776855.lua
c42776855.lua
+6
-1
No files found.
c42776855.lua
View file @
fa1df25b
...
@@ -56,10 +56,11 @@ function c42776855.operation(e,tp,eg,ep,ev,re,r,rp)
...
@@ -56,10 +56,11 @@ function c42776855.operation(e,tp,eg,ep,ev,re,r,rp)
local
e3
=
Effect
.
CreateEffect
(
c
)
local
e3
=
Effect
.
CreateEffect
(
c
)
e3
:
SetDescription
(
aux
.
Stringid
(
42776855
,
0
))
e3
:
SetDescription
(
aux
.
Stringid
(
42776855
,
0
))
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetCategory
(
CATEGORY_DESTROY
)
e3
:
SetType
(
EFFECT_TYPE_
FIELD
+
EFFECT_TYPE_TRIGGER
_O
)
e3
:
SetType
(
EFFECT_TYPE_
QUICK
_O
)
e3
:
SetCode
(
EVENT_BATTLE_START
)
e3
:
SetCode
(
EVENT_BATTLE_START
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetRange
(
LOCATION_SZONE
)
e3
:
SetCondition
(
c42776855
.
atkcon
)
e3
:
SetCondition
(
c42776855
.
atkcon
)
e3
:
SetTarget
(
c42776855
.
atktg
)
e3
:
SetOperation
(
c42776855
.
atkop
)
e3
:
SetOperation
(
c42776855
.
atkop
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
e3
:
SetReset
(
RESET_EVENT
+
0x1fe0000
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
...
@@ -89,6 +90,10 @@ function c42776855.atkcon(e,tp,eg,ep,ev,re,r,rp)
...
@@ -89,6 +90,10 @@ function c42776855.atkcon(e,tp,eg,ep,ev,re,r,rp)
local
bc
=
tc
:
GetBattleTarget
()
local
bc
=
tc
:
GetBattleTarget
()
return
tc
and
tc
:
IsLocation
(
LOCATION_MZONE
)
and
bc
and
bc
:
IsFaceup
()
and
bc
:
IsLocation
(
LOCATION_MZONE
)
and
bc
:
IsLevelAbove
(
5
)
return
tc
and
tc
:
IsLocation
(
LOCATION_MZONE
)
and
bc
and
bc
:
IsFaceup
()
and
bc
:
IsLocation
(
LOCATION_MZONE
)
and
bc
:
IsLevelAbove
(
5
)
end
end
function
c42776855
.
atktg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
GetFlagEffect
(
42776855
)
==
0
end
e
:
GetHandler
():
RegisterFlagEffect
(
42776855
,
RESET_CHAIN
,
0
,
1
)
end
function
c42776855
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c42776855
.
atkop
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
if
not
c
:
IsRelateToEffect
(
e
)
then
return
end
if
not
c
:
IsRelateToEffect
(
e
)
then
return
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