[9866] More weapon damage split spells.

This commit is contained in:
VladimirMangos 2010-05-11 10:46:26 +04:00
parent c4ee01422d
commit 3a2c28ca68
3 changed files with 11 additions and 3 deletions

View file

@ -4992,9 +4992,13 @@ void Spell::EffectWeaponDmg(SpellEffectIndex eff_idx)
{
case SPELLFAMILY_GENERIC:
{
switch(m_spellInfo->Id) // for spells with divided damage to targets
switch(m_spellInfo->Id)
{
case 66765: case 67333: // Meteor Fists
// for spells with divided damage to targets
case 66765: case 66809: case 67331: // Meteor Fists
case 67333: // Meteor Fists
case 69055: // Bone Slice
case 71021: // Saber Lash
{
uint32 count = 0;
for(std::list<TargetInfo>::iterator ihit = m_UniqueTargetInfo.begin(); ihit != m_UniqueTargetInfo.end(); ++ihit)