◆ SACActivateEvent()
SACActivateEvent::SACActivateEvent |
( |
Creature * |
owner | ) |
|
|
inline |
Creature * _owner
Definition zone_dragonblight.cpp:1369
◆ Execute()
Reimplemented from BasicEvent.
1358 {
1360 return true;
1365 return true;
1366 }
@ UNIT_FLAG_NOT_SELECTABLE
Definition UnitDefines.h:275
@ REACT_AGGRESSIVE
Definition Unit.h:550
void SetReactState(ReactStates state)
A creature can have 3 ReactStates : Agressive, Passive, Neutral.
Definition Creature.h:95
void MoveRandom(float wanderDistance=0.0f)
Enable a random movement in desired range around the unit. Doesn't work with UNIT_FLAG_DISABLE_MOVE.
Definition MotionMaster.cpp:242
MotionMaster * GetMotionMaster()
Definition Unit.h:1673
bool IsAlive() const
Definition Unit.h:1707
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:1178
void RemoveUnitFlag(UnitFlags flags)
UnitFlags available in UnitDefines.h.
Definition Unit.h:720
@ SPELL_SAC_GHOUL_AREA_AURA
Definition zone_dragonblight.cpp:1006
References _owner, Unit::CastSpell(), Unit::GetMotionMaster(), Unit::IsAlive(), MotionMaster::MoveRandom(), REACT_AGGRESSIVE, Unit::RemoveUnitFlag(), Creature::SetReactState(), SPELL_SAC_GHOUL_AREA_AURA, and UNIT_FLAG_NOT_SELECTABLE.
◆ _owner
The documentation for this class was generated from the following file: