mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[9114] Limit maxTargets for spell 28542 and 55665
Also add missing comment for target exclusion Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
7e1d55c38e
commit
337c2c584b
2 changed files with 6 additions and 2 deletions
|
|
@ -1331,13 +1331,17 @@ void Spell::SetTargetMap(uint32 effIndex, uint32 targetMode, UnitList& targetUni
|
|||
case 38794: // Murmur's Touch (h)
|
||||
unMaxTargets = 1;
|
||||
break;
|
||||
case 28542: // Life Drain
|
||||
unMaxTargets = 2;
|
||||
break;
|
||||
case 28796: // Poison Bolt Volley
|
||||
case 29213: // Curse of the Plaguebringer
|
||||
case 31298: // Sleep
|
||||
unMaxTargets = 3;
|
||||
break;
|
||||
case 30843: // Enfeeble
|
||||
case 30843: // Enfeeble TODO: exclude top threat target from target selection
|
||||
case 42005: // Bloodboil TODO: need to be 5 targets(players) furthest away from caster
|
||||
case 55665: // Life Drain (h)
|
||||
unMaxTargets = 5;
|
||||
break;
|
||||
case 54098: // Poison Bolt Volley (h)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9113"
|
||||
#define REVISION_NR "9114"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue