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
9a39365b
Commit
9a39365b
authored
May 04, 2017
by
DailyShana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9fac54ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
c58074177.lua
c58074177.lua
+4
-1
No files found.
c58074177.lua
View file @
9a39365b
...
@@ -51,6 +51,7 @@ end
...
@@ -51,6 +51,7 @@ end
function
c58074177
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c58074177
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
local
a
=
Duel
.
GetAttacker
()
local
d
=
a
:
GetBattleTarget
()
local
d
=
a
:
GetBattleTarget
()
if
a
:
IsControler
(
1
-
tp
)
then
a
,
d
=
d
,
a
end
return
a
:
IsFaceup
()
and
a
:
IsRelateToBattle
()
return
a
:
IsFaceup
()
and
a
:
IsRelateToBattle
()
and
d
and
d
:
IsFaceup
()
and
d
:
IsRelateToBattle
()
and
d
and
d
:
IsFaceup
()
and
d
:
IsRelateToBattle
()
and
d
:
GetAttack
()
>
0
and
a
:
GetControler
()
~=
d
:
GetControler
()
and
d
:
GetAttack
()
>
0
and
a
:
GetControler
()
~=
d
:
GetControler
()
...
@@ -58,6 +59,7 @@ end
...
@@ -58,6 +59,7 @@ end
function
c58074177
.
atkop
(
e
,
tp
,
ep
,
ev
,
re
,
r
,
rp
)
function
c58074177
.
atkop
(
e
,
tp
,
ep
,
ev
,
re
,
r
,
rp
)
local
a
=
Duel
.
GetAttacker
()
local
a
=
Duel
.
GetAttacker
()
local
d
=
a
:
GetBattleTarget
()
local
d
=
a
:
GetBattleTarget
()
if
a
:
IsControler
(
1
-
tp
)
then
a
,
d
=
d
,
a
end
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
if
e
:
GetHandler
():
IsRelateToEffect
(
e
)
and
a
:
IsFaceup
()
and
a
:
IsRelateToBattle
()
and
a
:
IsFaceup
()
and
a
:
IsRelateToBattle
()
and
d
:
IsFaceup
()
and
d
:
IsRelateToBattle
()
then
and
d
:
IsFaceup
()
and
d
:
IsRelateToBattle
()
then
...
@@ -104,7 +106,8 @@ function c58074177.disop(e,tp,eg,ep,ev,re,r,rp)
...
@@ -104,7 +106,8 @@ function c58074177.disop(e,tp,eg,ep,ev,re,r,rp)
end
end
end
end
function
c58074177
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c58074177
.
descon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
return
e
:
GetHandler
():
GetSummonType
()
==
SUMMON_TYPE_SYNCHRO
and
(
Duel
.
GetCurrentPhase
()
>=
PHASE_BATTLE_START
and
Duel
.
GetCurrentPhase
()
<=
PHASE_BATTLE
)
end
end
function
c58074177
.
desfilter
(
c
)
function
c58074177
.
desfilter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
5
)
return
c
:
IsFaceup
()
and
c
:
IsLevelAbove
(
5
)
...
...
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