diff options
| author | megamage <none@none> | 2009-05-08 00:49:02 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-05-08 00:49:02 -0500 |
| commit | 979073cebdb7fdaea910f610c996bd5a53c04fe7 (patch) | |
| tree | 9e7fcde3540f952d639980e9d5cde3fe211fe42e /src/game/SpellAuras.cpp | |
| parent | e8474f32911ace12cc5fe11421c74dc7945f0e20 (diff) | |
*Update some spell attr flag. Use better way to check IsRangedSpell and UnaffectedByInvulnerability
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
| -rw-r--r-- | src/game/SpellAuras.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
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) |
