DAMAGE_BY_WEAPON Element


DAMAGE_BY_WEAPON (a child element of SPELL) specifies that the current skill is weapon-based. The actual damage caused by the skill equals the value of DAMAGE_BY_WEAPON times the damage caused by the weapon currently used by the attacker.

Supported Values

DAMAGE_BY_WEAPON supports the use of either a number or its child elements as values.

Remarks

If you choose to use DAMAGE_BY_WEAPON in the current skill, you cannot use the following child elements.

Examples

In this example, DAMAGE_BY_WEAPON uses a numeric value to specify that the spell causes two times the amount of damage caused by the weapon when successfully hit.

  • <SPELL>
    • <GROUP>Elemental Spells</GROUP>
    • <NAME>Fire</NAME>
    • <DAMAGE_BY_WEAPON>2</DAMAGE_BY_WEAPON>
    • ......
  • </SPELL>

In this example, DAMAGE_BY_WEAPON uses its child elements as values to specify that the spell causes 2 to 4 times (depending on the spell level) the amount of damage caused by the weapon when successfully hit.

  • <SPELL>
    • <GROUP>Elemental Spells</GROUP>
    • <NAME>Fire</NAME>
    • <DAMAGE_BY_WEAPON>
      • <FROM>2</FROM>
      • <TO>4</TO>
    • </DAMAGE_BY_WEAPON>
    • ......
  • </SPELL>