[9082] Correct some spells unMaxTarget (ref [9080]) to depend on map difficulty

Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
NoFantasy 2009-12-29 10:50:44 +01:00
parent 349b6c0af2
commit 70c8eb5906
2 changed files with 8 additions and 5 deletions

View file

@ -1315,16 +1315,19 @@ void Spell::SetTargetMap(uint32 effIndex,uint32 targetMode,UnitList& TagUnitMap)
{ {
case 28796: // Poison Bolt Volley case 28796: // Poison Bolt Volley
case 29213: // Curse of the Plaguebringer case 29213: // Curse of the Plaguebringer
case 54098: // Poison Bolt Volley (h)
case 54835: // Curse of the Plaguebringer (h)
if (m_caster->GetMap()->GetDifficulty() != RAID_DIFFICULTY_25MAN_NORMAL && m_caster->GetMap()->GetDifficulty() != RAID_DIFFICULTY_25MAN_HEROIC)
unMaxTargets = 3;
else
unMaxTargets = 10;
break;
case 31298: // Sleep case 31298: // Sleep
unMaxTargets = 3; unMaxTargets = 3;
break; break;
case 30843: // Enfeeble case 30843: // Enfeeble
unMaxTargets = 5; unMaxTargets = 5;
break; break;
case 54098: // Poison Bolt Volley
case 54835: // Curse of the Plaguebringer
unMaxTargets = 10;
break;
} }
break; break;
} }

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "9081" #define REVISION_NR "9082"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__