Use duration= for {DEFENSE_ANIM_ELVEN_RANGE}

This commit is contained in:
Benoît Timbert 2007-11-08 21:18:44 +00:00
parent d95466d636
commit 665d1f33bc

View file

@ -120,38 +120,35 @@
# elven halo waxing and waning during the animation. This
# fires only on the class of attacks specified by RANGE.
[defend]
[attack_filter]
start_time=-175
[attack_filter]
range={RANGE}
[/attack_filter]
[frame]
begin=-175
duration=25
end=-150
image={BASEFRAME}
halo=halo/elven/elven-shield-halo-20pct.png
[/frame]
[frame]
begin=-150
end=-125
duration=25
image={BASEFRAME}
halo=halo/elven/elven-shield-halo-40pct.png
[/frame]
[frame]
begin=-125
end=-75
duration=50
image={REACTION}
halo=halo/elven/elven-shield-halo-60pct.png
[/frame]
[frame]
begin=-75
end=-25
duration=50
image={REACTION}
halo=halo/elven/elven-shield-halo-80pct.png
[/frame]
[if]
hits=hit
[frame]
begin=-25
end=75
duration=100
image={REACTION}
sound={HITSOUND}
halo=halo/elven/elven-shield-halo-100pct.png
@ -160,33 +157,28 @@
[else]
hits=miss,kill
[frame]
begin=-25
end=75
duration=100
image={REACTION}
halo=halo/elven/elven-shield-halo-100pct.png
[/frame]
[/else]
[frame]
begin=75
end=125
duration=50
image={REACTION}
halo=halo/elven/elven-shield-halo-80pct.png
[/frame]
[frame]
begin=125
end=150
duration=25
image={BASEFRAME}
halo=halo/elven/elven-shield-halo-60pct.png
[/frame]
[frame]
begin=150
end=175
duration=25
image={BASEFRAME}
halo=halo/elven/elven-shield-halo-40pct.png
[/frame]
[frame]
begin=175
end=200
duration=25
image={BASEFRAME}
halo=halo/elven/elven-shield-halo-20pct.png
[/frame]