From 979073cebdb7fdaea910f610c996bd5a53c04fe7 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 8 May 2009 00:49:02 -0500 Subject: *Update some spell attr flag. Use better way to check IsRangedSpell and UnaffectedByInvulnerability --HG-- branch : trunk --- src/game/SpellAuras.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/game/SpellAuras.cpp') diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 4e3f60a18d3..f7f13acc3f8 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -6585,10 +6585,8 @@ void AuraEffect::PeriodicDummyTick() // Explosive Shot if (spell->SpellFamilyFlags[1] & 0x80000000) { - if (!caster) - return; - int32 damage = m_amount; - caster->CastCustomSpell(m_target, 53352, &damage, 0, 0, true, 0, this); + if(caster) + caster->CastCustomSpell(53352, SPELLVALUE_BASE_POINT0, m_amount, m_target, true, NULL, this); return; } switch (spell->Id) -- cgit v1.2.3