aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-21 23:01:36 -0600
committermegamage <none@none>2009-03-21 23:01:36 -0600
commitf3d8806ec342acc6329100c1c6e9890bc0eeeec0 (patch)
treed073557f706c5afc5386541f0e71917a538fe574
parent3c5a24f4cda9943482f9c325123d6532bfe9afb3 (diff)
[7517] Add tick targets amount limitations to 48505 and ranks. Author: VladimirMangos
--HG-- branch : trunk
-rw-r--r--src/game/SpellMgr.cpp11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index 6b036445394..e42e5dc4488 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -2346,7 +2346,7 @@ void SpellMgr::LoadSpellCustomAttr()
case 45027: // Revitalize
case 45976: // Muru Portal Channel
case 39365: // Thundering Storm
- case 41071: // Raise Dead
+ case 41071: // Raise Dead (HACK)
spellInfo->MaxAffectedTargets = 1;
break;
case 41376: // Spite
@@ -2387,6 +2387,15 @@ void SpellMgr::LoadSpellCustomAttr()
default:
break;
}
+
+ switch(spellInfo->SpellFamilyName)
+ {
+ case SPELLFAMILY_DRUID:
+ //starfall
+ if(spellInfo->SpellFamilyFlags[2] & 0x100)
+ spellInfo->MaxAffectedTargets = 2;
+ break;
+ }
}
}