Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro
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
REIKAI
ygopro
Commits
74759fb1
Commit
74759fb1
authored
Apr 15, 2015
by
salix5
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1260 from Steeldarkeagel/patch-40
Update c97811903.lua
parents
2e37aeba
25c5f460
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
10 deletions
+13
-10
script/c97811903.lua
script/c97811903.lua
+13
-10
No files found.
script/c97811903.lua
View file @
74759fb1
--クリアー・バイス・ドラゴン
--クリアー・バイス・ドラゴン
function
c97811903
.
initial_effect
(
c
)
function
c97811903
.
initial_effect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
local
e1
=
Effect
.
CreateEffect
(
c
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetType
(
EFFECT_TYPE_SINGLE
+
EFFECT_TYPE_CONTINUOUS
)
e1
:
SetProperty
(
EFFECT_FLAG_SINGLE_RANGE
)
e1
:
SetCode
(
EVENT_DAMAGE_CALCULATING
)
e1
:
SetRange
(
LOCATION_MZONE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetCondition
(
c97811903
.
condtion
)
e1
:
SetCondition
(
c97811903
.
condtion
)
e1
:
Set
Value
(
c97811903
.
atkval
)
e1
:
Set
Operation
(
c97811903
.
atkval
)
c
:
RegisterEffect
(
e1
)
c
:
RegisterEffect
(
e1
)
--
--
local
e2
=
Effect
.
CreateEffect
(
c
)
local
e2
=
Effect
.
CreateEffect
(
c
)
...
@@ -25,12 +23,17 @@ function c97811903.initial_effect(c)
...
@@ -25,12 +23,17 @@ function c97811903.initial_effect(c)
e3
:
SetCode
(
97811903
)
e3
:
SetCode
(
97811903
)
c
:
RegisterEffect
(
e3
)
c
:
RegisterEffect
(
e3
)
end
end
function
c97811903
.
condtion
(
e
)
function
c97811903
.
condtion
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetCurrentPhase
()
==
PHASE_DAMAGE_CAL
return
e
:
GetHandler
()
==
Duel
.
GetAttacker
()
and
Duel
.
GetAttackTarget
()
~=
nil
and
Duel
.
GetAttacker
()
==
e
:
GetHandler
()
and
Duel
.
GetAttackTarget
()
~=
nil
end
end
function
c97811903
.
atkval
(
e
,
c
)
function
c97811903
.
atkval
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
)
return
Duel
.
GetAttackTarget
():
GetAttack
()
*
2
local
bc
=
Duel
.
GetAttackTarget
()
local
e1
=
Effect
.
CreateEffect
(
e
:
GetHandler
())
e1
:
SetType
(
EFFECT_TYPE_SINGLE
)
e1
:
SetCode
(
EFFECT_UPDATE_ATTACK
)
e1
:
SetReset
(
RESET_PHASE
+
RESET_DAMAGE_CAL
)
e1
:
SetValue
(
bc
:
GetAttack
()
*
2
)
e
:
GetHandler
():
RegisterEffect
(
e1
)
end
end
function
c97811903
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
function
c97811903
.
reptg
(
e
,
tp
,
eg
,
ep
,
ev
,
re
,
r
,
rp
,
chk
)
local
c
=
e
:
GetHandler
()
local
c
=
e
:
GetHandler
()
...
...
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