519 {
525
526 if (!spellId)
527 return;
528
531 target->CastSpell(target, spellId,
true, 0, 0,
GetCaster()->GetGUID());
532 }
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_WARRIOR_UNRELENTING_ASSAULT_TRIGGER_1
Definition: spell_warrior.cpp:58
@ SPELL_WARRIOR_UNRELENTING_ASSAULT_RANK_1
Definition: spell_warrior.cpp:56
@ SPELL_WARRIOR_UNRELENTING_ASSAULT_TRIGGER_2
Definition: spell_warrior.cpp:59
@ SPELL_WARRIOR_UNRELENTING_ASSAULT_RANK_2
Definition: spell_warrior.cpp:57
@ UNIT_STATE_CASTING
Definition: UnitDefines.h:164
Definition: Player.h:1081
Player * GetHitPlayer()
Definition: SpellScript.cpp:471
Unit * GetCaster()
Definition: SpellScript.cpp:401