DAMAGE_FIXED (a child element of SPELL) defines a fixed damage caused by a skill when successfully hit.
DAMAGE_FIXED supports the use of either an integer or its child elements as values. A negative value means the skill is of healing type.
Unlike DAMAGE, the amount of damage defined by DAMAGE_FIXED is generally fixed and not affected by other factors such as the attacker's level and the defense rating of the target.
If you choose to use DAMAGE_FIXED in the current skill, you cannot use the following child elements.
In this example, DAMAGE_FIXED uses a numeric value to define the damage caused by a spell.
- <SPELL>
- <GROUP>Elemental Spells</GROUP>
- <NAME>Fire</NAME>
- <DAMAGE_FIXED>50</DAMAGE_FIXED>
- ......
- </SPELL>
In this example, DAMAGE_FIXED uses its child elements as values to specify that the spell causes 25 to 75 points of damage (depending on the spell level).
- <SPELL>
- <GROUP>Elemental Spells</GROUP>
- <NAME>Fire</NAME>
- <DAMAGE_FIXED>
- <FROM>25</FROM>
- <TO>75</TO>
- </DAMAGE_FIXED>
- ......
- </SPELL>