AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
spell_felmyst_open_brutallus_back_doors Class Reference
Inheritance diagram for spell_felmyst_open_brutallus_back_doors:
SpellScript _SpellScript

Private Member Functions

 PrepareSpellScript (spell_felmyst_open_brutallus_back_doors)
 
bool Load () override
 
void FilterTargets (std::list< WorldObject * > &unitList)
 
void HandleAfterCast ()
 
void Register () override
 

Additional Inherited Members

- Public Member Functions inherited from SpellScript
bool _Validate (SpellInfo const *entry) override
 
bool _Load (Spell *spell)
 
void _InitHit ()
 
bool _IsEffectPrevented (SpellEffIndex effIndex)
 
bool _IsDefaultEffectPrevented (SpellEffIndex effIndex)
 
void _PrepareScriptCall (SpellScriptHookType hookType)
 
void _FinishScriptCall ()
 
bool IsInCheckCastHook () const
 
bool IsInTargetHook () const
 
bool IsInHitPhase () const
 
bool IsInEffectHook () const
 
UnitGetCaster ()
 
UnitGetOriginalCaster ()
 
SpellInfo const * GetSpellInfo ()
 
SpellValue const * GetSpellValue ()
 
WorldLocation const * GetExplTargetDest ()
 
void SetExplTargetDest (WorldLocation &loc)
 
WorldObjectGetExplTargetWorldObject ()
 
UnitGetExplTargetUnit ()
 
GameObjectGetExplTargetGObj ()
 
ItemGetExplTargetItem ()
 
UnitGetHitUnit ()
 
CreatureGetHitCreature ()
 
PlayerGetHitPlayer ()
 
ItemGetHitItem ()
 
GameObjectGetHitGObj ()
 
WorldLocationGetHitDest ()
 
int32 GetHitDamage ()
 
void SetHitDamage (int32 damage)
 
void PreventHitDamage ()
 
int32 GetHitHeal ()
 
void SetHitHeal (int32 heal)
 
void PreventHitHeal ()
 
SpellGetSpell ()
 
AuraGetHitAura ()
 
void PreventHitAura ()
 
void PreventHitEffect (SpellEffIndex effIndex)
 
void PreventHitDefaultEffect (SpellEffIndex effIndex)
 
int32 GetEffectValue () const
 
void SetEffectValue (int32 value)
 
ItemGetCastItem ()
 
void CreateItem (uint32 effIndex, uint32 itemId)
 
SpellInfo const * GetTriggeringSpell ()
 
void FinishCast (SpellCastResult result)
 
void Cancel ()
 
void SetCustomCastResultMessage (SpellCustomErrors result)
 
- Public Member Functions inherited from _SpellScript
 _SpellScript ()
 
virtual ~_SpellScript ()
 
virtual void _Register ()
 
virtual void _Unload ()
 
virtual void _Init (std::string const *scriptname, uint32 spellId)
 
std::string const * _GetScriptName () const
 
virtual bool Validate (SpellInfo const *)
 
virtual void Unload ()
 
- Static Public Member Functions inherited from _SpellScript
static bool ValidateSpellInfo (std::initializer_list< uint32 > spellIds)
 
template<class T >
static bool ValidateSpellInfo (T const &spellIds)
 
- Public Attributes inherited from SpellScript
HookList< CastHandlerBeforeCast
 
HookList< CastHandlerOnCast
 
HookList< CastHandlerAfterCast
 
HookList< CheckCastHandlerOnCheckCast
 
HookList< EffectHandlerOnEffectLaunch
 
HookList< EffectHandlerOnEffectLaunchTarget
 
HookList< EffectHandlerOnEffectHit
 
HookList< EffectHandlerOnEffectHitTarget
 
HookList< BeforeHitHandlerBeforeHit
 
HookList< HitHandlerOnHit
 
HookList< HitHandlerAfterHit
 
HookList< ObjectAreaTargetSelectHandlerOnObjectAreaTargetSelect
 
HookList< ObjectTargetSelectHandlerOnObjectTargetSelect
 
HookList< DestinationTargetSelectHandlerOnDestinationTargetSelect
 
- Protected Attributes inherited from _SpellScript
uint8 m_currentScriptState
 
std::string const * m_scriptName
 
uint32 m_scriptSpellId
 

Detailed Description

Member Function Documentation

◆ FilterTargets()

void spell_felmyst_open_brutallus_back_doors::FilterTargets ( std::list< WorldObject * > &  unitList)
inlineprivate
532 {
533 unitList.remove_if(DoorsGuidCheck());
534 }
Definition boss_felmyst.cpp:510

Referenced by Register().

◆ HandleAfterCast()

void spell_felmyst_open_brutallus_back_doors::HandleAfterCast ( )
inlineprivate
537 {
540 }
@ DONE
Definition InstanceScript.h:61
@ NOT_STARTED
Definition InstanceScript.h:58
virtual bool SetBossState(uint32 id, EncounterState state)
Definition InstanceScript.cpp:385
Unit * GetCaster()
Definition SpellScript.cpp:401
InstanceScript * GetInstanceScript() const
Definition Object.cpp:1203
@ DATA_FELMYST_DOORS
Definition sunwell_plateau.h:32

References DATA_FELMYST_DOORS, DONE, SpellScript::GetCaster(), WorldObject::GetInstanceScript(), NOT_STARTED, and InstanceScript::SetBossState().

Referenced by Register().

◆ Load()

bool spell_felmyst_open_brutallus_back_doors::Load ( )
inlineoverrideprivatevirtual

Reimplemented from _SpellScript.

527 {
528 return GetCaster()->GetInstanceScript();
529 }

References SpellScript::GetCaster(), and WorldObject::GetInstanceScript().

◆ PrepareSpellScript()

spell_felmyst_open_brutallus_back_doors::PrepareSpellScript ( spell_felmyst_open_brutallus_back_doors  )
private

◆ Register()

void spell_felmyst_open_brutallus_back_doors::Register ( )
inlineoverrideprivatevirtual

Implements _SpellScript.

543 {
546 }
@ EFFECT_0
Definition SharedDefines.h:31
@ TARGET_UNIT_SRC_AREA_ENTRY
Definition SharedDefines.h:1416
#define SpellObjectAreaTargetSelectFn(F, I, N)
Definition SpellScript.h:354
#define SpellCastFn(F)
Definition SpellScript.h:324
HookList< CastHandler > AfterCast
Definition SpellScript.h:323
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
Definition SpellScript.h:353
void HandleAfterCast()
Definition boss_felmyst.cpp:536
void FilterTargets(std::list< WorldObject * > &unitList)
Definition boss_felmyst.cpp:531

References SpellScript::AfterCast, EFFECT_0, FilterTargets(), HandleAfterCast(), SpellScript::OnObjectAreaTargetSelect, SpellCastFn, SpellObjectAreaTargetSelectFn, and TARGET_UNIT_SRC_AREA_ENTRY.


The documentation for this class was generated from the following file: