switch ${Unit[${TargetList.GUID[${Index}]}].Class} { case Mage case Priest case Paladin ; this is where I'd add the buffing stuff { } }