Jump to content

[9230] [patch] Penetrating Cold target limit


Guest Lutik

Recommended Posts

WoW Bosses (and script developers) on mangos need some more love)

Anub'Arak's (ToC) Penetrating Cold spell should be applied only to 2 players (5 in 25man raid), but currently it hits everyone around the caster.

Here is the small and simple patch (for rev.9227), to fix that.

diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 2b199d6..b20e84e 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -1332,6 +1332,8 @@ void Spell::SetTargetMap(uint32 effIndex, uint32 targetMode, UnitList& targetUni
                    unMaxTargets = 1;
                    break;
                case 28542:                                 // Life Drain
+				case 66013:                                 // Penetrating Cold (10 man) 
+				case 68509:                                 // Penetrating Cold (10 man heroic)	
                    unMaxTargets = 2;
                    break;
                case 28796:                                 // Poison Bolt Volley
@@ -1342,6 +1344,8 @@ void Spell::SetTargetMap(uint32 effIndex, uint32 targetMode, UnitList& targetUni
                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)
+				case 67700:                                 // Penetrating Cold (25 man)
+				case 68510:                                 // Penetrating Cold (25 man, heroic)
                    unMaxTargets = 5;
                    break;
                case 54098:                                 // Poison Bolt Volley (h)

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use