summaryrefslogtreecommitdiff
path: root/graphics/particles/firebreath.xml
blob: 7ac82b5bd59dd79a404252582b7d80f88734f8be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0"?>
<!--
A horizontal flame burst with a range of about 60 pixels.
Creates up to 400 particles but only for a very brief moment.
used for the fire breath attack of the fire goblins. 
-->
<effect>
  <particle position-x="0" position-y="0" position-z="16" lifetime="25">
    <emitter>
      <property name="position-x" min="0" max="0"/>
      <property name="position-y" min="-8" max="-8"/>
      <property name="horizontal-angle" min="80" max="100"/>
      <property name="vertical-angle" min="-20" max="20"/>
      <property name="power" min="1" max="1.5"/>
      <property name="momentum" value="0.99"/>
      <property name="gravity" value="-0.02"/>
      <animation imageset="graphics/particles/aniblaze-medium.png|W:#ffff00,ff0000" width="16" height="16">
        <frame index="0" delay="5"/>
        <frame index="1" delay="10"/>
        <frame index="2" delay="15"/>
        <frame index="3" delay="25"/>
        <frame index="4" delay="35"/>
        <frame index="5" delay="60"/>
        <frame index="6" delay="95"/>
        <frame index="7" delay="160"/>
        <frame index="8" delay="9999"/>
      </animation>
      <property name="lifetime" min="0" max="80"/>
      <property name="output" min="5" max="10"/>
      <property name="fade-in" value="0"/>
      <property name="fade-out" value="60"/>
    </emitter>
  </particle>
</effect>