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
86941aa4
Commit
86941aa4
authored
Apr 18, 2016
by
VanillaSalt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
fec65c9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
c18013090.lua
c18013090.lua
+1
-3
c77625948.lua
c77625948.lua
+2
-1
No files found.
c18013090.lua
View file @
86941aa4
...
...
@@ -33,8 +33,6 @@ function c18013090.atop1(e,tp,eg,ep,ev,re,r,rp)
local
e2
=
Effect
.
CreateEffect
(
c
)
e2
:
SetType
(
EFFECT_TYPE_SINGLE
)
e2
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e2
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e2
:
SetRange
(
LOCATION_MZONE
)
e2
:
SetCondition
(
c18013090
.
atkcon
)
e2
:
SetValue
(
1000
)
e2
:
SetReset
(
RESET_EVENT
+
0x1fe0000
+
RESET_PHASE
+
PHASE_DAMAGE_CAL
+
PHASE_END
)
...
...
@@ -42,7 +40,7 @@ function c18013090.atop1(e,tp,eg,ep,ev,re,r,rp)
end
function
c18013090
.
atkcon
(
e
)
local
c
=
e
:
GetHandler
()
return
c
==
Duel
.
GetAttacker
()
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
and
c
==
Duel
.
GetAttacker
()
end
function
c18013090
.
cacon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
local
c
=
e
:
GetHandler
()
...
...
c77625948.lua
View file @
86941aa4
...
...
@@ -74,7 +74,8 @@ function c77625948.repval(e,re,r,rp)
end
function
c77625948
.
atkcon
(
e
)
local
tp
=
e
:
GetHandlerPlayer
()
return
Duel
.
GetAttackTarget
()
==
nil
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
~=
0
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
and
Duel
.
GetAttackTarget
()
==
nil
and
Duel
.
GetFieldGroupCount
(
tp
,
0
,
LOCATION_MZONE
)
~=
0
and
e
:
GetHandler
():
GetEffectCount
(
EFFECT_DIRECT_ATTACK
)
==
1
end
function
c77625948
.
atkval
(
e
,
c
)
...
...
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