471 {
474 if (!target || !caster)
475 {
476 return;
477 }
478
481 {
489 default: return;
490 }
491 caster->
AI()->
Talk(text, target);
492 }
std::uint32_t uint32
Definition: Define.h:108
@ 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
Definition: Creature.h:46
CreatureAI * AI() const
Definition: Creature.h:135
Creature * ToCreature()
Definition: Object.h:197
Player * GetHitPlayer()
Definition: SpellScript.cpp:471
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
Unit * GetCaster()
Definition: SpellScript.cpp:401