73 SF_LOG_INFO(
"misc",
"Caster just finished preparing the spell (cast bar has expired)");
80 SF_LOG_INFO(
"misc",
"Spell is about to do take reagents, power, launch missile, do visuals and instant spell effects");
85 SF_LOG_INFO(
"misc",
"All immediate Actions for the spell are finished now");
110 targetGUID = unitTarget->GetGUID();
122 SF_LOG_INFO(
"misc",
"SPELL_EFFECT_DUMMY is hits it's target!");
130 SF_LOG_INFO(
"misc",
"Spell is about to hit target!");
140 SF_LOG_INFO(
"misc",
"Spell just finished hitting target!");
146 SF_LOG_INFO(
"misc",
"Spell is about to add targets from targetList to final targets!");
221 SF_LOG_INFO(
"misc",
"Aura Effect is about to be applied on target!");
227 SF_LOG_INFO(
"misc",
"Aura Effect is about to be removed from target!");
234 SF_LOG_INFO(
"misc",
"Aura Effect has just been applied on target!");
242 SF_LOG_INFO(
"misc",
"Aura Effect has just been just removed from target!");
254 SF_LOG_INFO(
"misc",
"Perioidic Aura Effect is does a tick on target!");
262 SF_LOG_INFO(
"misc",
"Perioidic Aura Effect is now updated!");
269 SF_LOG_INFO(
"misc",
"Amount of Aura Effect is being calculated now!");
273 canBeRecalculated =
false;
278 SF_LOG_INFO(
"misc",
"Periodic data of Aura Effect is being calculated now!");
286 SF_LOG_INFO(
"misc",
"SpellMod data of Aura Effect is being calculated now!");
359 SF_LOG_INFO(
"misc",
"Our aura is now absorbing damage done to us!");
366 SF_LOG_INFO(
"misc",
"Our aura has absorbed %u damage!", absorbAmount);
395 SF_LOG_INFO(
"misc",
"Area aura checks if unit is a valid target for it!");
static constexpr TypeID TYPEID_PLAYER
#define SF_LOG_INFO(filterType__,...)
@ AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK
@ AURA_EFFECT_HANDLE_REAL
#define SpellCheckCastFn(F)
#define SpellEffectFn(F, I, N)
#define AuraEffectCalcAmountFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
#define AuraEffectUpdatePeriodicFn(F, I, N)
#define AuraEffectAbsorbFn(F, I)
#define AuraEffectCalcPeriodicFn(F, I, N)
#define AuraEffectApplyFn(F, I, N, M)
#define AuraEffectCalcSpellModFn(F, I, N)
#define AuraCheckAreaTargetFn(F)
#define AuraEffectRemoveFn(F, I, N, M)
void ChangeAmount(int32 newAmount, bool mark=true, bool onStackOrReapply=false)
HookList< EffectCalcPeriodicHandler > DoEffectCalcPeriodic
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectPeriodicHandler > OnEffectPeriodic
HookList< EffectApplyHandler > AfterEffectApply
HookList< EffectAbsorbHandler > AfterEffectAbsorb
HookList< EffectCalcAmountHandler > DoEffectCalcAmount
HookList< EffectUpdatePeriodicHandler > OnEffectUpdatePeriodic
HookList< EffectCalcSpellModHandler > DoEffectCalcSpellMod
HookList< EffectAbsorbHandler > OnEffectAbsorb
HookList< CheckAreaTargetHandler > DoCheckAreaTarget
HookList< EffectApplyHandler > OnEffectRemove
HookList< EffectApplyHandler > OnEffectApply
HookList< CastHandler > AfterCast
HookList< CheckCastHandler > OnCheckCast
HookList< HitHandler > AfterHit
SpellInfo const * GetSpellInfo()
HookList< HitHandler > OnHit
HookList< EffectHandler > OnEffectHit
HookList< EffectHandler > OnEffectHitTarget
HookList< CastHandler > OnCast
HookList< CastHandler > BeforeCast
HookList< EffectHandler > OnEffectLaunchTarget
HookList< EffectHandler > OnEffectLaunch
HookList< HitHandler > BeforeHit
SpellScriptLoader(const char *name)
void CastSpell(SpellCastTargets const &targets, SpellInfo const *spellInfo, CustomSpellValues const *value, TriggerCastFlags triggerFlags=TRIGGERED_NONE, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
uint32 DealDamage(Unit *victim, uint32 damage, CleanDamage const *cleanDamage=NULL, DamageEffectType damagetype=DIRECT_DAMAGE, SpellSchoolMask damageSchoolMask=SPELL_SCHOOL_MASK_NORMAL, SpellInfo const *spellProto=NULL, bool durabilityLoss=true)
bool CheckAreaTarget(Unit *target)
PrepareAuraScript(spell_ex_463AuraScript)
AuraScript * GetAuraScript() const OVERRIDE
void HandleDummyLaunch(SpellEffIndex)
void FilterTargets(std::list< Unit * > &)
void HandleDummyHit(SpellEffIndex)
void HandleDummyLaunchTarget(SpellEffIndex)
bool Validate(SpellInfo const *) OVERRIDE
void HandleDummyHitTarget(SpellEffIndex)
PrepareSpellScript(spell_ex_5581SpellScript)
SpellCastResult CheckRequirement()
std::string localVariable
SpellScript * GetSpellScript() const OVERRIDE
void HandleEffectPeriodicUpdate(AuraEffect *aurEff)
void HandleEffectCalcPeriodic(AuraEffect const *, bool &isPeriodic, int32 &litude)
void HandleEffectPeriodic(AuraEffect const *)
bool Validate(SpellInfo const *) OVERRIDE
PrepareAuraScript(spell_ex_66244AuraScript)
void HandleOnEffectRemove(AuraEffect const *, AuraEffectHandleModes)
void HandleOnEffectApply(AuraEffect const *, AuraEffectHandleModes)
void HandleAfterEffectApply(AuraEffect const *, AuraEffectHandleModes)
void HandleAfterEffectRemove(AuraEffect const *, AuraEffectHandleModes)
void HandleEffectCalcAmount(AuraEffect const *, int32 &amount, bool &canBeRecalculated)
void HandleEffectCalcSpellMod(AuraEffect const *, SpellModifier *&spellMod)
AuraScript * GetAuraScript() const OVERRIDE
PrepareAuraScript(spell_ex_absorb_auraAuraScript)
void HandleOnEffectAbsorb(AuraEffect *, DamageInfo &dmgInfo, uint32 &absorbAmount)
void HandleAfterEffectAbsorb(AuraEffect *, DamageInfo &, uint32 &absorbAmount)
AuraScript * GetAuraScript() const OVERRIDE
void AddSC_example_spell_scripts()