TrinityCore
Loading...
Searching...
No Matches
spell_omrogg_beatdown Class Reference
+ Inheritance diagram for spell_omrogg_beatdown:

Private Member Functions

 PrepareSpellScript (spell_omrogg_beatdown)
 
bool Load () override
 
void FilterTargets (std::list< WorldObject * > &targets)
 
void HandleDummy (SpellEffIndex)
 
void Register () override
 

Private Attributes

ObjectGuid _selectedTargetGuid
 

Additional Inherited Members

- Public Member Functions inherited from SpellScript
 SpellScript ()
 
 ~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 IsAfterTargetSelectionPhase () const
 
bool IsInTargetHook () const
 
bool IsInModifiableHook () const
 
bool IsInHitPhase () const
 
bool IsInEffectHook () const
 
Unit * GetCaster () const
 
GameObject * GetGObjCaster () const
 
Unit * GetOriginalCaster () const
 
SpellInfo const * GetSpellInfo () const
 
SpellEffectInfo const & GetEffectInfo (SpellEffIndex effIndex) const
 
SpellValue const * GetSpellValue () const
 
WorldLocation const * GetExplTargetDest () const
 
void SetExplTargetDest (WorldLocation &loc)
 
WorldObject * GetExplTargetWorldObject () const
 
Unit * GetExplTargetUnit () const
 
GameObject * GetExplTargetGObj () const
 
Item * GetExplTargetItem () const
 
int64 GetUnitTargetCountForEffect (SpellEffIndex effect) const
 
int64 GetGameObjectTargetCountForEffect (SpellEffIndex effect) const
 
int64 GetItemTargetCountForEffect (SpellEffIndex effect) const
 
Unit * GetHitUnit () const
 
Creature * GetHitCreature () const
 
Player * GetHitPlayer () const
 
Item * GetHitItem () const
 
GameObject * GetHitGObj () const
 
Corpse * GetHitCorpse () const
 
WorldLocation * GetHitDest () const
 
int32 GetHitDamage () const
 
void SetHitDamage (int32 damage)
 
void PreventHitDamage ()
 
int32 GetHitHeal () const
 
void SetHitHeal (int32 heal)
 
void PreventHitHeal ()
 
Spell * GetSpell () const
 
Aura * GetHitAura (bool dynObjAura=false) const
 
void PreventHitAura ()
 
void PreventHitEffect (SpellEffIndex effIndex)
 
void PreventHitDefaultEffect (SpellEffIndex effIndex)
 
SpellEffectInfo const & GetEffectInfo () const
 
int32 GetEffectValue () const
 
void SetEffectValue (int32 value)
 
Item * GetCastItem () const
 
void CreateItem (uint32 itemId)
 
SpellInfo const * GetTriggeringSpell () const
 
void FinishCast (SpellCastResult result, uint32 *param1=nullptr, uint32 *param2=nullptr)
 
void SetCustomCastResultMessage (SpellCustomErrors result)
 
- Public Member Functions inherited from _SpellScript
 _SpellScript ()
 
virtual ~_SpellScript ()
 
void _Register ()
 
void _Unload ()
 
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< CastHandler > BeforeCast
 
HookList< CastHandler > OnCast
 
HookList< CastHandler > AfterCast
 
HookList< CheckCastHandler > OnCheckCast
 
HookList< OnCalculateResistAbsorbHandler > OnCalculateResistAbsorb
 
HookList< EffectHandler > OnEffectLaunch
 
HookList< EffectHandler > OnEffectLaunchTarget
 
HookList< EffectHandler > OnEffectHit
 
HookList< EffectHandler > OnEffectHitTarget
 
HookList< EffectHandler > OnEffectSuccessfulDispel
 
HookList< BeforeHitHandler > BeforeHit
 
HookList< HitHandler > OnHit
 
HookList< HitHandler > AfterHit
 
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
 
HookList< ObjectTargetSelectHandler > OnObjectTargetSelect
 
HookList< DestinationTargetSelectHandler > OnDestinationTargetSelect
 
- Protected Attributes inherited from _SpellScript
uint8 m_currentScriptState
 
std::string const * m_scriptName
 
uint32 m_scriptSpellId
 

Detailed Description

Definition at line 437 of file boss_warbringer_omrogg.cpp.

Member Function Documentation

◆ FilterTargets()

void spell_omrogg_beatdown::FilterTargets ( std::list< WorldObject * > &  targets)
inlineprivate

◆ HandleDummy()

◆ Load()

bool spell_omrogg_beatdown::Load ( )
inlineoverrideprivatevirtual

Reimplemented from _SpellScript.

Definition at line 441 of file boss_warbringer_omrogg.cpp.

References SpellScript::GetCaster(), and Object::IsCreature().

◆ PrepareSpellScript()

spell_omrogg_beatdown::PrepareSpellScript ( spell_omrogg_beatdown  )
private

◆ Register()

Member Data Documentation

◆ _selectedTargetGuid

ObjectGuid spell_omrogg_beatdown::_selectedTargetGuid
private

Definition at line 474 of file boss_warbringer_omrogg.cpp.

Referenced by FilterTargets(), and HandleDummy().


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