1233 {
1236 {
1238 switch (unitTarget->getClass())
1239 {
1242 break;
1245 break;
1248 break;
1251 break;
1252 default:
1253 return;
1254 }
1255
1256 unitTarget->CastSpell(unitTarget, spell_id, true, nullptr, aurEff);
1257 }
1258 }
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_SHAMAN_ITEM_HEALING_TRANCE
Definition: spell_item.cpp:1213
@ SPELL_DRUID_ITEM_HEALING_TRANCE
Definition: spell_item.cpp:1210
@ SPELL_PALADIN_ITEM_HEALING_TRANCE
Definition: spell_item.cpp:1211
@ SPELL_PRIEST_ITEM_HEALING_TRANCE
Definition: spell_item.cpp:1212
@ CLASS_DRUID
Definition: SharedDefines.h:151
@ CLASS_SHAMAN
Definition: SharedDefines.h:147
@ CLASS_PRIEST
Definition: SharedDefines.h:145
@ CLASS_PALADIN
Definition: SharedDefines.h:142
void PreventDefaultAction()
Definition: SpellScript.cpp:985
Unit * GetTarget() const
Definition: SpellScript.cpp:1165