463 {
466 if (!target || !caster)
467 {
468 return;
469 }
470
473 {
481 default: return;
482 }
483 caster->
AI()->
Talk(text, target);
484 }
std::uint32_t uint32
Definition Define.h:107
@ SPELL_WHISPER_SLAY_3
Definition boss_herald_volazj.cpp:47
@ SPELL_WHISPER_SLAY_1
Definition boss_herald_volazj.cpp:45
@ SPELL_WHISPER_INSANITY
Definition boss_herald_volazj.cpp:44
@ SPELL_WHISPER_AGGRO
Definition boss_herald_volazj.cpp:43
@ SPELL_WHISPER_DEATH_1
Definition boss_herald_volazj.cpp:48
@ SPELL_WHISPER_SLAY_2
Definition boss_herald_volazj.cpp:46
@ SPELL_WHISPER_DEATH_2
Definition boss_herald_volazj.cpp:49
@ WHISPER_AGGRO
Definition boss_herald_volazj.cpp:62
@ WHISPER_SLAY_3
Definition boss_herald_volazj.cpp:66
@ WHISPER_INSANITY
Definition boss_herald_volazj.cpp:63
@ WHISPER_DEATH_1
Definition boss_herald_volazj.cpp:67
@ WHISPER_SLAY_2
Definition boss_herald_volazj.cpp:65
@ WHISPER_SLAY_1
Definition boss_herald_volazj.cpp:64
@ WHISPER_DEATH_2
Definition boss_herald_volazj.cpp:68
void Talk(uint8 id, WorldObject const *whisperTarget=nullptr, Milliseconds delay=0s)
Causes the creature to talk/say the text assigned to their entry in the creature_text database table.
Definition CreatureAI.cpp:50
CreatureAI * AI() const
Definition Creature.h:141
Creature * ToCreature()
Definition Object.h:205
Player * GetHitPlayer()
Definition SpellScript.cpp:471
SpellInfo const * GetSpellInfo()
Definition SpellScript.cpp:411
Unit * GetCaster()
Definition SpellScript.cpp:401