← WoW API < IsAttackSpell
Determine whether spell is the "Attack" spell.
isAttack = IsAttackSpell(spellName)
ParametersEdit
ArgumentsEdit
- spellName
- String - The spell name to test.
- isAttack
- Flag - Returns 1 if the spell is the "Attack" spell, nil otherwise