[8248] Fixed talent 12328

* This one spell belongs to SPELLFAMILY_WARRIOR not GENERIC
  next to IDs are for NPC possible.

Signed-off-by: ApoC <apoc@nymfe.net>
This commit is contained in:
ApoC 2009-07-25 16:18:14 +02:00
parent 983264737e
commit 79d49504e0
2 changed files with 18 additions and 4 deletions

View file

@ -4517,13 +4517,12 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
triggered_spell_id = 25997;
break;
}
// Sweeping Strikes
case 12328:
// Sweeping Strikes (NPC spells may be)
case 18765:
case 35429:
{
// prevent chain of triggered spell from same triggered spell
if(procSpell && procSpell->Id==26654)
if(procSpell && procSpell->Id == 26654)
return false;
target = SelectNearbyTarget();
@ -5049,6 +5048,21 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
basepoints0 = GetShieldBlockValue() * triggerAmount / 100;
break;
}
// Sweeping Strikes
if (dummySpell->Id == 12328)
{
// prevent chain of triggered spell from same triggered spell
if(procSpell && procSpell->Id == 26654)
return false;
target = SelectNearbyTarget();
if(!target)
return false;
triggered_spell_id = 26654;
break;
}
break;
}
case SPELLFAMILY_WARLOCK: