|
| | 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 |
| |
| | 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 void | Unload () |
| |
| 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) |
| |
| 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 |
| |
| template<typename ScriptFunc > |
| using | GetScriptClass_t = typename GetScriptClass< ScriptFunc >::type |
| |
| void | HandleDamageBonus (SpellEffectInfo const &spellEffectInfo, Unit const *, int32 &, int32 &, float &pctMod) const |
| |
| void | Register () override |
| |
| std::string_view | m_scriptName |
| |
| uint32 | m_scriptSpellId |
| |
| uint8 | m_currentScriptState |
| |
Definition at line 1579 of file spell_warrior.cpp.