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
93b38a31
Commit
93b38a31
authored
Aug 19, 2016
by
mercury233
Committed by
DailyShana
Aug 19, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix (#546)
parent
c5cb2b76
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
c16708652.lua
c16708652.lua
+1
-1
c50903514.lua
c50903514.lua
+1
-1
c55461064.lua
c55461064.lua
+1
-1
c56535497.lua
c56535497.lua
+1
-1
No files found.
c16708652.lua
View file @
93b38a31
...
@@ -14,7 +14,7 @@ function c16708652.initial_effect(c)
...
@@ -14,7 +14,7 @@ function c16708652.initial_effect(c)
end
end
function
c16708652
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c16708652
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
(
ph
~=
PHASE_DAMAGE
or
Duel
.
IsDamageCalculated
())
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
(
ph
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
())
end
end
function
c16708652
.
filter
(
c
)
function
c16708652
.
filter
(
c
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsSetCard
(
0x11
)
return
c
:
IsPosition
(
POS_FACEUP_ATTACK
)
and
c
:
IsSetCard
(
0x11
)
...
...
c50903514.lua
View file @
93b38a31
...
@@ -29,7 +29,7 @@ function c50903514.initial_effect(c)
...
@@ -29,7 +29,7 @@ function c50903514.initial_effect(c)
end
end
function
c50903514
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c50903514
.
condition
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
(
ph
~=
PHASE_DAMAGE
or
Duel
.
IsDamageCalculated
())
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
(
ph
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
())
end
end
function
c50903514
.
filter
(
c
)
function
c50903514
.
filter
(
c
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_WARRIOR
)
return
c
:
IsFaceup
()
and
c
:
IsRace
(
RACE_WARRIOR
)
...
...
c55461064.lua
View file @
93b38a31
...
@@ -17,7 +17,7 @@ function c55461064.initial_effect(c)
...
@@ -17,7 +17,7 @@ function c55461064.initial_effect(c)
end
end
function
c55461064
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c55461064
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
return
Duel
.
GetTurnPlayer
()
~=
tp
and
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
(
ph
~=
PHASE_DAMAGE
or
Duel
.
IsDamageCalculated
())
return
Duel
.
GetTurnPlayer
()
~=
tp
and
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
(
ph
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
())
end
end
function
c55461064
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c55461064
.
atkcost
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
end
if
chk
==
0
then
return
e
:
GetHandler
():
IsDiscardable
()
end
...
...
c56535497.lua
View file @
93b38a31
...
@@ -45,7 +45,7 @@ end
...
@@ -45,7 +45,7 @@ end
function
c56535497
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
function
c56535497
.
condition2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
ph
=
Duel
.
GetCurrentPhase
()
local
ph
=
Duel
.
GetCurrentPhase
()
if
Duel
.
GetTurnPlayer
()
==
tp
then
return
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
if
Duel
.
GetTurnPlayer
()
==
tp
then
return
ph
==
PHASE_MAIN1
or
ph
==
PHASE_MAIN2
else
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
(
ph
~=
PHASE_DAMAGE
or
Duel
.
IsDamageCalculated
())
end
else
return
ph
>=
PHASE_BATTLE_START
and
ph
<=
PHASE_BATTLE
and
(
ph
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
())
end
end
end
function
c56535497
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
function
c56535497
.
target2
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
,
chkc
)
if
chkc
then
return
false
end
if
chkc
then
return
false
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