LazyScriptCriteria»If Target Is Casting

If Target Is Casting

if[Not]TargetIsCasting[={<name>,<spelltype>}]

where <name> is the full name of the spell (including capitalization and spaces) as it appears in the combat log.

The <spelltype> can be any of:

  • FIRE,
  • FROST,
  • NATURE,
  • SHADOW,
  • ARCANE,
  • HOLY.

Legend
<item> is a placeholder and the entire string including <> should be replaced with the appropriate value. [text] means text is optional. {option1,option2,option3} means one of option1, option2 or option3 must be chosen. Batteries not included. UnitId can be any valid UnitId sequence as described in http://www.wowwiki.com/UnitId. Capitalization of UnitIds is not important. e.g. player, pet, target, targettarget. If the UnitId is optional, player is assumed.