DAMAGE_PERCENT Element


DAMAGE_PERCENT (a child element of SPELL) defines the damage caused by a skill when successfully hit. The actual damage caused equals the value of this element (in percent) times the maximum HP (Hit Points) of the target.

Supported Values

DAMAGE_PERCENT supports the use of either an integer (1-99) or its child elements as values. A negative value means the skill is of healing type.

Remarks

Unlike DAMAGE, the amount of damage defined by DAMAGE_PERCENT 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_PERCENT in the current skill, you cannot use the following child elements.

Examples

In this example, DAMAGE_PERCENT uses a numeric value to specify that the spell causes a 50% of total HP loss as damage when successfully hit.

  • <SPELL>
    • <GROUP>Elemental Spells</GROUP>
    • <NAME>Fire</NAME>
    • <DAMAGE_PERCENT>50</DAMAGE_PERCENT>
    • ......
  • </SPELL>

In this example, DAMAGE_PERCENT uses its child elements as values to specify that the spell causes a 25%-75% (depending on the spell level) of total HP loss as damage when successfully hit.

  • <SPELL>
    • <GROUP>Elemental Spells</GROUP>
    • <NAME>Fire</NAME>
    • <DAMAGE_PERCENT>
      • <FROM>25</FROM>
      • <TO>75</TO>
    • </DAMAGE_PERCENT>
    • ......
  • </SPELL>