472 {
475 if (!target || !caster)
476 {
477 return;
478 }
479
482 {
490 default: return;
491 }
492 caster->
AI()->
Talk(text, target);
493 }
std::uint32_t uint32
Definition: Define.h:107
@ SPELL_WHISPER_SLAY_3
Definition: boss_herald_volazj.cpp:48
@ SPELL_WHISPER_SLAY_1
Definition: boss_herald_volazj.cpp:46
@ SPELL_WHISPER_INSANITY
Definition: boss_herald_volazj.cpp:45
@ SPELL_WHISPER_AGGRO
Definition: boss_herald_volazj.cpp:44
@ SPELL_WHISPER_DEATH_1
Definition: boss_herald_volazj.cpp:49
@ SPELL_WHISPER_SLAY_2
Definition: boss_herald_volazj.cpp:47
@ SPELL_WHISPER_DEATH_2
Definition: boss_herald_volazj.cpp:50
@ WHISPER_AGGRO
Definition: boss_herald_volazj.cpp:63
@ WHISPER_SLAY_3
Definition: boss_herald_volazj.cpp:67
@ WHISPER_INSANITY
Definition: boss_herald_volazj.cpp:64
@ WHISPER_DEATH_1
Definition: boss_herald_volazj.cpp:68
@ WHISPER_SLAY_2
Definition: boss_herald_volazj.cpp:66
@ WHISPER_SLAY_1
Definition: boss_herald_volazj.cpp:65
@ WHISPER_DEATH_2
Definition: boss_herald_volazj.cpp:69
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:143
Creature * ToCreature()
Definition: Object.h:202
Player * GetHitPlayer()
Definition: SpellScript.cpp:471
SpellInfo const * GetSpellInfo()
Definition: SpellScript.cpp:411
Unit * GetCaster()
Definition: SpellScript.cpp:401