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

Private Member Functions

bool Validate (SpellInfo const *) override
 
void HandleScript (SpellEffIndex)
 
void Register () override
 

Additional Inherited Members

- Public Member Functions inherited from SpellScript
 SpellScript () noexcept
 
 ~SpellScript ()
 
bool _Validate (SpellInfo const *entry) override
 
bool _Load (Spell *spell)
 
void _InitHit ()
 
bool _IsEffectPrevented (SpellEffIndex effIndex) const
 
bool _IsDefaultEffectPrevented (SpellEffIndex effIndex) const
 
void _PrepareScriptCall (SpellScriptHookType hookType)
 
void _FinishScriptCall ()
 
bool IsInCheckCastHook () const
 
bool IsAfterTargetSelectionPhase () const
 
bool IsInTargetHook () const
 
bool IsInModifiableHook () const
 
bool IsInHitPhase () const
 
bool IsInEffectHook () const
 
virtual void OnPrecast ()
 
virtual int32 CalcCastTime (int32 castTime)
 
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 const &loc)
 
WorldObject * GetExplTargetWorldObject () const
 
Unit * GetExplTargetUnit () const
 
GameObject * GetExplTargetGObj () const
 
Item * GetExplTargetItem () const
 
int64 GetUnitTargetCountForEffect (SpellEffIndex effect) const
 
int32 GetUnitTargetIndexForEffect (ObjectGuid const &target, SpellEffIndex effect) const
 
int64 GetGameObjectTargetCountForEffect (SpellEffIndex effect) const
 
int64 GetItemTargetCountForEffect (SpellEffIndex effect) const
 
int64 GetCorpseTargetCountForEffect (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 ()
 
bool IsHitCrit () const
 
Spell * GetSpell () const
 
Aura * GetHitAura (bool dynObjAura=false, bool withRemoved=false) const
 
void PreventHitAura ()
 
void PreventHitEffect (SpellEffIndex effIndex)
 
void PreventHitDefaultEffect (SpellEffIndex effIndex)
 
SpellEffectInfo const & GetEffectInfo () const
 
int32 GetEffectValueAsInt () const
 
SpellEffectValue GetEffectValue () const
 
void SetEffectValue (SpellEffectValue value)
 
float GetEffectVariance () const
 
void SetEffectVariance (float variance)
 
Item * GetCastItem () const
 
void CreateItem (uint32 itemId, ItemContext context)
 
SpellInfo const * GetTriggeringSpell () const
 
void FinishCast (SpellCastResult result, int32 *param1=nullptr, int32 *param2=nullptr)
 
void SetCustomCastResultMessage (SpellCustomErrors result)
 
Difficulty GetCastDifficulty () const
 
- Public Member Functions inherited from SpellScriptBase
 SpellScriptBase () noexcept
 
virtual ~SpellScriptBase ()
 
 SpellScriptBase (SpellScriptBase const &right)=delete
 
 SpellScriptBase (SpellScriptBase &&right)=delete
 
SpellScriptBase & operator= (SpellScriptBase const &right)=delete
 
SpellScriptBase & operator= (SpellScriptBase &&right)=delete
 
void _Register ()
 
void _Unload ()
 
void _Init (std::string const &scriptname, uint32 spellId)
 
std::string_view GetScriptName () const
 
virtual bool Load ()
 
virtual void Unload ()
 
- Static Public Member Functions inherited from SpellScriptBase
static bool ValidateSpellInfo (std::initializer_list< uint32 > spellIds)
 
template<class T >
static bool ValidateSpellInfo (T const &spellIds)
 
static bool ValidateSpellEffect (std::initializer_list< std::pair< uint32, SpellEffIndex > > effects)
 
template<class T >
static bool ValidateSpellEffect (T const &spellEffects)
 
- Public Attributes inherited from SpellScript
HookList< CastHandler > BeforeCast
 
HookList< CastHandler > OnCast
 
HookList< CastHandler > AfterCast
 
HookList< CheckCastHandler > OnCheckCast
 
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< OnCalcCritChanceHandler > OnCalcCritChance
 
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
 
HookList< ObjectTargetSelectHandler > OnObjectTargetSelect
 
HookList< DestinationTargetSelectHandler > OnDestinationTargetSelect
 
HookList< DamageAndHealingCalcHandler > CalcDamage
 
HookList< DamageAndHealingCalcHandler > CalcHealing
 
HookList< OnCalculateResistAbsorbHandler > OnCalculateResistAbsorb
 
HookList< EmpowerStageCompletedHandler > OnEmpowerStageCompleted
 
HookList< EmpowerStageCompletedHandler > OnEmpowerCompleted
 
- Protected Types inherited from SpellScriptBase
template<typename ScriptFunc >
using GetScriptClass_t = typename GetScriptClass< ScriptFunc >::type
 
- Protected Attributes inherited from SpellScriptBase
std::string_view m_scriptName
 
uint32 m_scriptSpellId
 
uint8 m_currentScriptState
 

Detailed Description

Definition at line 1426 of file zone_borean_tundra.cpp.

Member Function Documentation

◆ HandleScript()

void spell_borean_tundra_weakness_to_lightning_on_quest_complete::HandleScript ( SpellEffIndex  )
inlineprivate

◆ Register()

void spell_borean_tundra_weakness_to_lightning_on_quest_complete::Register ( )
inlineoverrideprivatevirtual

◆ Validate()

bool spell_borean_tundra_weakness_to_lightning_on_quest_complete::Validate ( SpellInfo const *  )
inlineoverrideprivatevirtual

Reimplemented from SpellScriptBase.

Definition at line 1428 of file zone_borean_tundra.cpp.

References SPELL_POWER_OF_THE_STORM, and SpellScriptBase::ValidateSpellInfo().


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