mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[9086] Limit maxTargets for spell 33711 and 38794
Also remove not strict required difficulty check for some spells and add lost comment from [9085] Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
4f54e09134
commit
468295392d
3 changed files with 10 additions and 9 deletions
|
|
@ -1313,21 +1313,22 @@ void Spell::SetTargetMap(uint32 effIndex, uint32 targetMode, UnitList& targetUni
|
|||
{
|
||||
switch(m_spellInfo->Id)
|
||||
{
|
||||
case 33711: // Murmur's Touch
|
||||
case 38794: // Murmur's Touch (h)
|
||||
unMaxTargets = 1;
|
||||
break;
|
||||
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 (h)
|
||||
case 54835: // Curse of the Plaguebringer (h)
|
||||
unMaxTargets = 10;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue