429 {
431 {
433 switch (unitTarget->getClass())
434 {
437 break;
440 break;
443 break;
446 break;
447 default:
448 return;
449 }
451 caster->
CastSpell(caster, spell_id,
true);
452 }
453 }
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_PALADIN_BLESSING_OF_LOWER_CITY_SHAMAN
Definition: spell_paladin.cpp:44
@ SPELL_PALADIN_BLESSING_OF_LOWER_CITY_PALADIN
Definition: spell_paladin.cpp:42
@ SPELL_PALADIN_BLESSING_OF_LOWER_CITY_DRUID
Definition: spell_paladin.cpp:41
@ SPELL_PALADIN_BLESSING_OF_LOWER_CITY_PRIEST
Definition: spell_paladin.cpp:43
@ CLASS_DRUID
Definition: SharedDefines.h:151
@ CLASS_SHAMAN
Definition: SharedDefines.h:147
@ CLASS_PRIEST
Definition: SharedDefines.h:145
@ CLASS_PALADIN
Definition: SharedDefines.h:142
SpellCastResult CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1167
Unit * GetHitUnit()
Definition: SpellScript.cpp:448
Unit * GetCaster()
Definition: SpellScript.cpp:401