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

Public Member Functions

 CastArmageddon (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

◆ CastArmageddon()

CastArmageddon::CastArmageddon ( Creature caster)
inline
151 : _caster(caster)
152 {
153 }
Creature * _caster
Definition: boss_kiljaeden.cpp:163

Member Function Documentation

◆ Execute()

bool CastArmageddon::Execute ( uint64  ,
uint32   
)
inlineoverridevirtual

Reimplemented from BasicEvent.

156 {
159 return true;
160 }
@ SPELL_ARMAGEDDON_MISSILE
Definition: boss_kiljaeden.cpp:74
void SetPosition(float x, float y, float z, float o)
Definition: Creature.cpp:3149
float GetPositionZ() const
Definition: Position.h:119
float GetPositionX() const
Definition: Position.h:117
float GetPositionY() const
Definition: Position.h:118
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(), Position::GetPositionX(), Position::GetPositionY(), Position::GetPositionZ(), Creature::SetPosition(), and SPELL_ARMAGEDDON_MISSILE.

Member Data Documentation

◆ _caster

Creature* CastArmageddon::_caster
private

Referenced by Execute().