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

Public Member Functions

 VileSpiritActivateEvent (Creature *owner)
 
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_owner
 

Detailed Description

Constructor & Destructor Documentation

◆ VileSpiritActivateEvent()

VileSpiritActivateEvent::VileSpiritActivateEvent ( Creature owner)
inlineexplicit
520: _owner(owner) {}
Creature * _owner
Definition: boss_the_lich_king.cpp:531

Member Function Documentation

◆ Execute()

bool VileSpiritActivateEvent::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

523 {
527 return true;
528 }
@ REACT_AGGRESSIVE
Definition: Unit.h:1025
@ SPELL_VILE_SPIRIT_MOVE_SEARCH
Definition: boss_the_lich_king.cpp:151
@ SPELL_VILE_SPIRIT_DAMAGE_SEARCH
Definition: boss_the_lich_king.cpp:152
void SetReactState(ReactStates st)
Definition: Creature.h:88
Definition: Unit.h:1290
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:1428

References _owner, Unit::CastSpell(), REACT_AGGRESSIVE, Creature::SetReactState(), SPELL_VILE_SPIRIT_DAMAGE_SEARCH, and SPELL_VILE_SPIRIT_MOVE_SEARCH.

Referenced by spell_the_lich_king_trigger_vile_spirit::spell_the_lich_king_trigger_vile_spirit_SpellScript::ActivateSpirit().

Member Data Documentation

◆ _owner

Creature* VileSpiritActivateEvent::_owner
private

Referenced by Execute().