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

Public Member Functions

 CosmicSmashDamageEvent (Unit *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

Unit_caster
 

Detailed Description

Constructor & Destructor Documentation

◆ CosmicSmashDamageEvent()

CosmicSmashDamageEvent::CosmicSmashDamageEvent ( Unit caster)
inline
249 : _caster(caster)
250 {
251 }
Unit * _caster
Definition: boss_algalon_the_observer.cpp:260

Member Function Documentation

◆ Execute()

bool CosmicSmashDamageEvent::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

254 {
256 return true;
257 }
@ SPELL_COSMIC_SMASH_TRIGGERED
Definition: boss_algalon_the_observer.cpp:45
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:1168

References _caster, Unit::CastSpell(), and SPELL_COSMIC_SMASH_TRIGGERED.

Member Data Documentation

◆ _caster

Unit* CosmicSmashDamageEvent::_caster
private

Referenced by Execute().