Define *_FIREBALL in terms of *_FIREBALL_XY
This commit is contained in:
parent
9d950c8f4c
commit
f7d8aac7e2
1 changed files with 1 additions and 48 deletions
|
@ -390,54 +390,7 @@
|
|||
#enddef
|
||||
|
||||
#define MISSILE_FRAME_FIREBALL
|
||||
# Animate a projectile for a fireball attack.
|
||||
missile_start_time=-350
|
||||
[if]
|
||||
direction=n,ne,nw
|
||||
hits=yes
|
||||
|
||||
[missile_frame]
|
||||
image="projectiles/fireball-[n-1,n-2,n,n-2,n-1].png:[40,100,125,55,30]"
|
||||
image_diagonal="projectiles/fireball-[nw-1,nw-2,nw,nw-2,nw-1].png:[40,100,125,55,30]"
|
||||
offset=0.0~0.9
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
halo="projectiles/fireball-impact-[1~16].png:60"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[/if]
|
||||
[else]
|
||||
direction=s,se,sw
|
||||
hits=yes
|
||||
|
||||
[missile_frame]
|
||||
image="projectiles/fireball-[n-1,n-2,n,n-2,n-1].png:[40,100,125,55,30]"
|
||||
image_diagonal="projectiles/fireball-[nw-1,nw-2,nw,nw-2,nw-1].png:[40,100,125,55,30]"
|
||||
offset=0.0~0.9
|
||||
[/missile_frame]
|
||||
[missile_frame]
|
||||
halo="projectiles/fireball-impact-[1~16].png~FL(vert):60"
|
||||
offset=1.0
|
||||
[/missile_frame]
|
||||
[/else]
|
||||
[else]
|
||||
direction=n,ne,nw
|
||||
hits=no
|
||||
|
||||
missile_offset=0.0~0.20,0.20~0.35,0.35~0.40,0.4~0.45
|
||||
[missile_frame]
|
||||
halo="projectiles/fireball-fail-[1~7].png:100"
|
||||
[/missile_frame]
|
||||
[/else]
|
||||
[else]
|
||||
direction=s,se,sw
|
||||
hits=no
|
||||
|
||||
missile_offset=0.0~0.20,0.20~0.35,0.35~0.40,0.4~0.45
|
||||
[missile_frame]
|
||||
halo="projectiles/fireball-fail-[1~7].png~FL(vert):100"
|
||||
[/missile_frame]
|
||||
[/else]
|
||||
{MISSILE_FRAME_FIREBALL_XY 0 0}
|
||||
#enddef
|
||||
|
||||
#define MISSILE_FRAME_FIREBALL_XY OFFSET_X OFFSET_Y
|
||||
|
|
Loading…
Add table
Reference in a new issue