diff options
author | megamage <none@none> | 2009-04-29 00:11:15 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-04-29 00:11:15 -0500 |
commit | 220dcb65dd9d0caff176d8144082b7316bfaede6 (patch) | |
tree | 5636fd80de70e6d8fac9592df39f27ec144821ae /src/game/SpellAuras.cpp | |
parent | 4121087a8ef965b973cc83e9cbda2afa7332e02e (diff) |
*Allow custom spell to change radius mod.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r-- | src/game/SpellAuras.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp index 30cbdc13ac8..430010af77d 100644 --- a/src/game/SpellAuras.cpp +++ b/src/game/SpellAuras.cpp @@ -2199,10 +2199,13 @@ void AuraEffect::TriggerSpell() } // Negative Energy Periodic case 46284: - { caster->CastCustomSpell(trigger_spell_id, SPELLVALUE_MAX_TARGETS, m_tickNumber / 10 + 1, NULL, true, NULL, this); return; - } + // Poison (Grobbulus) + case 28158: + case 54362: + m_target->CastCustomSpell(trigger_spell_id, SPELLVALUE_RADIUS_MOD, (int32)((((float)m_tickNumber / 60) * 0.9f + 0.1f) * 10000), NULL, true, NULL, this); + return; } } |