#include "AllSpellScript.h"
|
bool | IsDatabaseBound () const override |
|
virtual void | OnCalcMaxDuration (Aura const *, int32 &) |
|
virtual bool | CanModAuraEffectDamageDone (AuraEffect const *, Unit *, AuraApplication const *, uint8, bool) |
|
virtual bool | CanModAuraEffectModDamagePercentDone (AuraEffect const *, Unit *, AuraApplication const *, uint8, bool) |
|
virtual void | OnSpellCheckCast (Spell *, bool, SpellCastResult &) |
|
virtual bool | CanPrepare (Spell *, SpellCastTargets const *, AuraEffect const *) |
|
virtual bool | CanScalingEverything (Spell *) |
|
virtual bool | CanSelectSpecTalent (Spell *) |
|
virtual void | OnScaleAuraUnitAdd (Spell *, Unit *, uint32, bool, bool, uint8, TargetInfo &) |
|
virtual void | OnRemoveAuraScaleTargets (Spell *, TargetInfo &, uint8, bool &) |
|
virtual void | OnBeforeAuraRankForLevel (SpellInfo const *, SpellInfo const *, uint8) |
|
virtual void | OnDummyEffect (WorldObject *, uint32, SpellEffIndex, GameObject *) |
| This hook called after spell dummy effect. More...
|
|
virtual void | OnDummyEffect (WorldObject *, uint32, SpellEffIndex, Creature *) |
| This hook called after spell dummy effect. More...
|
|
virtual void | OnDummyEffect (WorldObject *, uint32, SpellEffIndex, Item *) |
| This hook called after spell dummy effect. More...
|
|
virtual bool | IsDatabaseBound () const |
|
virtual bool | isAfterLoadScript () const |
|
virtual void | checkValidity () |
|
const std::string & | GetName () const |
|
uint16 | GetTotalAvailableHooks () |
|
◆ AllSpellScript()
AllSpellScript::AllSpellScript |
( |
const char * |
name, |
|
|
std::vector< uint16 > |
enabledHooks = std::vector<uint16>() |
|
) |
| |
|
protected |
89{
90
91 if (enabledHooks.empty())
93 enabledHooks.emplace_back(i);
94
96}
std::uint16_t uint16
Definition: Define.h:108
@ ALLSPELLHOOK_END
Definition: AllSpellScript.h:39
static void AddScript(TScript *const script, std::vector< uint16 > enabledHooks={})
Definition: ScriptMgr.h:738
Definition: ScriptObject.h:43
References ScriptRegistry< TScript >::AddScript(), and ALLSPELLHOOK_END.
◆ CanModAuraEffectDamageDone()
◆ CanModAuraEffectModDamagePercentDone()
◆ CanPrepare()
◆ CanScalingEverything()
virtual bool AllSpellScript::CanScalingEverything |
( |
Spell * |
| ) |
|
|
inlinevirtual |
◆ CanSelectSpecTalent()
virtual bool AllSpellScript::CanSelectSpecTalent |
( |
Spell * |
| ) |
|
|
inlinevirtual |
◆ IsDatabaseBound()
bool AllSpellScript::IsDatabaseBound |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ OnBeforeAuraRankForLevel()
◆ OnCalcMaxDuration()
virtual void AllSpellScript::OnCalcMaxDuration |
( |
Aura const * |
, |
|
|
int32 & |
|
|
) |
| |
|
inlinevirtual |
◆ OnDummyEffect() [1/3]
This hook called after spell dummy effect.
- Parameters
-
caster | Contains information about the WorldObject |
spellID | Contains information about the spell id |
effIndex | Contains information about the SpellEffIndex |
creatureTarget | Contains information about the Creature |
◆ OnDummyEffect() [2/3]
This hook called after spell dummy effect.
- Parameters
-
caster | Contains information about the WorldObject |
spellID | Contains information about the spell id |
effIndex | Contains information about the SpellEffIndex |
gameObjTarget | Contains information about the GameObject |
◆ OnDummyEffect() [3/3]
This hook called after spell dummy effect.
- Parameters
-
caster | Contains information about the WorldObject |
spellID | Contains information about the spell id |
effIndex | Contains information about the SpellEffIndex |
itemTarget | Contains information about the Item |
◆ OnRemoveAuraScaleTargets()
◆ OnScaleAuraUnitAdd()
◆ OnSpellCheckCast()