API IsAttackSpell

From Wowpedia
Jump to: navigation, search

Determine whether spell is the "Attack" spell.

isAttack = IsAttackSpell(spellName)

Parameters

Arguments

spellName 
String - The spell name to test.

Returns

isAttack 
Flag - Returns 1 if the spell is the "Attack" spell, nil otherwise