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
7f77d9b3
Commit
7f77d9b3
authored
Mar 31, 2017
by
mercury233
Committed by
DailyShana
Mar 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 真竜の黙示録 (#829)
parent
be08c9d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
c61529473.lua
c61529473.lua
+18
-2
No files found.
c61529473.lua
View file @
7f77d9b3
--真竜の黙示録
function
c61529473
.
initial_effect
(
c
)
--Activate
local
e0
=
Effect
.
CreateEffect
(
c
)
e0
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e0
:
SetCode
(
EVENT_FREE_CHAIN
)
e0
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e0
:
SetTarget
(
c61529473
.
target
)
c
:
RegisterEffect
(
e0
)
--Activate(damage phase)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetDescription
(
aux
.
Stringid
(
61529473
,
0
))
e1
:
SetType
(
EFFECT_TYPE_ACTIVATE
)
e1
:
SetProperty
(
EFFECT_FLAG_DAMAGE_STEP
)
e1
:
SetCode
(
EVENT_FREE_CHAIN
)
e1
:
SetHintTiming
(
0
,
TIMING_END_PHASE
)
e1
:
SetTarget
(
c61529473
.
target
)
e1
:
SetHintTiming
(
TIMING_DAMAGE_STEP
)
e1
:
SetCountLimit
(
1
,
61529473
)
e1
:
SetCondition
(
c61529473
.
atkcon1
)
e1
:
SetCost
(
c61529473
.
cost
)
e1
:
SetTarget
(
c61529473
.
atktg
)
e1
:
SetOperation
(
c61529473
.
atkop
)
c
:
RegisterEffect
(
e1
)
--destory and atk & def down
local
e2
=
Effect
.
CreateEffect
(
c
)
...
...
@@ -82,6 +95,9 @@ function c61529473.target(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
e
:
SetOperation
(
nil
)
end
end
function
c61529473
.
atkcon1
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE
and
not
Duel
.
IsDamageCalculated
()
end
function
c61529473
.
atkcon
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
~=
PHASE_DAMAGE
or
not
Duel
.
IsDamageCalculated
()
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