1232 {
1235 {
1237 switch (unitTarget->getClass())
1238 {
1241 break;
1244 break;
1247 break;
1250 break;
1251 default:
1252 return;
1253 }
1254
1255 unitTarget->CastSpell(unitTarget, spell_id, true, nullptr, aurEff);
1256 }
1257 }
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_SHAMAN_ITEM_HEALING_TRANCE
Definition: spell_item.cpp:1212
@ SPELL_DRUID_ITEM_HEALING_TRANCE
Definition: spell_item.cpp:1209
@ SPELL_PALADIN_ITEM_HEALING_TRANCE
Definition: spell_item.cpp:1210
@ SPELL_PRIEST_ITEM_HEALING_TRANCE
Definition: spell_item.cpp:1211
@ 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