AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
ChargeRifts Class Reference
Inheritance diagram for ChargeRifts:
BasicEvent

Public Member Functions

 ChargeRifts (Creature *caster)
 
bool Execute (uint64, uint32) override
 
- Public Member Functions inherited from BasicEvent
 BasicEvent ()=default
 
virtual ~BasicEvent ()=default
 
virtual bool Execute (uint64, uint32)
 
virtual bool IsDeletable () const
 
virtual void Abort (uint64)
 
void ScheduleAbort ()
 

Private Attributes

Creature_caster
 

Detailed Description

Constructor & Destructor Documentation

◆ ChargeRifts()

ChargeRifts::ChargeRifts ( Creature caster)
inline
55 : _caster(caster)
56 {
57 }
Creature * _caster
Definition: boss_anomalus.cpp:67

Member Function Documentation

◆ Execute()

bool ChargeRifts::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

60 {
63 return true;
64 }
@ EMOTE_SHIELD
Definition: boss_anomalus.cpp:40
@ SPELL_CHARGE_RIFTS
Definition: boss_anomalus.cpp:28
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:142
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:1167

References _caster, Creature::AI(), Unit::CastSpell(), EMOTE_SHIELD, SPELL_CHARGE_RIFTS, and CreatureAI::Talk().

Member Data Documentation

◆ _caster

Creature* ChargeRifts::_caster
private

Referenced by Execute().