710 {
712 return;
713
716 if (!caster || !player)
717 return;
718
720
721 switch (aurEff->GetTickNumber())
722 {
723 case 1:
726 break;
727 case 2:
729 break;
730 case 3:
733 aur->Remove();
734 break;
735 }
736 }
#define sCreatureTextMgr
Definition: CreatureTextMgr.h:119
@ TEXT_RANGE_NORMAL
Definition: CreatureTextMgr.h:30
@ SAY_PLAYER_TEXT_1
Definition: boss_ahune.cpp:112
@ SAY_PLAYER_TEXT_3
Definition: boss_ahune.cpp:114
@ SAY_PLAYER_TEXT_2
Definition: boss_ahune.cpp:113
@ SPELL_SUMMONING_RHYME_AURA
Definition: boss_ahune.cpp:70
@ SPELL_FORCE_WHISP_FLIGHT
Definition: boss_ahune.cpp:72
@ SPELL_SUMMONING_RHYME_BONFIRE
Definition: boss_ahune.cpp:71
@ CHAT_MSG_SAY
Definition: SharedDefines.h:3153
@ LANG_UNIVERSAL
Definition: SharedDefines.h:735
@ TEAM_NEUTRAL
Definition: SharedDefines.h:762
Definition: Creature.h:46
Player * ToPlayer()
Definition: Object.h:198
Creature * ToCreature()
Definition: Object.h:201
Definition: Player.h:1063
Aura * GetAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint8 reqEffMask=0) const
Definition: Unit.cpp:5532
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:1154
Definition: SpellAuras.h:87
Unit * GetCaster() const
Definition: SpellScript.cpp:1020
Unit * GetTarget() const
Definition: SpellScript.cpp:1165