mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 16:37:01 +00:00
[9082] Correct some spells unMaxTarget (ref [9080]) to depend on map difficulty
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
349b6c0af2
commit
70c8eb5906
2 changed files with 8 additions and 5 deletions
|
|
@ -1315,16 +1315,19 @@ void Spell::SetTargetMap(uint32 effIndex,uint32 targetMode,UnitList& TagUnitMap)
|
|||
{
|
||||
case 28796: // Poison Bolt Volley
|
||||
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
|
||||
unMaxTargets = 3;
|
||||
break;
|
||||
case 30843: // Enfeeble
|
||||
unMaxTargets = 5;
|
||||
break;
|
||||
case 54098: // Poison Bolt Volley
|
||||
case 54835: // Curse of the Plaguebringer
|
||||
unMaxTargets = 10;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9081"
|
||||
#define REVISION_NR "9082"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue