LazyScriptCriteria»If Target Of Target Class

If Target Of Target Class

if[Not]TargetOfTargetClass=<class1>[,<class2>,...]

where <class> can be any of:

  • Druid,
  • Hunter,
  • Mage,
  • Paladin,
  • Priest,
  • Rogue,
  • Shaman,
  • Warlock,
  • Warrior.

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.