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

Private Member Functions

 PrepareSpellScript (spell_ahune_make_ahunes_ghost_burst)
 
bool Validate (SpellInfo const *) override
 
void HandleAfterCast ()
 
void Register () override
 

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 Load ()
 
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 1145 of file boss_ahune.cpp.

Member Function Documentation

◆ HandleAfterCast()

void spell_ahune_make_ahunes_ghost_burst::HandleAfterCast ( )
inlineprivate
Todo:
: Invisible Ghost of Ahune cannot be hit by this spell, remove this script when it will be fixed and change Ghost of Ahune's SAI to run script on this spell hit

Definition at line 1156 of file boss_ahune.cpp.

References DATA_GHOST_OF_AHUNE, SpellScript::GetCaster(), and NPC_GHOST_OF_AHUNE.

Referenced by Register().

◆ PrepareSpellScript()

spell_ahune_make_ahunes_ghost_burst::PrepareSpellScript ( spell_ahune_make_ahunes_ghost_burst  )
private

◆ Register()

void spell_ahune_make_ahunes_ghost_burst::Register ( )
inlineoverrideprivatevirtual

Implements _SpellScript.

Definition at line 1162 of file boss_ahune.cpp.

References SpellScript::AfterCast, HandleAfterCast(), and SpellCastFn.

◆ Validate()

bool spell_ahune_make_ahunes_ghost_burst::Validate ( SpellInfo const *  )
inlineoverrideprivatevirtual

Reimplemented from _SpellScript.

Definition at line 1149 of file boss_ahune.cpp.

References NPC_GHOST_OF_AHUNE, and sObjectMgr.


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