44 SF_LOG_DEBUG(
"spells",
"AuraEffect::HandleProcTriggerSpellAuraProc: Triggering spell %u from aura %u proc", triggeredSpellInfo->Id,
GetId());
45 triggerCaster->
CastSpell(triggerTarget, triggeredSpellInfo,
true, NULL,
this);
48 SF_LOG_DEBUG(
"spells",
"AuraEffect::HandleProcTriggerSpellAuraProc: Could not trigger spell %u from aura %u proc, because the spell does not have an entry in Spell.dbc.", triggerSpellId,
GetId());
60 SF_LOG_DEBUG(
"spells",
"AuraEffect::HandleProcTriggerSpellWithValueAuraProc: Triggering spell %u with value %d from aura %u proc", triggeredSpellInfo->Id, basepoints0,
GetId());
61 triggerCaster->
CastCustomSpell(triggerTarget, triggerSpellId, &basepoints0, NULL, NULL,
true, NULL,
this);
64 SF_LOG_DEBUG(
"spells",
"AuraEffect::HandleProcTriggerSpellWithValueAuraProc: Could not trigger spell %u from aura %u proc, because the spell does not have an entry in Spell.dbc.", triggerSpellId,
GetId());
77 SF_LOG_DEBUG(
"spells",
"AuraEffect::HandleProcTriggerDamageAuraProc: Triggering %u spell damage from aura %u proc", damage,
GetId());
88 SF_LOG_DEBUG(
"spells",
"AuraEffect::HandleRaidProcFromChargeAuraProc: received not handled spell: %u",
GetId());
109 aura->SetCharges(jumps);
114 SF_LOG_DEBUG(
"spells",
"AuraEffect::HandleRaidProcFromChargeAuraProc: Triggering spell %u from aura %u proc", triggerSpellId,
GetId());
126 SF_LOG_DEBUG(
"spells",
"AuraEffect::HandleRaidProcFromChargeWithValueAuraProc: received not handled spell: %u",
GetId());
129 uint32 triggerSpellId = 33110;
150 aura->SetCharges(jumps);
155 SF_LOG_DEBUG(
"spells",
"AuraEffect::HandleRaidProcFromChargeWithValueAuraProc: Triggering spell %u from aura %u proc", triggerSpellId,
GetId());
#define SF_LOG_DEBUG(filterType__,...)
SpellInfo const * GetSpellInfo() const
void HandleRaidProcFromChargeAuraProc(AuraApplication *aurApp, ProcEventInfo &eventInfo)
void HandleProcTriggerSpellWithValueAuraProc(AuraApplication *aurApp, ProcEventInfo &eventInfo)
uint32 GetEffIndex() const
void HandleProcTriggerDamageAuraProc(AuraApplication *aurApp, ProcEventInfo &eventInfo)
void HandleRaidProcFromChargeWithValueAuraProc(AuraApplication *aurApp, ProcEventInfo &eventInfo)
uint64 GetCasterGUID() const
void HandleProcTriggerSpellAuraProc(AuraApplication *aurApp, ProcEventInfo &eventInfo)
void SetUsingCharges(bool val)
void SetCharges(uint8 charges)
Unit * GetProcTarget() const
float CalcRadius(Unit *caster=NULL, Spell *=NULL) const
SpellEffectInfo Effects[MAX_SPELL_EFFECTS]
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)
void DealDamageMods(Unit *victim, uint32 &damage, uint32 *absorb)
void DealSpellDamage(SpellNonMeleeDamage *damageInfo, bool durabilityLoss)
Unit * GetNextRandomRaidMemberOrPet(float radius)
uint32 SpellDamageBonusDone(Unit *victim, SpellInfo const *spellProto, uint32 pdamage, DamageEffectType damagetype, uint32 stack=1) const
void SendSpellNonMeleeDamageLog(SpellNonMeleeDamage *log)
void CastCustomSpell(Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=NULL, AuraEffect const *triggeredByAura=NULL, uint64 originalCaster=0)
uint32 SpellDamageBonusTaken(Unit *caster, SpellInfo const *spellProto, uint32 pdamage, DamageEffectType damagetype, uint32 stack=1) const
void CalculateSpellDamageTaken(SpellNonMeleeDamage *damageInfo, int32 damage, SpellInfo const *spellInfo, WeaponAttackType attackType=WeaponAttackType::BASE_ATTACK, bool crit=false)
uint32 GetRaidProcChargeTriggerSpellId(uint32 auraSpellId)