*Allow custom spell to change radius mod.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-04-29 00:11:15 -05:00
parent 4121087a8e
commit 220dcb65dd
4 changed files with 15 additions and 23 deletions
+5 -2
View File
@@ -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;
}
}